ActionScript 2
  • classpath
    • the list of directories in which Flash searches for class and interface definitions
    • global classpath
      • applies to external ActionScript files and to FLA files
    • document-level classpath
      • applies only to FLA files
  • Event Handle
  • AsBroadcaster, FileReference, FileReferenceList, MovieClipLoader, TextField, IME, Key, Mouse, Selection, Stage
    • addlistener()
var myListener:Object = new Object();
myListener.onKeyDown = function () {
    trace ("You pressed a key.");
}
myListener.onKeyUp = function () {
    trace ("You released a key.");
}
Key.addListener(myListener);
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License