Extending Flash |
|
|
|
| Objects > SoundItem object > soundItem.compressionType | |||
Flash MX 2004.
soundItem.compressionType
Property; a string that specifies that compression type for a sound in the library. Acceptable values are "Default", "ADPCM", "MP3", "Raw", and "Speech".
|
NOTE |
If you want to specify a value for this property, set |
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";
|
|
|
|