Jump to content
Search Community

Stopping timeline and going back to last label [SOLVED]

Choochoo test
Moderator Tag

Recommended Posts

psuedo:

 

create item

create label("0");

create tween for item;

add to timeline

 

create item

create label("1");

create tween for item;

add to timeline;

 

timeline.play();

 

if(timeline.totalProgress is past Label("0") but not past Label("1"))

thetimeline.gotoAndStop("0");

 

end psuedo

 

I have everything setup except how to tell it to goback and stop on its previously passed label

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...