Hello,
I’m very new to using Actionscript, let alone AS 3 ;(
Here’s my code below:
alerts_mc.buttonMode=true;
alerts_mc.addEventListener(MouseEvent.CLICK, goAlerts);
function goAlerts(e:MouseEvent):void {
gotoAndStop(“alerts”);
}
I put this code in Frame 1, of Scene 2 in my flash file. I also have a layer titled “Labels” and frame 3 on that layer is labeled “alerts”
Here is the exact error message:
ArgumentError: Error #2109: Frame label alerts not found in scene 2.
at flash.display::MovieClip/gotoAndStop()
at gallery_fla::MainTimeline/goAlerts()
Anyone with insight on why my button is not jumping to the “alerts” frame, I would greatly appreciate it.
Thanks!