hugoz
February 5th, 2003, 03:22 PM
Hello all,
Newbie here. :crazy: <-- Gives you and understanding of how ANY type of programming makes feel. :stunned: <-- The effect you badass programmers and your actionscript skills have on me. Enough with intro and asskissing, on to my question:
I have 5 movie clips, each has 3 keyframes. From the first to the second it shows a menu entering the scene, from the second to the third it shows it exiting. All 5 MCs are equal. each key frame has a value, which i assigned like so:
//frame 1
submenu1 = "X";
//frame 10
submenu1 = "Y";
//frame 20
submenu1 = "Z";
I have 5 buttons, one to trigger each menu (MC). What i am trying to do here, is have only one menu open at a time. So when they click on menu 2 and menu 4 is open, it will simulteneaously do both functions. Here is what i have so far:
on (release){
menusub2.gotoAndPlay("1");
if (submenu1 = "Y") {
menusub1.gotoAndPlay("11");
}else{
menusub1.gotoAndStop();
}
}
Any help would be gold as I am a graphic designer 'attempting' to actionscript. Thanks and advanced.
--hz
Newbie here. :crazy: <-- Gives you and understanding of how ANY type of programming makes feel. :stunned: <-- The effect you badass programmers and your actionscript skills have on me. Enough with intro and asskissing, on to my question:
I have 5 movie clips, each has 3 keyframes. From the first to the second it shows a menu entering the scene, from the second to the third it shows it exiting. All 5 MCs are equal. each key frame has a value, which i assigned like so:
//frame 1
submenu1 = "X";
//frame 10
submenu1 = "Y";
//frame 20
submenu1 = "Z";
I have 5 buttons, one to trigger each menu (MC). What i am trying to do here, is have only one menu open at a time. So when they click on menu 2 and menu 4 is open, it will simulteneaously do both functions. Here is what i have so far:
on (release){
menusub2.gotoAndPlay("1");
if (submenu1 = "Y") {
menusub1.gotoAndPlay("11");
}else{
menusub1.gotoAndStop();
}
}
Any help would be gold as I am a graphic designer 'attempting' to actionscript. Thanks and advanced.
--hz