beautypg.com

Adobe Extending Flash Professional CS4 User Manual

Page 30

background image

8

EXTENDING FLASH CS4 PROFESSIONAL

Introduction

Contour object

A Contour object represents a closed path of half edges on the boundary of
a shape.

Document object

The Document object represents the Stage.

drawingLayer object

The drawingLayer object is accessible from JavaScript as a child of the flash
object.

Edge object

The Edge object represents an edge of a shape on the Stage.

Element object

Everything that appears on the Stage is of the type Element.

Fill object

The Fill object contains all the properties of the Fill color setting of the Tools
panel or of a selected shape.

Filter object

The Filter object contains all the properties for all filters.

flash object (fl)

The flash object represents the Flash application.

FLfile object

The FLfile object lets you write Flash extensions that can access, modify, and
remove files and folders on the local file system.

folderItem object

The folderItem object is a subclass of the Item object.

fontItem object

The fontItem object is a subclass of the Item object.

Frame object

The Frame object represents frames in the layer.

HalfEdge object

Directed side of the edge of a Shape object.

Instance object

The Instance object is a subclass of the Element object.

Item object

The Item object is an abstract base class.

Layer object

The Layer object represents a layer in the timeline.

library object

The library object represents the Library panel.

Math object

The Math object is available as a read-only property of the flash object
(

fl.Math

).

Matrix object

The Matrix object represents a transformation matrix.

outputPanel object

The outputPanel object represents the Output panel, which displays
troubleshooting information such as syntax errors. It is a property of the flash
object (

fl.outputPanel

).

Oval object

The Oval object is a shape that is drawn using the Oval tool. To determine if
an item is an Oval object, use

shape.isOvalObject

.

Parameter object

The Parameter object type is accessed from the

screen.parameters

array

(which corresponds to the screen Property inspector in the Flash authoring
tool) or by the

componentInstance.parameters

array (which

corresponds to the component Property inspector in the authoring tool).

Path object

The Path object defines a sequence of line segments (straight, curved, or
both), which you typically use when creating extensible tools.

presetItem object

The presetItem object represents an item (preset or folder) in the Motion
Presets panel.

presetPanel object

The presetPanel object represents the Motion Presets panel (Window >
Motion Presets). It is a property of the flash object (

fl.presetPanel

).

Object

Description