Flash Lite 2.x and 3.0 ActionScript Language Reference

hasMP3 (capabilities.hasMP3 property)

public static hasMP3 : Boolean [read-only]

Specifies if the mobile device has a MP3 decoder. A Boolean value that is true if the player is running on a system that has an MP3 decoder; false otherwise. The server string is MP3.

Example

The following example traces the value of this read-only property:

 trace(System.capabilities.hasMP3);