Adobe Extending Flash Professional CS4 Manuale Utente Pagina 282

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 560
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 281
260
EXTENDING FLASH CS4 PROFESSIONAL
FLfile object
FLfile.copy()
Availability
Flash MX 2004 7.2.
Usage
FLfile.copy(fileURI, copyURI)
Parameters
fileURI A string, expressed as a file:/// URI, that specifies the file you want to copy.
copyURI A string, expressed as a file:/// URI, that specifies the location and name of the copied file.
Returns
A Boolean value of true if successful; false otherwise.
Description
Method; copies a file from one location to another. This method returns false if copyURI already exists.
Method Description
FLfile.copy() Copies a file.
FLfile.createFolder() Creates one or more folders.
FLfile.exists() Determines the existence of a file or folder.
FLfile.getAttributes() Finds out whether a file is writable, read-only, hidden, visible, or
a system folder.
FLfile.getCreationDate() Specifies how many seconds have passed between January 1,
1970 and the time the file or folder was created.
FLfile.getCreationDateObj() Gets the date a file or folder was created.
FLfile.getModificationDate() Specifies how many seconds have passed between January 1,
1970 and the time the file or folder was last modified.
FLfile.getModificationDateObj() Gets the date a file or folder was last modified.
FLfile.getSize() Gets the size of a file.
FLfile.listFolder() Lists the contents of a folder.
FLfile.platformPathToURI() Converts a filename in a platform-specific format to a file:/// URI.
FLfile.read() Reads the contents of a file.
FLfile.remove() Deletes a file or folder.
FLfile.setAttributes() Makes a file or folder read-only, writable, hidden, or visible.
FLfile.uriToPlatformPath() Converts a filename expressed as a file:/// URI to a platform-
specific format.
FLfile.write() Creates, writes to, or appends to a file.
Vedere la pagina 281
1 2 ... 277 278 279 280 281 282 283 284 285 286 287 ... 559 560

Commenti su questo manuale

Nessun commento