Adobe Extending Flash Professional CS4 Uživatelský manuál Strana 420

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 560
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 419
398
EXTENDING FLASH CS4 PROFESSIONAL
SoundItem object
Description
Read-only property: a Boolean value of true if the file that was imported to the Library still exists in the location from
where it was imported;
false otherwise.
Example
Assuming that the first item in the Library is a sound item, the following code displays "true" if the file that was
imported into the Library still exists.
var libItem = fl.getDocumentDOM().library.items[0];
fl.trace("sourceFileExists = "+ libItem.sourceFileExists);
See also
soundItem.sourceFileIsCurrent, soundItem.sourceFilePath
soundItem.sourceFileIsCurrent
Availability
Flash CS4 Professional.
Usage
soundItem.sourceFileIsCurrent
Description
Read-only property: a Boolean value of true if the file modification date of the Library item is the same as the
modification date on disk of the file that was imported;
false otherwise.
Example
Assuming that the first item in the Library is a sound item, the following code displays "true" if the file that was
imported has not been modified on disk since it was imported.
var libItem = fl.getDocumentDOM().library.items[0];
fl.trace("fileIsCurrent = "+ libItem.sourceFileIsCurrent);
See also
soundItem.fileLastModifiedDate, soundItem.sourceFilePath
soundItem.sourceFilePath
Availability
Flash CS4 Professional.
Usage
soundItem.sourceFilePath
Zobrazit stránku 419
1 2 ... 415 416 417 418 419 420 421 422 423 424 425 ... 559 560

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

Žádné komentáře