Search  

AFTER VIDEO IS DONE PLAYING HOW DO I MAKE IT GO TO A FRAME LABEL?

HomeForumsVideo Discussionafter video is done playing how do I make it go to a frame label?
13100 janjan32
29 posts
I know this has to be simple, but I’m not sure how to do this. I have a looping flash, the first thing that plays is a slide show and at the last picture, I have an eventListener to go to my video. the video plays and then just stops at the end, however I want it to go to the next frame label. below is the code I am using to make the slideshow realize it hit the last node in my xml and then go to the frame label “video1” stop(); var eventListener = new Object(); eventListener.complete = function(evnt) { if (myGallery.__currentImage == myGallery.__images.getLength()-1) { gotoAndStop("video1"); } }; myGallery.addEventListener("complete",eventListener);

thanks for any help!

Posted 4 months ago