Return to Snippet

Revision: 26035
at April 16, 2010 13:57 by brewsie


Initial Code
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");
}

Initial URL

                                

Initial Description

                                

Initial Title
flash focus detection

Initial Tags
flash

Initial Language
ActionScript 3