Actionscript 3 stage.focus?
Actionscript 3 stage.focus?
Out of context: Reply #5
- Started
- Last post
- 14 Responses
- maximillion_0
you should alos look at destructing your objects too, it will help you keep performance of yr swf looking good
addEventListener(Event.REMOVED_F... , onRemovedFromStage)
the method:
private function onRemovedFromStage(e:Event):void {
// remove all listeners to child objects (your PbtnMC objs etc) within the parent object (this obj) so that they dont take up memory when not needed
}