Adobe Extending Flash Professional CS5 Manuel d'utilisateur Page 539

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 565
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 538
517
EXTENDING FLASH PROFESSIONAL
VideoItem object
Last updated 5/2/2011
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 538
1 2 ... 534 535 536 537 538 539 540 541 542 543 544 ... 564 565

Commentaires sur ces manuels

Pas de commentaire