
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.
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();
}