capabilities.hasMP3 Property

ActionScript for Flash MX: The Definitive Guide, 2nd Edition
By Colin Moock
Chapter 18.  ActionScript Language Reference
capabilities.hasMP3 Property Flash 6

indicates whether the Player supports MP3 sound playback read/write
System.capabilities.hasMP3

Description

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.

See Also

capabilities.hasAudio



    ActionScript for Flash MX. The Definitive Guide
    ActionScript for Flash MX: The Definitive Guide, Second Edition
    ISBN: 059600396X
    EAN: 2147483647
    Year: 2002
    Pages: 780
    Authors: Colin Moock

    flylib.com © 2008-2017.
    If you may any questions please contact us: flylib@qtcs.net