all groups > flash (macromedia) > october 2007 >
You're in the

flash (macromedia)

group:

Problem with Button Timeline Navigation


Problem with Button Timeline Navigation JustinQ7
10/22/2007 8:11:34 PM
flash (macromedia):
I am fairly new with flash and am having a problem with my navigation buttons
in CS3. I have created a dropdown menu, but the buttons on the menu will not
direct to different frames like a want them to. However they will work with
getURL to link to an external site.

An example of the actionscript I am using on the button would be:

on(release) {
gotoAndStop("Scene 1", 4);

}
(I want it to go and stop on the 4th frame when clicked)

If I put a button on the main page, out of the drop down menu with the code:
on(release) {
gotoAndStop(4);

}

it works fine.

I know it is probably something simple that I am doing wrong. Any help would
be greatly appreciated. Thanks

Justin
Re: Problem with Button Timeline Navigation mhunter
10/23/2007 6:18:44 PM
If you scan the latest posts, you will see mine asking about scenes. If you have the option, you should try not to use them:

Re: Problem with Button Timeline Navigation clbeech
10/23/2007 6:26:29 PM
bingo! mhunter :)

@Justin: if you have a lot of content that you've been working on, and can't
change to a single scene (which would be best) you might be able to work around
this problem, by using frame 'labels'. make a new layer in the doc and place a
'label' at frame4 (when you select the frame you will see a input box for this
in the properties panel) enter a name there, then from the button write the
call as:

on(release) {
gotoAndStop('Scene1', '[label name]');
}
AddThis Social Bookmark Button