Home
> FlashEff 1 (Discontinued version)
> Topic
How to use : class only
Posted by dinkstudio
How to use : class only October 31, 2008 02:06PM | Registered: 15 years ago Posts: 3 |
Hi everyone,
this may seems simple for you, but I just can't help finding a working exemple (my own exp. do not work too), wich use
and import TxEff or FlashEff only in a class (document class or whatever...)...
the components (patterns and main) are in my document library,
in my class I import
the used classes
then create such a thing :
....
var myEffect:FlashEff = new FlashEff();
myEffect.showTransitionName = "com.jumpeye.flashEff.symbol.alpha.FESAlpha";
addChild(myEffect);
myEffect.target = mc;
...
....
I'm not a noob in as3, but it's the first time I use component based classes...
It looks like I'm missing something...
Thanks a lot !
PS : I've alredy got all the forum's exemple taht could help me...
this may seems simple for you, but I just can't help finding a working exemple (my own exp. do not work too), wich use
and import TxEff or FlashEff only in a class (document class or whatever...)...
the components (patterns and main) are in my document library,
in my class I import
the used classes
then create such a thing :
....
var myEffect:FlashEff = new FlashEff();
myEffect.showTransitionName = "com.jumpeye.flashEff.symbol.alpha.FESAlpha";
addChild(myEffect);
myEffect.target = mc;
...
....
I'm not a noob in as3, but it's the first time I use component based classes...
It looks like I'm missing something...
Thanks a lot !
PS : I've alredy got all the forum's exemple taht could help me...
Re: How to use : class only November 03, 2008 09:23AM | Admin Registered: 15 years ago Posts: 270 |
Here is an example for FlashEff: http://www.flasheff.com/forum/read.php?23,929. TxEff2 is used exactly the same.
Re: How to use : class only November 03, 2008 01:30PM | Registered: 15 years ago Posts: 3 |
Re: How to use : class only November 03, 2008 02:28PM | Registered: 15 years ago Posts: 3 |
Re: How to use : class only November 04, 2008 07:59AM | Admin Registered: 15 years ago Posts: 270 |
The example should be working just as is, I'm not exactly sure what the problem might be. Anyway, there is a list of class paths for the FlashEff patterns, if you would like to use them by code (you would have to import those pattern classes) but you need to place those patterns in the Library in order for you to use them. The class paths are actually compiled into the patterns.
Sorry, you do not have permission to post/reply in this forum.