A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Jumping to a label with a named variable?

  1. #1
    Junior Member
    Join Date
    Feb 2002
    Posts
    15
    I'm doing a flash movie for my company, and I have a definition box that I want to pop up when a user clicks a highlighted word.

    The button sets a variable called "get". So, for example, if the user clicks the word "flash" it runs a tell target and sets the variable "get" to equal "flash".

    Inside the movie clip, called "info center" it stops at frame 10 and evaluates. I have it saying "Go To and Play (get)".
    It is supposed to go to the frame label that equals the value of the variable "get". It does not work. I think my syntax is messed up.

    Please help me Flash gurus! My boss is breathing down the back of my neck and I'm gonna kill im soon!

  2. #2
    Senior Member tonypa's Avatar
    Join Date
    Jul 2001
    Location
    Estonia
    Posts
    8,223
    Maybe u have wrong path to yr variable.

    When u use
    Set Variable: "get" = "flash"
    is it on main timeline, or inside some mc.

    also
    Go to and Stop (get)
    expects variable to be inside movie clip, called "info center".

    If u wanna be sure, try using path:
    Set Variable: "_level0:get" = "flash"
    and

    Go to and Stop (_level0:get)

  3. #3
    Junior Member
    Join Date
    Feb 2002
    Posts
    15
    Thanks a million Tony! It works like a charm and now I don't have to kill my boss!

    Later....

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