This content has been marked as final. Show 6 replies
You're starting the tweens at the same time.
So, you would want to use the onComplete event handler:
var photoFadeIn:Tween = new Tween(test_mc, "_alpha", Strong.easeIn, 0, 100, 1.5, true);
var photoFadeOut:Tween = new Tween(test_mc, "_alpha", Strong.easeIn, 100, 0, 1.5, true);
Thank you so much LuigiL. I didn't realize this. This is very helpful.
Unfortunately I am now getting an error saying that there is no onComplete property.
My bad: onMotionFinished
Thank you very much LuigiL. I really appreciate your help with this.
You're very welcome.