Flash Lite 2.x and 3.0 ActionScript Language Reference

_capMMS property

_capMMS

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.

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)