Flash Lite 1.x ActionScript Language Reference |
|
|
|
| Flash Lite Specific Language Elements > Capabilities > _capMP3 | |||
Flash Lite 1.1.
_capMP3
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.
If the device can play MP3 sound data, the following example sets canMP3 to 1:
canMP3 = _capMP3;
if (canMP3 == 1) {
tellTarget("soundClip") {
gotoAndPlay(2);
}
}
|
|
|
|