Adobe Extending Flash Professional CS4 Manuale Utente Pagina 415

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 560
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 414
393
EXTENDING FLASH CS4 PROFESSIONAL
SoundItem object
soundItem.bitRate
Availability
Flash MX 2004.
Usage
soundItem.bitRate
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
"8 kbps", "16 kbps", "20 kbps", "24 kbps", "32 kbps", "48 kbps", "56
kbps", "64 kbps", "80 kbps", "112 kbps", "128 kbps", and "160 kbps". Stereo sounds exported at 8 Kbps or 16
Kbps are converted to mono. The property is
undefined for other compression types.
If you want to specify a value for this property, set soundItem.useImportedMP3Quality to false.
Example
The following example displays the bitRate value in the Output panel if the specified item in the library has the MP3
compression type:
alert(fl.getDocumentDOM().library.items[0].bitRate);
See also
soundItem.compressionType, soundItem.convertStereoToMono
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
"2 bit", "3 bit", "4 bit", and "5 bit".
soundItem.sourceFileIsCurrent Read-only; a Boolean value that specifies whether the file modification date
of the Library item is the same as the modification date on disk of the file
that was imported.
soundItem.sourceFilePath Read-only; a string, expressed as a file:/// URI, that represents the path and
name of the file that was imported into the Library.
soundItem.useImportedMP3Quality A Boolean value; if true, all other properties are ignored, and the imported
MP3 quality is used.
Property Description
Vedere la pagina 414
1 2 ... 410 411 412 413 414 415 416 417 418 419 420 ... 559 560

Commenti su questo manuale

Nessun commento