Adobe Extending Flash Professional CS4 Manuale Utente Pagina 294

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 560
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 293
272
EXTENDING FLASH CS4 PROFESSIONAL
FLfile object
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 293
1 2 ... 289 290 291 292 293 294 295 296 297 298 299 ... 559 560

Commenti su questo manuale

Nessun commento