Jump to content
Search Community

TimeLineMax

AmiHanya test
Moderator Tag

Recommended Posts

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

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

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.
×
×
  • Create New...