FORUMS: list search recent posts

(A3) Syntax Error

COW Forums : Adobe Flash

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Christopher Dougherty
(A3) Syntax Error
on Jul 19, 2013 at 3:53:28 pm

I'm trying to code a flash project with Actionscript 3, trying to get a video to play and then immediately go to frame 2 and play out the rest of the animation as planned.

I'm using this code:
/* Play a Movie Clip
Plays the specified movie clip on stage.

Instructions:
1. Use this code for movie clips that are currently stopped.
*/

BANG.play();
BANG.addEventListener (VideoEvent.COMPLETE, gotoAndPlay("Scene 1","frame2"());
function _doNext(e:VideoEvent):void
{
BANG.removeEventListener (VideoEvent.COMPLETE, gotoAndPlay("Scene 1","frame2"());
trace("video done, what's next?");
}


And I keep getting these Errors:
WEB INTERFACE, Layer 'Actions', Frame 1, Line 9 1084: Syntax error: expecting rightparen before semicolon.
WEB INTERFACE, Layer 'Actions', Frame 1, Line 12 1084: Syntax error: expecting rightparen before semicolon.


Return to posts index

demetri tashie
Re: (A3) Syntax Error
on Jul 20, 2013 at 7:29:28 pm

see my reply to your other post


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]