Copy link to clipboard
Copied
hey guys PLEASE help ME i have looked everywhere and can't find a thing on how to fix it
stop();
btnHelp.addEventListener(MouseEvent.CLICK, GoToScene2);
btnMap.addEventListener(MouseEvent.CLICK, GoToScene3a);
function GoToScene2(event)GoToScene3a(event){
gotoAndPlay("meow")
}
{
gotoAndPlay(1,"Scene 3a")
}
Copy link to clipboard
Copied
You have two functions mashed together...
function GoToScene2(event)GoToScene3a(event){
gotoAndPlay("meow")
}
{
gotoAndPlay(1,"Scene 3a")
}
should be....
function GoToScene2(event:MouseEvent):void {
gotoAndPlay("meow")
}
function GoToScene3a(event:MouseEvent):void {
gotoAndPlay(1,"Scene 3a")
}
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more