Sounditem.bits; Sounditem.compressiontype - MACROMEDIA FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY Manual

Flash javascript dictionary
Hide thumbs Also See for FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY:
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
,
"24kbps"
"32kbps"
. The property is
"160kbps"
Note: When an MP3 is imported to the library, the Use imported MP3 quality Export setting is
checked by default. The
Example
The following example displays the
library has MP3 compression type:
alert(fl.getDocumentDOM().library.items[0].bitRate);

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
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);

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"
"ADPCM"
Example
The following example changes an item in the library to compression type Raw:
fl.getDocumentDOM().library.items[0].compressionType = "Raw";
,
,
"48kbps"
"56kbps"
for other compression types.
undefined
property cannot be set with this setting checked.
bitRate
bitRate
"2 bit"
,
,
, and
"MP3"
"Raw"
"8kbps"
,
,
"64kbps"
"80kbps"
value in the Output panel if the specified item in the
,
,
, and
"3 bit"
"4 bit"
.
"Speech"
,
,
"16kbps"
"20kbps"
,
,
"112kbps"
"128kbps"
.
"5 bit"
SoundItem object
,
, and
271

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash mx 2004 - actionscript

Table of Contents