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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

sounds<br />

tellTarget("buttons") {<br />

gotoAndPlay(2);<br />

}<br />

}<br />

See also<br />

capabilities (System.capabilities)<br />

_capMMS property<br />

_capMMS<br />

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

System.capabilities.hasMMS property.<br />

Numeric variable; indicates whether Flash Lite can send Multimedia Messaging Service<br />

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

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

Example<br />

The following example sets canMMS 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 MMS messages, so this code is still<br />

dependent on the phone):<br />

on(release) {<br />

canMMS = _capMMS;<br />

if (canMMS == 1) {<br />

// send an MMS<br />

myMessage = "mms:4156095555?body=sample mms message";<br />

} else {<br />

// send an SMS<br />

myMessage = "sms:4156095555?body=sample sms message";<br />

}<br />

getURL(myMessage);<br />

}<br />

See also<br />

capabilities (System.capabilities)<br />

_capSMAF property<br />

_capSMAF<br />

94 ActionScript language elements

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

Saved successfully!

Ooh no, something went wrong!