Jump to content


TweenLite.from onComplete firing before and after

Recommended Posts

import com.greensock.*;

TweenLite.from( test, 2, { x: 1000, onComplete: onCompleteHandler } );

function onCompleteHandler() : void {
	trace( 'hit' );


Is onComplete when using "from" intended to fire before and after? Because it is.

Link to comment
Share on other sites

This is probably the same as the regression that was mentioned in the Javascript forum a few days ago. Could you grab the latest AS files again and see if that works any better? The fix has been released for Javascript GSAP, and hopefully the AS files were updated as well.

Link to comment
Share on other sites

Yep, Jamie is correct (as usual) - it was a regression that has been fixed in the most recent release. Sorry about the confusion. 

Link to comment
Share on other sites

Good work guys. I was using a version from a few days ago. 

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.