MACROMEDIA FLASH 8-EXTENDING FLASH Manual page 395

Extending flash
Table of Contents

Advertisement

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
,
"24 kbps"
"32 kbps"
, and
"128 kbps"
"160 kbps"
mono. The property is
If you want to specify a value for this property, set
.
false
Example
The following example displays the
the library has MP3 compression type:
alert(fl.getDocumentDOM().library.items[0].bitRate);
See also
soundItem.compressionType
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
If you want to specify a value for this property, set
to
.
false
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
,
,
"48 kbps"
"56 kbps"
. Stereo sounds exported at 8 or 16 kbps are converted to
for other compression types.
undefined
bitRate
,
soundItem.convertStereoToMono
"2 bit"
"8 kbps"
,
,
"64 kbps"
"80 kbps"
soundItem.useImportedMP3Quality
value in the Output panel if the specified item in
,
,
, and
"3 bit"
"4 bit"
soundItem.useImportedMP3Quality
,
,
"16 kbps"
"20 kbps"
,
,
"112 kbps"
.
"5 bit"
SoundItem object
,
to
395

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash 8

Table of Contents