Question
Why error message?
I am attempting to learn to do in Flash some things I have
typically done in Director. Needless to say, it's been a tough go.
I have been using some of the Lynda.com stuff and it's been
helpful, but I now have a problem I can't figure out. I am using a
script that Lynda.com uses in their tutorial movies. I copied it
(except using my names for things, of course) and from what I can
tell, I did it correctly, but I keep getting an error message. Here
is my action script (in it's own layer):
stop();
function onIntroClick(evt:MouseEvent):void {
gotoAndStop("intro");
}
introbut2jpg.addEventListener(MouseEvent.CLICK, onIntroClick);
It's just a graphic I turned into a button that should jump to the frame labeled "intro" and stop there. Works great in the tutorial, but I get:
Location: Scene = Scene 1, layer = Actions, frame=39, Line 3
Description: The class or interface 'MouseEvent' could not be loaded.
Source: function onIntroClick(evt:MouseEvent):void {
stop();
function onIntroClick(evt:MouseEvent):void {
gotoAndStop("intro");
}
introbut2jpg.addEventListener(MouseEvent.CLICK, onIntroClick);
It's just a graphic I turned into a button that should jump to the frame labeled "intro" and stop there. Works great in the tutorial, but I get:
Location: Scene = Scene 1, layer = Actions, frame=39, Line 3
Description: The class or interface 'MouseEvent' could not be loaded.
Source: function onIntroClick(evt:MouseEvent):void {
