Check if users of the flash player have audio capabilities. (Capabilities.hasAudio)

Can I check if the user has a sound card? I found Capabilities.hasAudio but don't know if this is the value I should be looking at.

trace(Capabilities.hasAudio)

"Indicates whether the system has audio features. This property is always true .

+5
source share
2 answers

The docs are unclear about this, but I think the properties of the Capabilities class will tell you what the player’s capabilities are, not the system. For example, tabletop players always return true for hasAudio, regardless of whether the system can actually play audio or not.

, , - . , , hasAudio true AFAIK.

+4

Sound.play() null, .

+1

All Articles