Example
If the host application can perform dynamic loading of movies and variables, the following
example sets
iCanLoad
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 = _capMFi;
if (canMFi == 1) {
// send movieclip buttons to frame with buttons that trigger events
sounds
tellTarget("buttons") {
gotoAndPlay(2);
}
}
116
Flash Lite Specific Language Elements
to 1:
to 1:
canMfi
Need help?
Do you have a question about the FLASH 8-FLASH LITE 1.X ACTIONSCRIPT LANGUAGE and is the answer not in the manual?
Questions and answers