Example
The following example sets
1.0 (however, not all Flash Lite 1.1 phones can send MMS messages, so this code is still
dependent on the phone):
on(release) {
canMMS = _capMMS;
if (canMMS == 1) {
// send an MMS
myMessage = "mms:4156095555?body=sample mms message";
} else {
// send an SMS
myMessage = "sms:4156095555?body=sample sms message";
}
getURL(myMessage);
}
_capMP3
Availability
Flash Lite 1.1.
Usage
_capMP3
Description
Numeric variable; indicates whether the device can play sound data in the MPEG Audio
Layer 3 (MP3) 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 MP3 sound data, the following example sets
canMP3 = _capMP3;
if (canMP3 == 1) {
tellTarget("soundClip") {
gotoAndPlay(2);
}
}
118
Flash Lite Specific Language Elements
to 1 in Flash Lite 1.1, but leaves it undefined in Flash Lite
canMMS
to 1:
canMP3
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