Adobe Extending Flash Professional CS4 Manuel d'utilisateur Page 533

  • 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 532
511
EXTENDING FLASH CS4 PROFESSIONAL
VideoItem object
Returns
A Boolean value of true if the file is exported successfully; false otherwise.
Description
Method; exports the specified item to an FLV file.
Example
Assuming that the first item in the Library is a video item, the following code exports it as an FLV file:
var videoFileURL = "file:///C|/out.flv";
var libItem = fl.getDocumentDOM().library.items[0];
libItem.exportToFLV(videoFileURL);
videoItem.fileLastModifiedDate
Availability
Flash CS4 Professional.
Usage
videoItem.fileLastModifiedDate
Description
Read-only property: a string containing a hexadecimal number that represents the number of seconds that have
elapsed between January 1, 1970, and the modification date of the original file (on disk) at the time the file was
imported to the library. If the file no longer exists, this value is "00000000".
Example
Assuming that the first item in the Library is a video item, the following code displays a hexadecimal number as
described above.
var libItem = fl.getDocumentDOM().library.items[0];
fl.trace("Mod date when imported = " + libItem.fileLastModifiedDate);
See also
videoItem.sourceFileExists, videoItem.sourceFileIsCurrent, videoItem.sourceFilePath,
FLfile.getModificationDate()
videoItem.sourceFileExists
Availability
Flash CS4 Professional.
Usage
videoItem.sourceFileExists
Vue de la page 532
1 2 ... 528 529 530 531 532 533 534 535 536 537 538 ... 559 560

Commentaires sur ces manuels

Pas de commentaire