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.

_capMFi property<br />

_capMFi<br />

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

System.capabilities.hasMFi property.<br />

Numeric variable; indicates whether the device can play sound data in the Melody Format for<br />

i-mode (MFi) audio format. If so, this variable is defined <strong>and</strong> has a value of 1; if not, this<br />

variable is undefined.<br />

Example<br />

If the device can play MFi sound data, the following example sets canMFi to 1:<br />

canMFi = _capMFi;<br />

if (canMFi == 1) {<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 />

hasMFI (capabilities.hasMFI property)<br />

_capMIDI property<br />

_capMIDI<br />

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

System.capabilities.hasMIDI property.<br />

Numeric variable; indicates whether the device can play sound data in the Musical Instrument<br />

Digital Interface (MIDI) audio format. If so, this variable is defined <strong>and</strong> has a value of 1; if<br />

not, this variable is undefined.<br />

Example<br />

If the device can play MIDI sound data, the following example sets _capMIDI to 1:<br />

canMIDI = _capMIDI;<br />

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

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

Global Properties 93

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

Saved successfully!

Ooh no, something went wrong!