beautypg.com

Adobe Extending Flash Professional CS5 User Manual

Page 241

background image

219

EXTENDING FLASH PROFESSIONAL

flash object (fl)

Last updated 5/2/2011

fl.createNewDocList

Read-only; an array of strings that represent the various types of documents that
can be created.

fl.createNewDocListType

Read-only; an array of strings that represent the file extensions of the types of
documents that can be created.

fl.createNewTemplateList

Read-only; an array of strings that represent the various types of templates that
can be created.

fl.documents

Read-only; an array of Document objects (see

Document object

) that represent

the documents (FLA files) that are currently open for editing.

fl.drawingLayer

Read-only; the

drawingLayer object

that an extensible tool should use when the

user wants to temporarily draw while dragging.

fl.externalLibraryPath

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.

fl.flexSDKPath

A string that specifies the path to the Flex SDK folder, which contains bin,
frameworks, lib, and other folders.

fl.installedPlayers

Returns an array of generic objects corresponding to the list of installed Flash
Players in the document Property inspector.

fl.languageCode

Returns the five character code identifying the locale of the application’s user
interface.

fl.libraryPath

A string that contains a list of items in the global ActionScript 3.0 Library path,
which specifies the location of SWC files or folders containing SWC files.

fl.Math

Read-only; the

Math object

, which provides methods for matrix and point

operations.

fl.mruRecentFileList

Read-only; an array of the complete filenames in the Most Recently Used (MRU)
list that the Flash authoring tool manages.

fl.mruRecentFileListType

Read-only; an array of the file types in the MRU list that the Flash authoring tool
manages.

fl.packagePaths

A string that corresponds to the global Classpath setting in the ActionScript 2.0
Settings dialog box.

fl.publishCacheDiskSizeMax

An integer that sets the disk cache size limit preference.

fl.publishCacheEnabled

A boolean value that sets whether publish cache is enabled.

fl.publishCacheMemoryEntrySizeLim
it

An integer property that sets the maximum size for the memory cache entry
preference.

fl.publishCacheMemorySizeMax

An integer that sets the memory cache size limit preference.

fl.objectDrawingMode

An integer that represents the object drawing mode that is enabled.

fl.outputPanel

Read-only; reference to the

outputPanel object

.

fl.presetPanel

Read-only; a

presetPanel object

.

fl.scriptURI

Read-only; a string that represents the path of the currently running JSFL script,
expressed as a file:/// URI.

fl.sourcePath

A string that contains a list of items in the global ActionScript 3.0 Source path,
which specifies the location of ActionScript class files.

fl.swfPanels

An array of registered swfPanel objects (see

swfPanel object

).

Property

Description

This manual is related to the following products: