User Guide

SoundItem object 397
Example
The following example converts an item in the library to mono, only if the item has MP3 or
Raw compression type:
fl.getDocumentDOM().library.items[0].convertStereoToMono = true;
See also
soundItem.compressionType
soundItem.quality
Availability
Flash MX 2004.
Usage
soundItem.quality
Description
Property; a string that specifies the playback quality of a sound in the library. This property is
available only for MP3 compression type. Acceptable values are
"Fast", "Medium", and
"Best".
Example
The following example sets the playback quality of an item in the library to Best, if the item
has MP3 compression type:
fl.getDocumentDOM().library.items[0].quality = "Best";
See also
soundItem.compressionType
soundItem.sampleRate
Availability
Flash MX 2004.
Usage
soundItem.sampleRate
NOTE
If you want to specify a value for this property, set soundItem.useImportedMP3Quality
to
false.