Using text in AS3 to gotoAndPlay a frame label
Posted on 2011-03-22
Hello, I'm working in Adobe Flash CS5/AS3 for the Mac. I was wondering how I can use TLF or dynamic text to "gotoAndPlay" a frame label in my document. There is an option to specify a link URL under the "Link" field, however, I need the text to jump to a frame label when it is clicked on, NOT open up a URL.
This text is also located within a movieclip that is already on the main timeline. It would need to communicate with the main timeline and jump to a frame label on there.
I've worked around this before by creating buttons that jump to a different frame when they are clicked on, but I figured there's got to be an easier way to do this via text.
Thanks in advance.