100
ActionScript language elements
Deprecated
since Flash Lite Player 2.0. This action was deprecated in favor of the
System.capabilities.hasMMS
property.
Numeric variable; indicates whether Flash Lite can send Multimedia Messaging Service
(MMS) 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.
Availability:
ActionScript 1.0; Flash Lite 1.1
Example
The following example sets
canMMS
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 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);
}
See also
capabilities (System.capabilities)
_capSMAF property
_capSMAF
Deprecated
since Flash Lite Player 2.0. This action was deprecated in favor of the
System.capabilities.hasSMAF
property.
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.
Availability:
ActionScript 1.0; Flash Lite 1.1
Содержание Flash Lite 2
Страница 1: ...Flash Lite 2 x ActionScript Language Reference...
Страница 22: ...22 Contents...
Страница 244: ...244 ActionScript language elements...
Страница 760: ...760 ActionScript classes...