Loop video in Flash AS2

Posted 4 January, 2008 in Other Stuff

If you want to loop a movie on your flash project, select the movie / video and in the action script box put:

/////////////////////////////

on(complete){
 this.autoRewind = true;
 this.play();
}

/////////////////////////////

This should just keep it running for ever.

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • Reddit
  • StumbleUpon
  • Twitter
  • Yahoo! Buzz

2 comments to “Loop video in Flash AS2”

Bobbie, July 28th, 2008 at 3:26 pm:

  • Code that actually works! Thanks!

Patrick, September 20th, 2008 at 11:22 am:

  • it can be so simple :S

    THX!

Your comment: