View comments | RSS feed

SoundItem object

Inheritance Item object > SoundItem object

Availability

Flash MX 2004.

Description

The SoundItem object is a subclass of the Item object. It represents a library item used to create a sound. See also frame.soundLibraryItem and Item object.

Property summary for the SoundItem object

In addition to the Item object properties, the following properties are available for the SoundItem object:

Property

Description

soundItem.bitRate

A string that specifies the bit rate of a sound in the library. Available only for the MP3 compression type.

soundItem.bits

A string that specifies the bits value for a sound in the library that has ADPCM compression.

soundItem.compressionType

A string that specifies the compression type for a sound in the library.

soundItem.convertStereoToMono

A Boolean value available only for MP3 and Raw compression types.

soundItem.quality

A string that specifies the playback quality of a sound in the library. Available only for MP3 compression type.

soundItem.sampleRate

A string that specifies the sample rate for the audio clip.

soundItem.useImportedMP3Quality

A Boolean value; if true, all other properties are ignored, and the imported MP3 quality is used.


Flash CS3


Comments


wjames5 said on Mar 11, 2008 at 1:31 PM :
Hi - is there no way to get the duration of a SoundItem? Hope there is some way around this you can tell me about. Thanks.
djtechwriter said on Mar 13, 2008 at 5:00 PM :
I'm pretty sure not. It would depend on the size and sample rate.

 

RSS feed | Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/flash/9.0/main/00004395.html