Visit SlideShowPro.net  Community Forums
SlideShowPro Support Wiki
  

Back
Products

ThumbGrid


Using ThumbGrid without Director

Additional support

  1. Community forums
  2. Email support staff

Company

  1. Products
  2. About SlideShowPro
  3. News
  4. Follow SlideShowPro on Twitter
ThumbGrid

halt()

public function halt():void

ThumbGrid Version: ThumbGrid 1 and 2
Language Version: ActionScript 3.0
Player Version: Flash Player 9.0.0.0

A garbage collection method that stops all internal timers and events. Should be called anytime the component needs to be unloaded from the timeline before calling the Loader.unload() method. This provides similar cleanup functionality to the Loader.unloadAndStop() method available in Flash Player 10 and higher.

Example

In this example, a button on the stage with an instance name of "my_btn" calls the method:

my_btn.addEventListener("click",afterClick);

function afterClick(e:MouseEvent):void {
   my_tg.halt();
}


Page last modified by tdominey on June 12, 2010, at 06:07 AM
© 2011 SlideShowPro. All Rights Reserved.