I created a .txt document that opens up in a dynamic text box. I then created an asfunction in my Action Script in frame 1 of my movie:
function jump (framename) {
gotoAndPlay(“framename”);
}
When someone clicks on one of the links in the dynamic text it is supposed to take them to a frame in the movie. So for example if you click on “Companies” it goes to frame 5, “Industry” frame 10, “Organizations” frame 15.
My .txt document has this for the asfunction:
<p></p><p align=“center”><a href=“asfunction:jump,Companies”><u><b>Companies</u><b></p><p></p>
<p align=“center”><a href=“asfunction:jump,Industry”><u><b>Industry</u><b></p><p></p>
<p align=“center”><a href=“asfunction:jump,Organizations”><u><b>Organizations</u><b></p>
This is sort of working. The problem is that no matter what link I click it jumps to the next flag in the timeline so if I clicked first on “Industry” (it should go to frame 10) it jumps to frame 5, and if I kept clicking on the same link it will jump to the next flag so it is just jumping from frame 5 to 10 to 15 etc. What am I missing to make it so that it jumps specifically to the frame for the link?