Adobe Extending Flash Professional CS4 Manual do Utilizador Página 253

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 560
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 252
231
EXTENDING FLASH CS4 PROFESSIONAL
flash object (fl)
Example
The following example downloads the file named myFile.fla from the Version Cue server:
fl.downloadLatestVersion("file:///C|/MyFiles/Version Cue/docs/myFile.fla");
See also
document.synchronizeWithHeadVersion(), fl.revertDocumentToLastVersion(),
fl.saveAVersionOfDocument(), fl.synchronizeDocumentWithHeadVersion()
fl.drawingLayer
Availability
Flash MX 2004.
Usage
fl.drawingLayer
Description
Read-only property; the drawingLayer object that an extensible tool should use when the user wants to temporarily
draw while dragging (for example, when creating a selection marquee).
Example
See drawingLayer.setColor().
fl.externalLibraryPath
Availability
Flash CS4 Professional.
Usage
fl.externalLibraryPath
Description
Property; a string that contains a list of items in the global ActionScript 3.0 External library path, which specifies the
location of SWC files used as runtime shared libraries. Items in the string are delimited by semi-colons. In the
authoring tool, the items are specified by choosing Edit
> Preferences > ActionScript > ActionScript 3.0 Settings.
Example
The following example adds the /SWC_runtime folder to the global ActionScript 3.0 External library path:
fl.trace(fl.externalLibraryPath);
fl.externalLibraryPath = "/SWC_runtime;" + fl.externalLibraryPath;
fl.trace(fl.externalLibraryPath);
See also
fl.flexSDKPath, fl.libraryPath, fl.sourcePath, document.externalLibraryPath
Vista de página 252
1 2 ... 248 249 250 251 252 253 254 255 256 257 258 ... 559 560

Comentários a estes Manuais

Sem comentários