A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: Check for framelabels?

  1. #1
    Junior Member
    Join Date
    Apr 2001
    Posts
    23
    Since I've been told "...nothing is impossiple"...

    Need to constantly check for spesific framlabels. How can I do this? An if condition make an telltarget/goto action if the condition is true.

    Thank you for any help. Rolf

  2. #2
    Senior Member
    Join Date
    May 2001
    Posts
    1,838
    At the frame you label it "myLabel2", add a frame script
    currentLabel="myLabel12";
    Do this for each frame that is with label.

    Then you can access _root.currentLabel to see where the playhead is at.

  3. #3
    Junior Member
    Join Date
    Sep 2000
    Posts
    25
    If you want to check for a label, check whether the label is empty. So, use the above currentLabel statement to name all frames abstractly and then use if (_root.currentLabel==null) to check for a value, which is, in fact, a string label.

    Good Luck!
    Tiese Barrell.

  4. #4
    Junior Member
    Join Date
    Apr 2001
    Posts
    23

    Smile

    every honour to you folks. Thanks so very much.

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