Description
Property; available only for ADPCM, Raw, and Speech compression types. This value sets the
sample rate for the audio clip. Acceptable values are
.
kHz"
Note: When an MP3 is imported to the library, the Use imported MP3 quality Export setting is
checked by default. The sampleRate property cannot be set with this setting checked.
Example
The following example sets the sample rate of an item in the library to 5 kHz, if the item has
ADPCM, Raw, or Speech compression type:
fl.getDocumentDOM().library.items[0].sampleRate = "5 kHz";
soundItem.useImportedMP3Quality
Availability
Flash MX 2004.
Usage
soundItem.useImportedMP3Quality
Description
Property; a Boolean value. If
is used.
Example
The following example sets an item in the library to use the imported MP3 quality:
fl.getDocumentDOM().library.items[0].useImportedMP3Quality = true;
, all other properties are ignored and the imported MP3 quality
true
,
,
"5 kHz"
"11 kHz"
"22 kHz"
, and
"44
SoundItem object
273
Need help?
Do you have a question about the FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY and is the answer not in the manual?