How to use : class only

Posted by dinkstudio 
How to use : class only
October 31, 2008 02:06PM
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...
Re: How to use : class only
November 03, 2008 09:23AM
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
Thanks a lot !
Re: How to use : class only
November 03, 2008 02:28PM
Sorry for that : I've already tried this example,
and even if it seems all my extension package is on the right place, it do not compil !
(no error , just nothing, like when you can't find a classpath...).
How do you access the classes in the swc file ?? (or wherever)...
thanks ??
Re: How to use : class only
November 04, 2008 07:59AM
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.