Adobe Extending Flash Professional CS4 Bedienungsanleitung Seite 62

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 560
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 61
40
EXTENDING FLASH CS4 PROFESSIONAL
BitmapItem object
Example
Assuming the first item in the Library is a bitmap 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
bitmapItem.sourceFileIsCurrent,
bitmapItem.sourceFilePath
bitmapItem.sourceFileIsCurrent
Availability
Flash CS4 Professional.
Usage
bitmapItem.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 the first item in the Library is a bitmap 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
bitmapItem.fileLastModifiedDate, bitmapItem.sourceFilePath
bitmapItem.sourceFilePath
Availability
Flash CS4 Professional.
Usage
bitmapItem.sourceFilePath
Seitenansicht 61
1 2 ... 57 58 59 60 61 62 63 64 65 66 67 ... 559 560

Kommentare zu diesen Handbüchern

Keine Kommentare