Share Posted July 4, 2013 Hello folks. So, i need to tween two objects at the same time. They do not share the same properties. One of them moves to a certain place, while the other moves to another certain place. I guess that is why i couldn't use "TweenMax.allTo" right? I have been looking at tutorials in youtube, and i could do it with TimelineLite, but that is for tweening one animation after another, and i want to animate them both at the same exact time. Suggestions? Link to comment Share on other sites More sharing options...
Author Share Posted July 4, 2013 Solved! " Absolutely, gpon. You can have as many tweens going as you want at the same time. For example: var t:TimelineLite = new TimelineLite();t.insert( new TweenLite(mc1, 1, {x:100}), 0);t.insert( new TweenLite(mc2, 1, {y:200}), 0); that has mc1 and mc2 tweening different properties at the same time. If you haven’t done so already, I’d highly recommend watching the video at http://www.greensock.com/timeline-basics/ " 1 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