Share Posted September 14, 2009 Hey there- I'm building a sequential animation with TimelineMax, but need the power of the from() method... is there a way to duplicate this procedure while utilizing TimelineMax/Lite? Thanks! var myTimeline:TimelineMax = new TimelineMax({tweens:[[mc, 3, {transformAroundPoint:{point:new Point(250,250), rotation:360},ease:Linear.easeNone}],[mc2, 1, {y:"100"}],[mc3, 1, {y:"100"}]], delay:0, align:TweenAlign.SEQUENCE, stagger:0, tweenClass:TweenMax, repeat:-1}); Link to comment Share on other sites More sharing options...
Share Posted September 14, 2009 Looks like you're using a pretty stale version of v11. I removed the shortcut feature a while back in order to clean up the API and enforce data type strictness better. Anyway, you're welcome to use the from() method like this: var myTimeline:TimelineMax = new TimelineMax({ tweens:[ TweenLite.from(mc, 3, {transformAroundPoint:{point:new Point(250,250), rotation:360},ease:Linear.easeNone}), TweenLite.from(mc2, 1, {y:"100"}],[mc3, 1, {y:"100"}) ], align:TweenAlign.SEQUENCE, repeat:-1}); (remember, TweenLite.from() returns a TweenLite instance) Get the latest v11 at http://www.greensock.com/as/docs/tween/. Link to comment Share on other sites More sharing options...
Author Share Posted September 14, 2009 Thanks for responding... So, I'm a member of club greensock... am I eligible for this latest version with all the goodies? Link to comment Share on other sites More sharing options...
Share Posted September 14, 2009 Absolutely. v11 is at http://blog.greensock.com/v11beta/. If you need the bonus v11 plugins, shoot me an e-mail or private message. 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