Flash

엔터 입력은 13

OJR 2009. 8. 26. 10:23
System.IME.setConversionMode(System.IME.KOREAN);

var myListener:Object = new Object();

myListener.onKeyDown = function() {
var keyStr:String = ( Key.isDown(Key.CONTROL) )? "C" + Key.getCode() : Key.getCode();
trace( "Key_" + keyStr );
 if( keyStr == 13 ){
 trace( this.q_btn );
  trace( this );
  trace( this._parent );
  trace( this._parent.q_btn );
  this.q_btn.onRelease();
 }
}
myListener.onKeyUp = function() { }
Key.addListener(myListener);

'Flash' 카테고리의 다른 글

flash loading 090827  (0) 2009.08.27
flash loading 090826  (0) 2009.08.26
flash 090825 로딩  (0) 2009.08.25
flash 로딩 090824  (0) 2009.08.24
flash loading 090820  (0) 2009.08.20