User Guide

SoundItem object 395
Description
Property; a string that specifies the bit rate of a sound in the library. This property is available
only for the MP3 compression type. Acceptable values are
"8 kbps", "16 kbps", "20 kbps",
"24 kbps", "32 kbps", "48 kbps", "56 kbps", "64 kbps", "80 kbps", "112 kbps",
"128 kbps", and "160 kbps". Stereo sounds exported at 8 or 16 kbps are converted to
mono. The property is
undefined for other compression types.
Example
The following example displays the bitRate value in the Output panel if the specified item in
the library has MP3 compression type:
alert(fl.getDocumentDOM().library.items[0].bitRate);
See also
soundItem.compressionType, soundItem.convertStereoToMono
soundItem.bits
Availability
Flash MX 2004.
Usage
soundItem.bits
Description
Property; a string that specifies the bits value for a sound in the library that has ADPCM
compression. Acceptable values are
"2 bit", "3 bit", "4 bit", and "5 bit".
Example
The following example displays the bits value in the Output panel if the currently selected
item in the library has ADPCM compression type:
alert(fl.getDocumentDOM().library.items[0].bits);
See also
soundItem.compressionType
NOTE
If you want to specify a value for this property, set soundItem.useImportedMP3Quality to
false.
NOTE
If you want to specify a value for this property, set soundItem.useImportedMP3Quality
to
false.