Home
> FlashEff 2.0 Flex
> Topic
Target appears, effect runs, then target disappears
Posted by jomelia
Target appears, effect runs, then target disappears February 17, 2011 04:17PM | Registered: 13 years ago Posts: 3 |
Hello all,
Brand new to FlashEff and I'm trying a show effect on an image in Flex (sdk 3.5). I created a sparkle effect in the online panel, copied the code to my file, added it to an init function. Running the file, the effect plays just fine but when it's done my target image disappears. Any ideas?
Code below:
import com.jumpeye.flashEff2.symbol.sparkle.FESSparkle;
private function addFeEffect():void{
var fe:FlashEff2Flex = new FlashEff2Flex ();
this.addChild(fe);
fe.target = imgSmartphone;
var pattern0:FESSparkle = new FESSparkle();
pattern0.preset=2;
pattern0.maximumParticleSize=7;
pattern0.maximumParticleSpread=150;
pattern0.particleDiversity=30;
pattern0.particleEmissionInterval=0.4;
pattern0.particleTweenDuration=1;
pattern0.glowAmount=10;
pattern0.glowColor=16777215;
pattern0.emitterSize=0;
pattern0.tweenDuration=1.5;
pattern0.tweenType='Strong';
pattern0.easeType='easeInOut';
fe.showTransition=pattern0;
}
Thanks,
Jack
Brand new to FlashEff and I'm trying a show effect on an image in Flex (sdk 3.5). I created a sparkle effect in the online panel, copied the code to my file, added it to an init function. Running the file, the effect plays just fine but when it's done my target image disappears. Any ideas?
Code below:
import com.jumpeye.flashEff2.symbol.sparkle.FESSparkle;
private function addFeEffect():void{
var fe:FlashEff2Flex = new FlashEff2Flex ();
this.addChild(fe);
fe.target = imgSmartphone;
var pattern0:FESSparkle = new FESSparkle();
pattern0.preset=2;
pattern0.maximumParticleSize=7;
pattern0.maximumParticleSpread=150;
pattern0.particleDiversity=30;
pattern0.particleEmissionInterval=0.4;
pattern0.particleTweenDuration=1;
pattern0.glowAmount=10;
pattern0.glowColor=16777215;
pattern0.emitterSize=0;
pattern0.tweenDuration=1.5;
pattern0.tweenType='Strong';
pattern0.easeType='easeInOut';
fe.showTransition=pattern0;
}
Thanks,
Jack
Re: Target appears, effect runs, then target disappears February 18, 2011 07:30AM | Admin Registered: 15 years ago Posts: 547 |
Could you please open a ticket and send us the source files?Thank you.
[www.jumpeyecomponents.com]
[www.jumpeyecomponents.com]
Sorry, you do not have permission to post/reply in this forum.