FORUMS: list search recent posts

can't stop my movie from looping

COW Forums : Adobe Flash

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Victoria Poole
can't stop my movie from looping
on Jul 21, 2009 at 5:38:14 pm


I'm new to Flash so bear with me.

I've created a movie (.mov) and imported and embedded it into an ActionScript3.0 file. I put a title screen before, with the button "whydoButton", with this action:

whydoButton.addEventListener("click", doPlay)
function doPlay ( evt ) {

I made my video a movie clip called "myContent" and I put a scroll bar over the movie with this action:

mySeekBar.minimum = 1;
mySeekBar.maximum = 2675;
mySeekBar.addEventListener(SliderEvent.THUMB_DRAG, changeSlider);
mySeekBar.addEventListener(SliderEvent.CHANGE, changeSlider);
function changeSlider (evt){

The scroll bar works fine, but when it gets to the end of the movie, it loops the movie. I have more stuff in my timeline that I want to play as soon as the movie is done, basically an endslate with a clickable URL and a button that says "play again", starting the movie over after the whydoButton slate.

the movie without the scrollbar is here:


Return to posts index

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