Jump to content
GreenSock

Arghya

Reset Tween

Recommended Posts

How to reset tween using TweenMax and change the clip to the initial position with all its properties like x,y scaleX, scaleY, color etc... plz give an example.........

Link to comment
Share on other sites

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

how to remove tint from color tween after kill all tweens using Tweenmax.....

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.
×