Contents / Previous / Next


Build in Classes


Core classes

  • Object is at the root of the ActionScript class hierarchy.
  • Date : Provides access to date and time values relative to universal time (Greenwich Mean Time) or relative to the operating system.
  • Error : The Error class contains information about errors that occur in your scripts. You typically use the throw statement to generate an error condition, which you can then handle using a try..catch..finally statement.
  • Math
  • Array
  • String


    Movie classes

  • MovieClip : Control movie clip objects.
  • Stage : Provides information about a SWF file's dimensions, alignment, and scale mode, and reports Stage resize events.
  • Mouse : Control over the mouse, for example, lets you hide or show the mouse pointer.
  • Key : Provides methods and properties for the keyboard and keypresses.
  • Button
  • ContextMenu : You can associate separate ContextMenu objects with MovieClip, Button, or TextField objects.
  • LocalConnection : Lets two SWF files running on the same computer communicate.
  • MovieClipLoader : Download SWF and JPEG files.
  • PrintJob
  • SharedObject : Provides local data storage on the client computer.
  • System : Information about Flash Player and system (for example, screen resolution and current system language). It also lets you modify SWF file security settings.
  • TextField
  • TextFormat
  • Selection : Get and set text field focus.


    Media classes

  • Sound
  • Microphone : Broadcast and record audio.
  • Video : Display video objects in a SWF file.
  • Camera : Capture, broadcast, and record images and video.
  • NetConnection / NetStream: Local streaming connection for playing a Flash Video (FLV) file from an HTTP address or from the local file system.



    Client-Server Classes

  • XML Provides methods, properties, and event handlers for working with XML-formatted data, including loading and parsing external XML, creating new XML documents, and navigating XML document trees.
  • XMLSocket : Create a persistent socket connection.