Share Posted November 15, 2013 hi I am trying to figure out overwrite manager. The arrow doesn't start out at scale 0, but at the .8 scale from the other tween applied to it later. var WebpageCreate:TimelineMax = new TimelineMax({paused:true,delay:0,onComplete:websiteOut}); //url arrow click WebpageCreate.append(TweenMax.fromTo(donut_site.urlBar.arrow,.75, {scaleX:0,scaleY:0},{bezierThrough:[{x:-97, y:-56}, {x:145, y:5}, {x:-49, y:45}, {x:-11, y:0}], orientToBezier:true,scaleX:1.2,scaleY:1.2,ease:Circ.easeOut,onComplete:donut_site.urlBar.arrow.burst.SunBurst}),0); WebpageCreate.appendMultiple([ TweenMax.fromTo(donut_site.urlBar.arrow, .2,{scaleX:.8,scaleY:.8,ease:Back.easeInOut}, {scaleX:1.2,scaleY:1.2}), TweenMax.to(donut_site.urlBar, .2,{scaleX:2.7,scaleY:2.7,ease:Back.easeInOut}), ], 0, TweenAlign.START,0); Link to comment Share on other sites More sharing options...
Share Posted November 19, 2013 It would really help if you could post a very simple FLA that demonstrates the problem so that we can see it in context. Maybe there's something else in your code that's interfering. Don't forget to zip your file before posting here (click "More Reply Options" to get to a screen with the attachment options) Link to comment Share on other sites More sharing options...
Share Posted November 19, 2013 (edited) Does it make any difference if you change it to TweenMax.fromTo(donut_site.urlBar.arrow, .2,{scaleX:.8,scaleY:.8}, {scaleX:1.2,scaleY:1.2,ease:Back.easeInOut,immediateRender:false}),TweenMax.to(donut_site.urlBar, .2,{scaleX:2.7,scaleY:2.7,ease:Back.easeInOut}),], 0, TweenAlign.START,0); Edited November 19, 2013 by jamiejefferson cheers Jack - immediateRender moved to the correct set of vars 1 Link to comment Share on other sites More sharing options...
Share Posted November 19, 2013 I think Jamie is on to something - the immediateRender:false would belong on the 2nd tween, though, in the "to" vars (not "from"). Like: ...TweenMax.fromTo(donut_site.urlBar.arrow, .2,{scaleX:.8,scaleY:.8}, {scaleX:1.2,scaleY:1.2, ease:Back.easeInOut, immediateRender:false})... Remember, fromTo() tweens will render IMMEDIATELY by default, so if you have one that starts at a scale of 0 and another that starts at a scale of 0.8, whichever one is created last will "win" because it's rendered last. 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