Adobe Extending Flash Professional CS5 Manual de usuario Pagina 539

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 565
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 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
Vista de pagina 538
1 2 ... 534 535 536 537 538 539 540 541 542 543 544 ... 564 565

Comentarios a estos manuales

Sin comentarios