MACROMEDIA FLASH 8-EXTENDING FLASH Manual page 396

Extending flash
Table of Contents

Advertisement

soundItem.compressionType
Availability
Flash MX 2004.
Usage
soundItem.compressionType
Description
Property; a string that specifies that compression type for a sound in the library. Acceptable
values are
"Default"
If you want to specify a value for this property, set
to
.
false
Example
The following example changes an item in the library to compression type Raw:
fl.getDocumentDOM().library.items[0].compressionType = "Raw";
The following example changes a selected item's compression type to Speech:
fl.getDocumentDOM().library.getSelectedItems()[0].compressionType =
"Speech";
soundItem.convertStereoToMono
Availability
Flash MX 2004.
Usage
soundItem.convertStereoToMono
Description
Property; a Boolean value available only for MP3 and Raw compression types. Setting this to
converts a stereo sound to mono;
true
soundItem.bitRate
soundItem.bitRate
If you want to specify a value for this property, set
to
.
false
396
Objects
,
,
,
"ADPCM"
"MP3"
"Raw"
false
is less than 20 Kbps, this property is ignored and forced to
).
, and
.
"Speech"
soundItem.useImportedMP3Quality
leaves it as stereo. For MP3 compression type, if
soundItem.useImportedMP3Quality
(see
true

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH 8-EXTENDING FLASH and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Flash 8

Table of Contents