background image

24

Unsupported and Partially Supported Classes

Flash Lite property extensions

The following table lists properties that are extensions to the System.capabilites class for use 
with ActionScript for Flash Lite 2.0.

Property

Description

hasCompoundSound

A read-only Boolean value that is 

true

 if the player can process 

compound sound data; 

false

 otherwise.

hasEmail

A read-only Boolean value that is 

true

 if the player can send e-mail 

messages using the 

GetURL

 ActionScript command; 

false

 otherwise.

hasMMS

A read-only Boolean value that is 

true

 if the player can send 

multimedia message service (MMS) messages using the 

GetURL

 

ActionScript command; 

false

 otherwise.

hasSMS

A read-only value whose variable 

_capSMS

 indicates whether Flash 

Lite can send short message service (SMS) messages using the 

GetURL

 ActionScript command. If Flash Lite can send SMS 

messages, this variable is defined and has a value of 1. Otherwise, this 
variable is not defined.

hasMFI

A read-only Boolean value that is 

true

 if the player can play sound 

data in the Melody Format for i-mode

 (

MFi) audio format; 

false

 

otherwise.

hasMIDI

A read-only Boolean value that is 

true

 if the player can play sound 

data in the MIDI audio format; 

false

 otherwise.

hasSMAF

A read-only Boolean value that is 

true

 if the player can play sound 

data in the Synthetic music Mobile Application Format

 (

SMAF); 

false

 

otherwise.

hasDataLoading

A read-only Boolean value that is 

true

 if the player can dynamically 

load additional data through calls to 

loadMovie()

loadMovieNum()

loadVariables()

loadVariablesNum()

XML.parseXML()

Sound.loadSound()

MovieClip.loadVariables()

MovieClip.loadMovie()

MovieClipLoader.loadClip()

LoadVars.load()

, and 

LoadVars.sendAndLoad()

false

 otherwise.

has4WayKeyAS

A read-only Boolean value that is 

true

 if the player can execute 

ActionScript attached to 

keyEvent

 handlers associated with the right, 

left, up and down keys; 

false

 otherwise.

If the value of this variable is 

true

, when one of the four-way keys is 

pressed, the player first looks for a handler for that key. If none is 
found, Flash control navigation is performed. However, if an event 
handler is found, no navigation action occurs for that key. In other 
words, the presence of a keypress handler for a down key disables 
the ability to navigate down.

Содержание FLASH 8-INTRODUCTION TO FLASH LITE 2.X...

Страница 1: ...Introduction to Flash Lite 2 x ActionScript...

Страница 2: ...art on the work of the Independent JPEG Group Nellymoser Inc Speech compression and decompression technology licensed by Nellymoser Inc http www nellymoser com Opera browser Copyright 1995 2002 Opera...

Страница 3: ...and2 7 Commands partially supported or unsupported by fsCommand 8 Partially supported global properties 10 Chapter 2 Unsupported and Partially Supported Classes 11 Button class 11 Date class 13 Key cl...

Страница 4: ...4...

Страница 5: ...ses and how to use them when writing Flash Lite 2 0 applications Flash Lite 2 x ActionScript Language Reference Developing Flash Lite 2 x Applications Learning ActionScript 2 0 in Flash Guide to instr...

Страница 6: ...s tips and other updates see the Mobile and Devices Developer Center at www macromedia com devnet devices For TechNotes documentation updates and links to additional resources in the Flash Lite develo...

Страница 7: ...d through fsCommand and fsCommand2 The fsCommand and fsCommand2 global functions let the SWF file communicate with either Flash Player or the program that is hosting Flash Player such as a web browser...

Страница 8: ...ways drawn at its original size and is never scaled Specifying true forces the SWF file to scale to 100 of the screen showmenu Specifying true enables the full set of context menu items Specifying fal...

Страница 9: ...t prints a level in Flash Player as a bitmap according to the boundaries specified in the parameter bmovie bmax or bframe Not supported printNum A function that prints the level in Flash Player accord...

Страница 10: ...which the draggableInstanceName the name of a movie clip instance that was the target of a startDrag function was dropped This property always returns a path that starts with a slash Partially suppor...

Страница 11: ...tem class 21 capabilities System capabilities class 23 Sound class 26 Stage class 28 TextField class 29 TextFormat class 30 Video class 32 Button class All button symbols in a SWF file are instances o...

Страница 12: ...ilities hasStylus are set to true Partially supported useHandCursor A Boolean value that indicates whether the pointer appears when the mouse passes over a button Not supported _xmouse Read only the x...

Страница 13: ...te 2 0 onDragOver Invoked when the pointer is dragged over the button Supported if System capabilities hasMouse or System capabilities hasStylus are set to true Partially supported onReleaseOutside In...

Страница 14: ...ed to the Key class when using ActionScript for Flash Lite 2 0 getLocaleShortDate This function sets a parameter to a string that represents the current date in abbreviated form formatted according to...

Страница 15: ...ng 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 ActionScri...

Страница 16: ...ping Flash Lite 2 x Applications Chapter 11 Working with Movie Clips in Learning ActionScript 2 0 in Flash Chapter 2 ActionScript Classes in Flash Lite 2 x ActionScript Language Reference Event Descri...

Страница 17: ...he specified movie clip Not supported startDrag Specifies a movie clip as draggable and begins dragging the movie clip Limitations Supported if System capabilities hasMouse or System capabilities hasS...

Страница 18: ...abilities hasStylus are set to true Partially supported menu Associates the specified ContextMenu object with the movie clip Not supported _quality Sets or retrieves the rendering quality used for a S...

Страница 19: ...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...

Страница 20: ...lash Chapter 2 ActionScript Classes in Flash Lite 2 x ActionScript Language Reference onMouseMove Invoked every time the mouse moves Limitations Supported if System capabilities hasMouse is set to tru...

Страница 21: ...e 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...

Страница 22: ...System class for use with ActionScript for Flash Lite 2 0 Method Description Support setClipboard Replaces the contents of the Clipboard with a specified text string Not supported showSettings Shows...

Страница 23: ...ion based on the capabilities of the device Property summary The following table lists the properties that are not supported by the System capabilites class when using ActionScript for Flash Lite 2 0...

Страница 24: ...n the Melody Format for i mode MFi audio format false otherwise hasMIDI A read only Boolean value that is true if the player can play sound data in the MIDI audio format false otherwise hasSMAF A read...

Страница 25: ...nly Boolean value that is true if Flash content playing back in this application can access Flash Lite shared objects false otherwise hasQWERTYKeyboard A read only Boolean value that is true if Action...

Страница 26: ...100 left to 100 right 0 sets the left and right channels equally The pan setting controls the left right balance of the current and future sounds in a SWF file Limitations Supported for use with nativ...

Страница 27: ...ctor method of the generic Object class with parameters specifying how the sound is distributed to the left and right channels speakers Limitations Supported for use with native Flash sound not suppor...

Страница 28: ...nsions The following table lists new properties in the Stage class that are specific to ActionScript for Flash Lite 2 0 Method Description getPan Returns the value of the previous setPan call This met...

Страница 29: ...n Flash that are not embedded in a SWF file Flash Lite uses whatever font on the mobile device most closely resembles the device font Because font outlines are not embedded a SWF file size is smaller...

Страница 30: ...ing to static and dynamic text fields 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 befo...

Страница 31: ...xt in this text format as a string Limitations For Flash Lite this property works for embedded fonts only This property is not supported for Arabic Hebrew and Thai Partially supported italic A Boolean...

Страница 32: ...references Developing Flash Lite 2 x Applications Chapter 15 Working with images Sound and Video in Learning ActionScript 2 0 in Flash Chapter 2 ActionScript Classes in Flash Lite 2 x ActionScript Lan...

Страница 33: ...g Specifies whether the video should be smoothed interpolated when it is scaled For smoothing to work the player must be in high quality mode Not supported width An integer specifying the width of the...

Страница 34: ...34 Unsupported and Partially Supported Classes...

Отзывы: