Adobe Extending Flash Professional CS4 Manuale Utente Pagina 419

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 560
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 418
397
EXTENDING FLASH CS4 PROFESSIONAL
SoundItem object
Usage
soundItem.quality
Description
Property; a string that specifies the playback quality of a sound in the library. This property is available only for the
MP3 compression type. Acceptable values are
"Fast", "Medium", and "Best".
If you want to specify a value for this property, set soundItem.useImportedMP3Quality to false.
Example
The following example sets the playback quality of an item in the library to
Best
if the item has the MP3 compression type:
fl.getDocumentDOM().library.items[0].quality = "Best";
See also
soundItem.compressionType
soundItem.sampleRate
Availability
Flash MX 2004.
Usage
soundItem.sampleRate
Description
Property; a string that specifies the sample rate for the audio clip. This property is available only for the ADPCM, Raw,
and Speech compression types. Acceptable values are
"5 kHz", "11 kHz", "22 kHz", and "44 kHz".
If you want to specify a value for this property, set soundItem.useImportedMP3Quality to false.
Example
The following example sets the sample rate of an item in the library to 5 kHz if the item has the ADPCM, Raw, or
Speech compression type:
fl.getDocumentDOM().library.items[0].sampleRate = "5 kHz";
See also
soundItem.compressionType
soundItem.sourceFileExists
Availability
Flash CS4 Professional.
Usage
soundItem.sourceFileExists
Vedere la pagina 418
1 2 ... 414 415 416 417 418 419 420 421 422 423 424 ... 559 560

Commenti su questo manuale

Nessun commento