Flash Lite 2.x and 3.0 ActionScript Language Reference

_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.

Example

The following example sets canSMAF 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 SMAF messages, so this code is still dependent on the phone):

canSMAF = _capSMAF;

if (canSMAF) {
 // send movieclip buttons to frame with buttons that trigger events 

sounds
 tellTarget("buttons") {
 gotoAndPlay(2); 
 }
} 

See also

capabilities (System.capabilities)