User Guide

398 Objects
Description
Property; a string that specifies the sample rate for the audio clip. This property is available
only for ADPCM, Raw, and Speech compression types. Acceptable values are
"5 kHz",
"11 kHz", "22 kHz", and "44 kHz".
Example
The following example sets the sample rate of an item in the library to 5 kHz, if the item has
ADPCM, Raw, or Speech compression type:
fl.getDocumentDOM().library.items[0].sampleRate = "5 kHz";
See also
soundItem.compressionType
soundItem.useImportedMP3Quality
Availability
Flash MX 2004.
Usage
soundItem.useImportedMP3Quality
Description
Property; a Boolean value. If true, all other properties are ignored and the imported MP3
quality is used.
Example
The following example sets an item in the library to use the imported MP3 quality:
fl.getDocumentDOM().library.items[0].useImportedMP3Quality = true;
See also
soundItem.compressionType
NOTE
If you want to specify a value for this property, set soundItem.useImportedMP3Quality
to
false.