Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...
bastrix

problems tweenings [SOLVED]

Recommended Posts

Hi all,

 

I'm trying to convert all my tweens to TweenLite in the code for my current project, but I'm having a problem animating the same movieclip with different calls to the "to" method. What I mean is... isntead of putting the tween for "x" property and the "y" property in the same call, for isntance, I need to put it in different calls, so I would have something like this:

 

TweenLite.to(_root.circle_mc, 1, {_y:400, ease:Strong.easeIn});

TweenLite.to(_root.circle_mc, 1, {_x:0, ease:Strong.easeIn});

 

This worked with the Tween class, but it fails with the TweenLite, as it only accepts the last call. I need to have it in different calls. So how can I get passed this ?

 

Many thanks in advance for your help :)

Link to comment
Share on other sites

Check different "overwrite" options and test with that option added to your call.

Link to comment
Share on other sites

Thanks, its actually one of the first things it mentions on the FAQ. But I missed that bit.

 

That works.

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