Adobe Extending Flash Professional CS4 Manuale Utente Pagina 421

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 560
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 420
399
EXTENDING FLASH CS4 PROFESSIONAL
SoundItem object
Description
Read-only property: a string, expressed as a file:/// URI, that represents the path and name of the file that was imported
into the Library.
Example
The following example displays the name and source file path of any items in the library that are of type "sound":
for (idx in fl.getDocumentDOM().library.items) {
if (fl.getDocumentDOM().library.items[idx].itemType == "sound") {
var myItem = fl.getDocumentDOM().library.items[idx];
fl.trace(myItem.name + " source is " + myItem.sourceFilePath);
}
}
See also
soundItem.sourceFileExists
soundItem.useImportedMP3Quality
Availability
Flash MX 2004.
Usage
soundItem.useImportedMP3Quality
Description
Property; a Boolean value. If true, all other properties are ignored, and the imported MP3 quality is used.
Example
The following example sets an item in the library to use the imported MP3 quality:
fl.getDocumentDOM().library.items[0].useImportedMP3Quality = true;
See also
soundItem.compressionType
Vedere la pagina 420
1 2 ... 416 417 418 419 420 421 422 423 424 425 426 ... 559 560

Commenti su questo manuale

Nessun commento