Scenerio:
My main navigation consist of 6 buttons (home, about, music, gallery, etc). These buttons, except "gallery" has timeline controls on the main stage that
"on (release) {
gotoAndStop (frame);
}"
"Gallery" is a dropdown menu (movie). In my dropdown menu movie I have 6 other buttons (portraits, landscapes, nature, etc). The buttons also has timeline controls that
"on (release)
{
_root.link = 3;
_root.play();
}"
And back on the mainstage the corresponding frames are labeled s1, s2, s3, etc. Then the frames right before the labeled frames has this actionscript
"label = "s" + _root.link;
gotoAndPlay(label);"
Basically, when I click on one of the buttons from the dropdown menu, it should go to the corresponding frame.
Problem:
From the "homepage", when I click say "portrait" from the dropdown menu, it goes thru the other frames in between rather than going directly to the frame specified. So going from "homepage" to "portrait", I will see "about" and "music" before it stops on "portrait".
I hope this is making sense. PLEASE HELP! Thank you.
Post up your .fla (strip it down if you want to first if you're worried) would be much easier to see exactly what's going on.
There's obviously some issue with it not liking the _root.link part and just doing the play(); command, but until I see things properly I could really only speculate.
Gah, forget to mention I only have MX2004 here at the moment so if you can back save to that then repost and I'll check it through, if not then you'll just have to wait for someone else to help that isn't stuck in the dark ages like me :P
That's actually how I had it originally and I got the same results. So I tried a different method and came up with this one, which didn't solve the problem. If you'll be around a bit I can redo the fla file on a different computer that I have MX installed.
Well I'm about for another hour or so, it might just be worth waiting till some US members are about who might help without you going through the hassle of remaking.