Jump to content


TimelineMax/Lite + from method

Recommended Posts

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

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({
                                               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"})


(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

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

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.