Copy link to clipboard
Copied
Tried to link it and its not working just coming up with errors ?
Any advice ?
Do you have some reference that told you to use "..." in your code? Try...
stop();
btnarrow.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler);
function mouseDownHandler(event:MouseEvent):void {
gotoAndStop(FRAME, "Contents");
}
and FRAME needs to be a variable that either identifies a frame number or a frame label
Copy link to clipboard
Copied
Show the code you are trying to use that is not working. That will make it easier to see what you tried and why it might not be working. Also, if you get errors, include the entire error message(s) in your posting.
Copy link to clipboard
Copied
stop();btnarrow.addEventListener(Mouse… mouseDownHandler);function mouseDownHandler(event:MouseEvent):void {
gotoAndStop(FRAME, "Contents");
}
Open Scene, Layer 'actions', Frame 1, Line 3 | 1093: Syntax error. |
Open Scene, Layer 'actions', Frame 1, Line 3 | 1084: Syntax error: expecting rightparen before mouseDownHandler. |
Contents, Layer 'Actions', Frame 2, Line 1 | 1093: Syntax error. |
Contents, Layer 'Actions', Frame 2, Line 1 | 1084: Syntax error: expecting rightparen before mouseDownHandler. |
Copy link to clipboard
Copied
Do you have some reference that told you to use "..." in your code? Try...
stop();
btnarrow.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler);
function mouseDownHandler(event:MouseEvent):void {
gotoAndStop(FRAME, "Contents");
}
and FRAME needs to be a variable that either identifies a frame number or a frame label
Find more inspiration, events, and resources on the new Adobe Community
Explore Now