03.05.2013 Views

FLASH® LITE™ 2.x - Adobe Help and Support

FLASH® LITE™ 2.x - Adobe Help and Support

FLASH® LITE™ 2.x - Adobe Help and Support

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Deprecated since Flash Lite Player 2.0. This action was deprecated in favor of the<br />

System.capabilities.hasSMAF property.<br />

Numeric variable; indicates whether the device can play multimedia files in the Synthetic<br />

music Mobile Application Format (SMAF). If so, this variable is defined <strong>and</strong> has a value of 1;<br />

if not, this variable is undefined.<br />

Example<br />

The following example sets canSMAF to 1 in Flash Lite 1.1, but leaves it undefined in Flash<br />

Lite 1.0 (however, not all Flash Lite 1.1 phones can send SMAF messages, so this code is still<br />

dependent on the phone):<br />

canSMAF = _capSMAF;<br />

if (canSMAF) {<br />

// send movieclip buttons to frame with buttons that trigger events<br />

sounds<br />

tellTarget("buttons") {<br />

gotoAndPlay(2);<br />

}<br />

}<br />

See also<br />

capabilities (System.capabilities)<br />

_capSMS property<br />

_capSMS<br />

Deprecated since Flash Lite Player 2.0. This action was deprecated in favor of the<br />

System.capabilities.hasSMS property.<br />

Numeric variable; indicates whether Flash Lite can send Short Message Service (SMS)<br />

messages by using the GetURL() ActionScript comm<strong>and</strong>. If so, this variable is defined <strong>and</strong> has<br />

a value of 1; if not, this variable is undefined.<br />

Example<br />

The following example sets canSMS to 1 in Flash Lite 1.1, but leaves it undefined in Flash Lite<br />

1.0 (however, not all Flash Lite 1.1 phones can send SMS messages, so this code is still<br />

dependent on the phone):<br />

on(release) {<br />

canSMS = _capSMS;<br />

if (canSMS) {<br />

Global Properties 95

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!