/ Published in: ActionScript 3
Expand |
Embed | Plain Text
function main():void { stage.addEventListener(Event.DEACTIVATE, windowNotActive); stage.addEventListener(Event.ACTIVATE, windowActive); } main(); function windowNotActive(e:Event):void { trace("NOT ACTIVE"); } function windowActive(e:Event):void { trace("ACTIVE"); }
You need to login to post a comment.
