A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: navigate to next/previous label?

  1. #1
    Junior Member
    Join Date
    Mar 2002
    Posts
    3

    navigate to next/previous label?

    hi!
    is there a way to navigate to the previous label in the timeline?

    i have a timeline with several frames with labels. i want to, when the user presses a button, send the user to the previous frame that has a label. only i don't know what that label is, since the button is the same in the whole timeline and i don't know where in the timeline the user is.

    naturally, i also want a button for the next frame with a label.

    k

  2. #2
    Registered User
    Join Date
    Feb 2001
    Posts
    13,041
    Hi,

    maybe whenever the movie reaches one of those labels, add an action that sets a variable to that label (as a text string) - so the button would go to the variable's content
    You will need a more complex solution if you want to go back more than once or in the actual order the user viewed those frames

    Musicman

  3. #3
    Senior Member Jaffasoft's Avatar
    Join Date
    Apr 2001
    Location
    On Travel
    Posts
    1,588
    when you say you dont know what that label is, what do you mean. you would have to know the name of the label to do it. unless you want a next frame previous frame.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center