In my Flash movie, I’ve created three scenes (…Scene 1, Scene 2, and Scene 3…). In my drop-down menu movie, there are three buttons that corrispond to the three scenes. I’ve dragged my ‘drop-menu’ movie onto each scene.
Here’s the problem. Inside the movie that creates the drop-down menu, I have attached the following action script to the ‘Scene 1’ button:
on (release) {
gotoAndPlay(“Scene 1”, 1);
}
I’ve attached a “Scene 2” actionscript to the ‘Scene 2’ button, and a “Scene 3” actionscript to the ‘Scene 3’ button.
Yet, when I play my primary Flash movie, the drop-down menu buttons don’t take me to the corrisponding scenes. What am I doing wrong?
in that tutorial, the buttons are in a MC not the main time line, so you would need to target the main time line first. _root, targets the main time line.
Also, within your timeline be carefull how you target frames…
Scenes can get you into trouble as they are decieving…
from the MX Bible::
[size=1]Although scenes give you the visual impression of having a whole new timeline to work on, they are really continuations of the main timeline that begins with the first scene of your document. If you’re using any actions to control your move playback, it’s important to avoid duplicate naming on frame labels or named anchors. Thus, even if it seems logical, it isn’t a good idea to label the beginning of each new scene “intro”, because you won’t be able to differentiate these labels for targeting with actions[/size]
containing different content into sepparate swf’s and load them as needed is better and easier to keep track of