The SoundMixer class contains static properties and methods for global
sound control in the application. The SoundMixer class controls embedded
and streaming sounds in the application. it does not control dynamically
created sounds (that is, sounds generated in response to a Sound object
The number of seconds to preload an embedded streaming sound into a
buffer before it starts to stream. The data in a loaded sound,
including its buffer time, cannot be accessed by a SWF file that is in
a different domain unless you implement a cross-domain policy file.
For more information about security and sound, see the Sound class
description. The data in a loaded sound, including its buffer time,
cannot be accessed by code in a file that is in a different domain
unless you implement a cross-domain policy file. However, in the
application sandbox in an AIR application, code can access data in
sound files from any source. For more information about security and
sound, see the Sound class description.
SoundMixer.bufferTime property only affects the buffer time for
embedded streaming sounds in a SWF and is independent of dynamically
created Sound objects (that is, Sound objects created in
ActionScript). The value of
SoundMixer.bufferTime cannot override or
set the default of the buffer time specified in the SoundLoaderContext
object that is passed to the
The SoundTransform object that controls global sound properties. A SoundTransform object includes properties for setting volume, panning, left speaker assignment, and right speaker assignment. The SoundTransform object used in this property provides final sound settings that are applied to all sounds after any individual sound settings are applied.
Determines whether any sounds are not accessible due to security
restrictions. For example, a sound loaded from a domain other than
that of the content calling this method is not accessible if the
server for the sound has no URL policy file that grants access to the
domain of that domain. The sound can still be loaded and played, but
low-level operations, such as getting ID3 metadata for the sound,
cannot be performed on inaccessible sounds.
For AIR application content in the application security sandbox,
calling this method always returns
false. All sounds, including
those loaded from other domains, are accessible to content in the
application security sandbox.
The string representation of the boolean.
Takes a snapshot of the current sound wave and places it into the
specified ByteArray object. The values are formatted as normalized
floating-point values, in the range -1.0 to 1.0. The ByteArray object
passed to the
outputArray parameter is overwritten with the new
values. The size of the ByteArray object created is fixed to 512
floating-point values, where the first 256 values represent the left
channel, and the second 256 values represent the right channel.
Note: This method is subject to local file security restrictions
and restrictions on cross-domain loading. If you are working with
local files or sounds loaded from a server in a different domain than
the calling content, you might need to address sandbox restrictions
through a cross-domain policy file. For more information, see the
Sound class description. In addition, this method cannot be used to
extract data from RTMP streams, even when it is called by content that
reside in the same domain as the RTMP server.
This method is supported over RTMP in Flash Player 184.108.40.206 and later
and in Adobe AIR. You can control access to streams on Flash Media
Server in a server-side script. For more information, see the
Server-Side ActionScript Language Reference for Adobe Flash Media
A ByteArray object that holds the values
associated with the sound. If any sounds are not
available due to security restrictions
A Boolean value indicating whether a Fourier
transformation is performed on the sound data
first. Setting this parameter to
The resolution of the sound samples. If you set