var o:Object = new Object(); Key.addListener(o); o.onKeyDown = function(){ if(Key.getCode() == "тут код кнопки"){ gotoAndStop("ustr1"); } }