Table of Contents

capabilities.hasAudio Property Flash 6

indicates whether the Player supports audio playback read/write
System.capabilities.hasAudio

Description

The Boolean hasAudio property is true for Flash Players that support audio playback, and false for Players that cannot play sounds. While all desktop versions of Flash support sound, not all handheld or set-top device versions necessarily do. Movies can use this property to provide alternative content, such as subtitles, when sound is not available.

Note that hasAudio indicates only whether the Flash Player supports audio playback, not whether the computer actually has audio enabled (i.e., has a sound card, speakers turned on, volume on, etc.).

The corresponding server string for hasAudio is A, with possible values of t (true) and f (false). See capabilities.serverString for details.

See Also

capabilities.hasAudioEncoder, capabilities.hasMP3


Table of Contents