Flash Lite 2.x and 3.0 ActionScript Language Reference

hasAudio (capabilities.hasAudio property)

public static hasAudio : Boolean [read-only]

Specifies if the system has audio capabilities. A Boolean value that is true if the player is running on a system that has audio capabilities; false otherwise. The server string is A.

Example

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

 trace(System.capabilities.hasAudio);