Adobe Extending Flash Professional CS4 Manuel d'utilisateur Page 534

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 560
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 533
512
EXTENDING FLASH CS4 PROFESSIONAL
VideoItem 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 video 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
videoItem.sourceFileIsCurrent, videoItem.sourceFilePath
videoItem.sourceFileIsCurrent
Availability
Flash CS4 Professional.
Usage
videoItem.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 video 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
videoItem.fileLastModifiedDate, videoItem.sourceFilePath
videoItem.sourceFilePath
Availability
Flash 8.
Usage
videoItem.sourceFilePath
Description
Read-only property; a string, expressed as a file:/// URI that specifies the path to the video item.
Vue de la page 533
1 2 ... 529 530 531 532 533 534 535 536 537 538 539 ... 559 560

Commentaires sur ces manuels

Pas de commentaire