Adobe Extending Flash Professional CS5 Uživatelský manuál Strana 412

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 565
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 411
390
EXTENDING FLASH PROFESSIONAL
SoundItem object
Last updated 5/2/2011
If you want to specify a value for this property, set soundItem.useImportedMP3Quality to false.
Example
The following example displays the bits value in the Output panel if the currently selected item in the library has the
ADPCM compression type:
alert(fl.getDocumentDOM().library.items[0].bits);
See also
soundItem.compressionType
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", "MP3", "Raw", and "Speech".
If you want to specify a value for this property, set soundItem.useImportedMP3Quality to false.
Example
The following example changes an item in the library to compression type Raw:
fl.getDocumentDOM().library.items[0].compressionType = "Raw";
The following example changes the compression type of the selected library items to Speech:
fl.getDocumentDOM().library.getSelectedItems().compressionType = "Speech";
See also
soundItem.originalCompressionType
soundItem.convertStereoToMono
Availability
Flash MX 2004.
Usage
soundItem.convertStereoToMono
Zobrazit stránku 411
1 2 ... 407 408 409 410 411 412 413 414 415 416 417 ... 564 565

Komentáře k této Příručce

Žádné komentáře