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
NO
TE
If you want to specify a value for this property, set
soundItem.useImportedMP3Quality
to
false
.
Summary of Contents for FLASH 8-EXTENDING FLASH
Page 1: ...Extending Flash...
Page 38: ...38 Top Level Functions and Methods...
Page 532: ...532 Objects...
Page 554: ...554 C Level Extensibility...