A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: How do I make MC go to start after FLV plays?

  1. #1
    Senior Member
    Join Date
    Dec 2004
    Posts
    459

    How do I make MC go to start after FLV plays?

    I have a Movie clips where an animation plays. When the button is clicked it goes to the very end of that Movie clip's timeline to play a short FLV. When the FLV is done it just stay there. I want the Movie Clip to go to the beginning of the Movie Clip once the FLV is finished. How can I do that?
    Thanks

  2. #2
    KoolMoves Moderator blanius's Avatar
    Join Date
    Jul 2001
    Location
    Atlanta GA
    Posts
    5,244
    mediaplayer.addEventListener("onComplete",videoCom plete);

    function videoComplete(e:Event):void{
    gotoAndPlay(1);
    }

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center