FORUMS: list search recent posts

as3

COW Forums : Adobe Flash

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
kevin ward
as3
on Jul 27, 2010 at 11:04:43 am

I created a video using After effects cs3. Imported it into flash cs3. I have an actions layer, a labels layer, and a movie layer. here is my code

sig_mc.addEventListener(MouseEvent.ROLL_OVER, playMovie);
sig_mc.addEventListener(MouseEvent.ROLL_OUT, stopMovie);

sig_mc.stop();

function playMovie(e:MouseEvent):void
{
sig_mc.gotoAndPlay("video");
}

function stopMovie(e:MouseEvent):void
{
sig_mc.gotoAndStop("video");

}

It works fine but when it get to the end of the movie the sound starts to play again. If i roll out and back on i have a new video and sound along with the sound from the previous movie. How do i stop the first movie and sound so it does not repeat its self, and how would i add code for a preloader.

Thanks.

Also what do you guys think about flash going away. Just when i am trying to learn something new someone tells me they are going to try and do away with it.


Return to posts index

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