Actionscript to Loop

  • mushget
  • Newbie
  • Newbie
  • No Avatar
  • Joined: Oct 11, 2010
  • Posts: 5
  • Loc: www.789soft.com
  • Status: Offline

Post October 13th, 2010, 12:23 am

I've built an interactive Flash demonstration that I either need to loop back to the first frame (which essentially attaches the initial MC onto the dummyMC) after 260 sec. or an event listener that will listen for if a certain amount of time (120 sec.) has passed and if so, it attaches the initial MC and starting the demo over.

Thanks in advance!
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post October 13th, 2010, 12:23 am

  • stev_ro
  • Beginner
  • Beginner
  • User avatar
  • Joined: Feb 27, 2007
  • Posts: 61
  • Loc: ro
  • Status: Offline

Post October 20th, 2010, 11:35 am

You can place on your last frame a blank keyframe and attach the code gotoAndPlay(1); -> this will force your whole movie to start all over again each time it gets to the end.

Post Information

  • Total Posts in this topic: 2 posts
  • Users browsing this forum: No registered users and 43 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.