fscommand("trapallkeys",true) _root.onEnterFrame=function(){ if(Key.isDown(Key.ESCAPE)){ fscommand("quit",""); } }