EasyManua.ls Logo

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

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...
116 Flash Lite Specific Language Elements
Example
If the host application can perform dynamic loading of movies and variables, the following
example sets
iCanLoad to 1:
canLoad = _capLoadData;
if (canLoad == 1) {
loadVariables("http://www.somewhere.com/myVars.php", GET);
} else {
trace ("client does not support loading dynamic data");
}
_capMFi
Availability
Flash Lite 1.1.
Usage
_capMFi
Description
Numeric variable; indicates whether the device can play sound data in the Melody Format for
i-mode (MFi) audio format. If so, this variable is defined and has a value of 1; if not, this
variable is undefined.
Example
If the device can play MFi sound data, the following example sets canMfi to 1:
canMFi = _capMFi;
if (canMFi == 1) {
// send movieclip buttons to frame with buttons that trigger events
sounds
tellTarget("buttons") {
gotoAndPlay(2);
}
}

Table of Contents

Related product manuals