capabilities.hasMP3 Property | Flash 6 |
indicates whether the Player supports MP3 sound playback | read/write |
The Boolean hasMP3 property is true for Flash Players that can play MP3 audio files, and false for those without MP3 support. It typically is used to determine the appropriate type of sound file to load at runtime. For example, a movie that detects a system with audio support (via hasAudio), but no MP3 support, could load a regular ADPCM sound.
The corresponding server string for hasMP3 is MP3, with possible values of t (true) and f (false). See capabilities.serverString for details.