Flash Lite 2.x and 3 Help

Stage class

The Stage class is a top-level class whose methods, properties, and handlers you can access without using a constructor. Use the methods and properties of this class to access and manipulate information about the boundaries of a SWF file.

For more information, see the following references:

  • Developing Flash Lite 2.x and 3.0 Applications
  • Flash Lite 2.x and 3.0 ActionScript Language Reference

Flash Lite property extensions

The following table lists new properties in the Stage class that are specific to ActionScript for Flash Lite 2.x and later.

Property

Description

showMenu

Shows or hides the default items in the Flash Player context menu.

getTransform()

Returns the value of the previous setTransform() call. This method is not supported for device sound.

loadSound()

Loads sound data of any format into Flash Player. This method is different from the Flash Player 7 version because sound data loaded using this method is always treated as event sound, so the second parameter of this method is always ignored. For example, in the following call, the value true is ignored:

my_sound.loadSound("mysnd.mp3", true);

 

Send me an e-mail when comments are added to this page | Comment Report