Skip to main content
Participant
March 16, 2010
Answered

AS2 – MovieClip rollOver/rollOut effect will stick..

  • March 16, 2010
  • 1 reply
  • 5003 views

Link:
http://www.johnesq.com/example.html
Download File:
http://www.johnesq.com/example.rar

Details:

On my movieClip I have a rollOver & rollOut effect with the following script.

txt1: will easeOut larger/ easeIn smaller
txt2: will fade in.


Script:
txt1.onRollOver = function() {

                gotoAndPlay("on");     };

txt1.onRollOut = function() {

                gotoAndPlay("off");   };

Problem:
In my flash file since this effect is done on keyframes if you rollOver the movieClip the easeOut/easeIn on txt1 effect will stick on the stage and it doesn’t look clean.

Can someone offer me some advise on how i could go about this with hard coding the actionscript effect instead of using a static motion tween.

Thanks!

This topic has been closed for replies.
Correct answer kglad

use the flash tween class (or, one of the 3rd party tween classes) to tween your objects.

1 reply

kglad
Community Expert
kgladCommunity ExpertCorrect answer
Community Expert
March 16, 2010

use the flash tween class (or, one of the 3rd party tween classes) to tween your objects.

CLKNTAuthor
Participant
March 16, 2010

thank you kglad. just got it to work!

kglad
Community Expert
Community Expert
March 16, 2010

you're welcome.