FORUMS: list search recent posts

Play button AS2 not working??

COW Forums : Adobe Flash

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Shane Mckay
Play button AS2 not working??
on Jul 9, 2010 at 8:29:47 am


I have an AS2 project with two scenes, Scene 1 is has a pre-loader and Scene 2 has an embedded .flv animation from after effects with some other basic tweened shape layers and masks. I've used the Components UI and dragged a "Replay" button to the last keyframe with a seperate actions layer with the following code:


Replay.addEventListener(MouseEvent.CLICK, replayMovie);
function replayMovie(evt)
gotoAndPlay("Scene 2",1);

I'm a beginner in Flash and have been following instructions off the net but I can't get it to Replay the movie when the button is clicked, it does nothing any help will be appreciated.

Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2018 All Rights Reserved