fiddle with flash

Search > Fiddle > Learn

Thursday, November 23, 2006

Laco Tween onRollOver / onRollOut problems

If you've ever tried to use a tween onRollOver and then onRollOut you would notice that it fails to display. To correct this problem you would need to set the autoStop property of the tweenManager class to true.

This also happens when using multiple statements for the same movieclip, for eg:
myMC.slideTo(10,10,1,"easeOutQuad");
followed by
myMC.alphaTo(100,1,"easeOutQuad");

instead combine these using the tween statement like this:
myMC.tween(["_x", "_y", "_alpha", [10,10, 100] ,1, "easeOutQuad");

Hope this was useful

0 Comments:

Post a Comment

<< Home