How to pause in FLASH

August 31st, 2007 by steamfrog

Add this code to the frame you want to pause

clearInterval(nDelayID);
stop();
var nDelayID:Number = setInterval(this, “pause”, 7000);
// where 4000 is 4000 milliseconds
function pause():Void {
clearInterval(nDelayID);
play();

}

Share and Enjoy:

These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • del.icio.us
  • Netvouz
  • DZone
  • ThisNext
  • MisterWong
  • Wists
  • blinkbits
  • BlinkList
  • blogmarks
  • Fark
  • Fleck
  • Furl
  • IndiaGram
  • IndianPad
  • Linkter
  • Ma.gnolia
  • NewsVine
  • Reddit
  • Simpy
  • Slashdot
  • Smarking
  • SphereIt
  • Spurl
  • StumbleUpon
  • Taggly
  • TailRank
  • Technorati
  • YahooMyWeb

Leave a Comment

Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.