EasyManua.ls Logo

MACROMEDIA FLASH 8-FLASH LITE 1.X ACTIONSCRIPT LANGUAGE - Page 119

MACROMEDIA FLASH 8-FLASH LITE 1.X ACTIONSCRIPT LANGUAGE
162 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Capabilities 119
_capSMAF
Availability
Flash Lite 1.1.
Usage
_capSMAF
Description
Numeric variable; indicates whether the device can play multimedia files in the Synthetic
music Mobile Application Format (SMAF). If so, this variable is defined and has a value of 1;
if not, this variable is undefined.
Example
The following example sets canSMAF to 1 in Flash Lite 1.1, but leaves it undefined in Flash
Lite 1.0 (however, not all Flash Lite 1.1 phones can send SMAF messages, so this code is still
dependent on the phone):
canSMAF = _capSMAF;
if (canSMAF) {
// send movieclip buttons to frame with buttons that trigger events
sounds
tellTarget("buttons") {
gotoAndPlay(2);
}
}
_capSMS
Availability
Flash Lite 1.1.
Usage
_capSMS
Description
Numeric variable; indicates whether Flash Lite can send Short Message Service (SMS) messages
by using the
GetURL() ActionScript command. If so, this variable is defined and has a value
of 1; if not, this variable is undefined.

Table of Contents

Related product manuals