beno Posted May 13, 2010 Share Posted May 13, 2010 Hi; I have this: var timeline:TimelineLite = new TimelineLite({onComplete: RemoveLeft()}); timeline.append(new TweenLite(parent_container, rand, {alpha: 1})); timeline.append(new TweenLite(parent_container, 1, {x:30, y:522})); For some reason, it doesn't wait until the tweens are complete to run RemoveLeft(). It fires at once. Why? TIA, beno Link to comment Share on other sites More sharing options...
Choochoo Posted May 13, 2010 Share Posted May 13, 2010 try taking off the () on RemoveLeft see what happens Link to comment Share on other sites More sharing options...
beno Posted May 13, 2010 Author Share Posted May 13, 2010 RemoveLeft fires regardless. beno Link to comment Share on other sites More sharing options...
beno Posted May 13, 2010 Author Share Posted May 13, 2010 Sorry, that does make a difference. beno Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now