AmiHanya Posted March 15, 2012 Share Posted March 15, 2012 how can i do a TimeLineMax that the append items was start before the last item finish hear animation. i want to mix it for example if i write it with out the TimeLine i write is like this: TweenMax.from(men_mc, 1, {alpha: 0}) TweenMax.from(tik_btn, 1, {alpha: 0,delay:0.5}) TweenMax.from(tri_btn, 1, {alpha: 0,delay:1}) Link to comment Share on other sites More sharing options...
Carl Posted March 15, 2012 Share Posted March 15, 2012 if I understand you correctly, you want your tweens to overlap. That can be achieved by using a negative offset value which is the 2nd parameter of the append() method. var tl:TimelineMax = new TimelineMax() tl.append( TweenMax.from(men_mc, 1, {alpha: 0})) tl.append(TweenMax.from(tik_btn, 1, {alpha: 0}), -.5) tl.append(TweenMax.from(tri_btn, 1, {alpha: 0}), -.5) where you see .5 above means that the tween will be inserted .5 seconds before the previous tween ends. Link to comment Share on other sites More sharing options...
AmiHanya Posted March 15, 2012 Author Share Posted March 15, 2012 Thanks, exactly what I was looking for! 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