Okay - maybe I/m doing something wrong with where I am putting the code - I notice some people have it all in one place. I had to gather it from each action frame and put it together here. Note:I have put stops before every new button so the tweens stop and the next button can be clicked and the next tween plays, etc. Does it matter that the "PlayFromFrame_## is not the frame it is playing from when I am using labels?
APU_Btn.addEventListener(MouseEvent.CLICK, fl_ClickToGoToAndPlayFromFrame_22);
function fl_ClickToGoToAndPlayFromFrame_22(event:MouseEvent):void
{
gotoAndPlay("APU");
}
stop();
AST_Btn.addEventListener(MouseEvent.CLICK, fl_ClickToGoToAndPlayFromFrame_38);
function fl_ClickToGoToAndPlayFromFrame_38(event:MouseEvent):void
{
gotoAndPlay("AST");
}
stop();
CO_Btn.addEventListener(MouseEvent.CLICK, fl_ClickToGoToAndPlayFromFrame_24);
function fl_ClickToGoToAndPlayFromFrame_24(event:MouseEvent):void
{
gotoAndPlay("CO");
}
stop();
ECS_Btn.addEventListener(MouseEvent.CLICK, fl_ClickToGoToAndPlayFromFrame_37);
function fl_ClickToGoToAndPlayFromFrame_37(event:MouseEvent):void
{
gotoAndPlay("ECS");
}
stop();
ENG_Btn.addEventListener(MouseEvent.CLICK, fl_ClickToGoToAndPlayFromFrame_26);
function fl_ClickToGoToAndPlayFromFrame_26(event:MouseEvent):void
{
gotoAndPlay("ENG");
}
stop();
MRO_Btn.addEventListener(MouseEvent.CLICK, fl_ClickToGoToAndPlayFromFrame_27);
function fl_ClickToGoToAndPlayFromFrame_27(event:MouseEvent):void
{
gotoAndPlay("MRO");
}
stop();
PSA_Btn.addEventListener(MouseEvent.CLICK, fl_ClickToGoToAndPlayFromFrame_40);
function fl_ClickToGoToAndPlayFromFrame_40(event:MouseEvent):void
{
gotoAndPlay("PSA");
}
i had goten sick of needing to do that when i have alot of buttens, so i just started to use AC 2 for those that have alot of buttens it is much easyr because you can put tha action script in the butten itself. just my thoughts though use what u r good with. if this was helpful plz let me know and click the little " yes" butten.
North America
Europe, Middle East and Africa
Asia Pacific