Jump to content
Search Community

Reset Tween

Arghya test
Moderator Tag

Recommended Posts

It really helps if you provide a simple example so that we can see what you are doing.

 

In the case of to() tweens you can just rewind the tween to the beginning.

mc.x = 100;
var tween = TweenLite.to(mc, 1, {x:200});

//then later pause at a time of 0, essentially resetting the tween.
tween.pause(0);
trace(mc.x) //100
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.
×
×
  • Create New...