Home
> FlashEff 1 (Discontinued version)
> Topic
Delay time / hide transition through AS
Posted by ghitacostas
Delay time / hide transition through AS March 05, 2009 09:37AM | Registered: 15 years ago Posts: 13 |
Hey guys, I'm trying to only hide my mc and it works perfectly. However, my problem is with the delay time. It hides right the way, it won't wait the delay I'm putting in? I'm sure i got it wrong somewhere. Any suggestions would be appreciated.
import com.jumpeye.Events.FLASHEFFEvents;
import com.jumpeye.flashEff.symbol.blur.FESBlur;
var myPatternHide:FESBlur = new FESBlur();
myPatternHide.tweenType = "Regular";
myPatternHide.easeType = "easeOut";
myPatternHide.tweenDuration = 3;
var myEffect:FlashEff = new FlashEff();
myEffect.hideTransition = myPatternHide;
myEffect.hideAutoPlay = false; //tried both values (true of false still it wouldn't wait the delay imput)
myEffect.hideDelay = 5; //here's the bugger, what ever number i put in here, it would play right through, hide that is.
var image:imageMC = new imageMC();
image.name = "image";
image.x = 0;
image.y = 0;
addChild(image);
addChild(myEffect);
myEffect._targetInstanceName = "image";
myEffect.hide();
Edited 1 time(s). Last edit at 03/05/2009 09:41AM by ghitacostas.
import com.jumpeye.Events.FLASHEFFEvents;
import com.jumpeye.flashEff.symbol.blur.FESBlur;
var myPatternHide:FESBlur = new FESBlur();
myPatternHide.tweenType = "Regular";
myPatternHide.easeType = "easeOut";
myPatternHide.tweenDuration = 3;
var myEffect:FlashEff = new FlashEff();
myEffect.hideTransition = myPatternHide;
myEffect.hideAutoPlay = false; //tried both values (true of false still it wouldn't wait the delay imput)
myEffect.hideDelay = 5; //here's the bugger, what ever number i put in here, it would play right through, hide that is.
var image:imageMC = new imageMC();
image.name = "image";
image.x = 0;
image.y = 0;
addChild(image);
addChild(myEffect);
myEffect._targetInstanceName = "image";
myEffect.hide();
Edited 1 time(s). Last edit at 03/05/2009 09:41AM by ghitacostas.
Re: Delay time / hide transition through AS March 05, 2009 11:02AM | Admin Registered: 16 years ago Posts: 547 |
Re: Delay time / hide transition through AS March 05, 2009 06:41PM | Registered: 15 years ago Posts: 13 |
Sorry, you do not have permission to post/reply in this forum.