Jump to content
GreenSock

learner_7n

I need to stop it once it completes its action...

Moderator Tag

Recommended Posts

Hi,

 

It doesn't stops. Just keeps on repeating the action. How can I stop it?

 

TweenMax.fromTo(Top_mc, 3, {x:0, y:0, alpha:1, scaleX:1, scaleY:1}, {x:0, y:0, alpha:1, scaleX:0, scaleY:1, ease:Strong.easeOut});

 

Thanks.

Link to comment
Share on other sites

No, that tween isn't set to repeat so the only reason I can think of that you might be seeing it repeat is if you put this code on a MovieClip timeline and that MovieClip timeline itself is looping (thus running this code multiple times).

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×