Detailed instructions for use are in the User's Guide.
[. . . ] Introduction to Flash Lite 2. x ActionScript
Trademarks 1 Step RoboPDF, ActiveEdit, ActiveTest, Authorware, Blue Sky Software, Blue Sky, Breeze, Breezo, Captivate, Central, ColdFusion, Contribute, Database Explorer, Director, Dreamweaver, Fireworks, Flash, FlashCast, FlashHelp, Flash Lite, FlashPaper, Flash Video Endocer, Flex, Flex Builder, Fontographer, FreeHand, Generator, HomeSite, JRun, MacRecorder, Macromedia, MXML, RoboEngine, RoboHelp, RoboInfo, RoboPDF, Roundtrip, Roundtrip HTML, Shockwave, SoundEdit, Studio MX, UltraDev, and WebHelp are either registered trademarks or trademarks of Adobe Systems Incorporated and may be registered in the United States or in other jurisdictions including internationally. Other product names, logos, designs, titles, words, or phrases mentioned within this publication may be trademarks, service marks, or trade names of Adobe Systems Incorporated or other entities and may be registered in certain jurisdictions including internationally. Third-Party Information This guide contains links to third-party websites that are not under the control of Adobe Systems Incorporated, and Adobe Systems Incorporated is not responsible for the content on any linked site. If you access a third-party website mentioned in this guide, then you do so at your own risk. [. . . ] Limitations: Supported if System. capabilities. hasMouse=true or
System. capabilities. hasStylus=true.
Support
Partially supported
_ymouse
Returns the y coordinate of the mouse position. Limitations: Supported if System. capabilities. hasMouse or System. capabilities. hasStylus are set to true.
Partially supported
Event summary
The following table lists the event handlers that are partially supported by the MovieClip class when using ActionScript for Flash Lite 2. 0.
Event Handler
onDragOut
Description
Support
Invoked when the mouse button is pressed and the Partially pointer rolls outside the object. You must define a supported function that executes when the event handler is invoked. You can define the function on the timeline or in a class file that extends the MovieClip class or is linked to a symbol in the library. Limitations: Supported if System. capabilities. hasMouse or System. capabilities. hasStylus are set to true. Invoked when the pointer is dragged outside and then over the movie clip. You must define a function that executes when the event handler is invoked. You can define the function on the timeline or in a class file that extends the MovieClip class or is linked to a symbol in the library. Limitations: Supported if System. capabilities. hasMouse or System. capabilities. hasStylus are set to true. Limitations: Supported if System. capabilities. hasMouse or System. capabilities. hasStylus are set to true. Partially supported
onDragOver
onMouseDown
Partially supported
MovieClip class
19
Event Handler
onMouseMove
Description
Invoked every time the mouse moves. Limitations: Supported if System. capabilities. hasMouse is set to true. Limitations: Supported if System. capabilities. hasMouse or System. capabilities. hasStylus are set to true.
Support
Partially supported Partially supported
onMouseUp
onReleaseOutside
Invoked when the mouse button is pressed over a Partially movie clip and released while the pointer is outside supported the movie clip's area. Limitations: Supported if System. capabilities. hasMouse or System. capabilities. hasStylus are set to true.
SharedObject class
A Flash Lite shared object, as implemented in the ActionScript SharedObject class, allows Flash Lite content to save data to the device when the application is closed and load the data from the device when the application is played again. For more information about the SharedObject class, see the following references:
Developing Flash Lite 2. x Applications Chapter 14, "Creating Interaction with ActionScript" in Learning ActionScript 2. 0 in Flash Chapter 2, "ActionScript Classes, " in Flash Lite 2. x ActionScript Language Reference
20
Unsupported and Partially Supported Classes
Method summary
The following table lists the methods that are partially supported by the SharedObject class when using ActionScript for Flash Lite 2. 0.
Method
flush()
Description
Immediately writes a locally persistent shared object to a local file. Limitations: The write operation is asynchronous and the result is not immediately available.
Support
Partially supported
getLocal()
Returns a reference to a locally persistent shared Partially object that is available only to the current client. supported Limitations: In Flash Lite, a shared object cannot be shared between two SWF files.
Flash Lite method extensions
The following table lists the methods that have been added as extensions to the SharedObject class when using ActionScript for Flash Lite 2. 0.
Method
GetMaxSize()
Description
Flash Lite 2. 0 returns the maximum size allotted for persistent storage of an SWF file.
System class
The System class contains properties that are related to certain operations on the user's computer, such as operations with shared objects, local settings for cameras and microphones, and using the Clipboard. The following additional properties and methods are in specific classes within the System package: the capabilities class, the security class, and the IME class. For more information about the System class, see the following references:
Developing Flash Lite 2. x Applications Flash Lite 2. x ActionScript Language Reference Chapter 7, "Classes" in Learning ActionScript 2. 0 in Flash
System class
21
Method summary
The following table lists the methods that are not supported by the System class when using ActionScript for Flash Lite 2. 0.
Method
setClipboard()
Description
Replaces the contents of the Clipboard with a specified text string. Shows the specified Flash Player Settings panel.
Support
Not supported Not supported
showSettings()
Property summary
The following table lists the properties that are not supported by the System class for use with ActionScript for Flash Lite 2. 0.
Property
exactSettings
Description
Specifies whether to use superdomain or exactdomain matching rules when accessing local settings.
Support
Not supported
Event summary
The following table lists the event handlers that are partially supported by the System class for use with ActionScript for Flash Lite 2. 0.
Event handler
onStatus
Description
Support
Provides a super event handler for certain objects. The supported LocalConnection and NetStream properties are not supported.
22
Unsupported and Partially Supported Classes
capabilities (System. capabilities) class
The System. capabilities class determines the abilities of the system and player hosting a SWF file, which lets you tailor content for different formats. For example, the screen of a cell phone (black and white, 100 square pixels) is different than the 1000-square-pixel color PC screen. [. . . ] Some examples of text formatting options that can be applied to text are alignment, indenting, bold, color, font size, margin widths, italics, and letter spacing. Some properties of the TextFormat class are not available for embedded and device fonts. You must use the constructor TextFormat() to create a TextFormat object before calling its methods.
Flash Lite 2. 0 provides partial support for the formatting feature available in the TextFormat class. Formatting features are not available when you use device fonts.
NO TE
Flash Lite 2. 0 provides partial support for the TextFormat class. [. . . ]