Adobe Extending Flash Professional CS5 Manuale Utente Pagina 298

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 565
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 297
276
EXTENDING FLASH PROFESSIONAL
FLfile object
Last updated 5/2/2011
FLfile.uriToPlatformPath()
Availability
Flash CS4 Professional.
Usage
FLfile.uriToPlatformPath(fileURI)
Parameters
fileURI A string, expressed as a file:/// URI, specifying the filename you want to convert.
Returns
A string representing a platform-specific path.
Description
Method; converts a filename expressed as a file:/// URI to a platform-specific format.
Example
The following example converts a file:/// URI to a platform-specific format:
var dir =(fl.configDirectory);
var URI = FLfile.platformPathToURI(dir);
fl.trace(URI == fl.configURI); // displays "true"
See also
FLfile.platformPathToURI()
FLfile.write()
Availability
Flash MX 2004 7.2.
Usage
FLfile.write(fileURI, textToWrite, [ , strAppendMode])
Parameters
fileURI A string, expressed as a file:/// URI, specifying the file to which you want to write.
textToWrite A string representing the text you want to place in the file.
strAppendMode An optional string with the value "append", which specifies that you want to append textToWrite to
the existing file. If omitted, fileURI is overwritten with textToWrite.
Returns
A Boolean value of true if successful; false otherwise.
Vedere la pagina 297
1 2 ... 293 294 295 296 297 298 299 300 301 302 303 ... 564 565

Commenti su questo manuale

Nessun commento