Thank you for your help, this is a short version of my code.
this is how i need to work, i'm reading the doc and dont find the way to do.
(sorry.my english is not so good)
tl=new TimelineMax({paused:false});
//add 3 animations with a 2 seconds relative delay each one
tl.add(control_escena1(),0)//start at second 0
tl.add(control_escena2(),'+=2')//start at second 2
tl.add(control_escena3(),'+=2')// start at second 4
//when the animation finish i have 3 buttons to jump in each animation, those work but no so well
$(click_1).click(function(){
tl.seek(0) // or tl.play(0), it say to jump the second 1 and play
})
$(click_2).click(function(){
tl.seek(2) // or tl.play(2), it say to jump the second 2 and play
})
$(click_3).click(function(){
tl.seek(3) // or tl.play(3), it say to jump the second 3 and play
})
// i wan to do it
$(click_1).click(function(){
tl.seek('escena_1') // or tl.play('escena_1'), it say to jump until de escena_1 and play
})
$(click_1).click(function(){
tl.seek('escena_2') // or tl.play('escena_2'), it say to jump until de escena_1 and play
})
// but i dont know how add a label to say my button where to jump,it should be something like:
tl.add(control_escena1(),'escena_1',0)//start at second 0
tl.add(control_escena2(),'escena_2','+=2')//start at second 2, and have his label to call with buttons and start here
tl.add(control_escena3(),'escena_3','+=2')// start at second 4, and have his label to call with buttons and start here
// i have tree animations added to the big time line
function control_escena1()
{
animation= new TimelineMax()
animations_escena_1_here
return animation
}
function control_escena2()
{
animation= new TimelineMax()
animations_escena_2_here
return animation
}
function contro3_escena1()
{
animation= new TimelineMax()
animations_escena_3_here
return animation
}