Chapter 2. Objects

 < Day Day Up > 

This chapter briefly describes each of the objects available in the Flash JavaScript application programming interface (JavaScript API). The objects are listed in alphabetical order in the following table:

Object

Description

BitmapInstance object

The BitmapInstance object is a subclass of the Instance object and represents a bitmap in a frame.

BitmapItem object

A BitmapItem object refers to a bitmap in the library of a document. The BitmapItem object is a subclass of the Item object.

CompiledClipInstance object

The CompiledClipInstance object is a subclass of the Instance object.

ComponentInstance object

The ComponentInstance object is a subclass of the SymbolInstance object and represents a component in a frame.

componentsPanel object

The componentsPanel object, which represents the Components panel, is a property of the flash object (fl) and can be accessed by fl.componentsPanel.

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.

Effect object

The Effect object represents an instance of a timeline effect.

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; see 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.

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.

Project object

The Project object represents a Flash Project (FLP) file.

ProjectItem object

The ProjectItem object represents an item (file on disk) that has been added to a project.

Screen object

The Screen object represents a single screen in a slide or form document.

ScreenOutline object

The ScreenOutline object represents the group of screens in a slide or form document.

Shape object

The Shape object is a subclass of the Element object. The Shape object provides more precise control than the drawing APIs for manipulating or creating geometry on the Stage.

SoundItem object

The SoundItem object is a subclass of the Item object. It represents a library item used to create a sound.

Stroke object

The Stroke object contains all the settings for a stroke, including the custom settings.

SymbolInstance object

The SymbolInstance object is a subclass of the Instance object and represents a symbol in a frame.

SymbolItem object

The SymbolItem object is a subclass of the Item object.

Text object

The Text object represents a single text item in a document.

TextAttrs object

The TextAttrs object contains all the properties of text that can be applied to a subselection. This object is a subclass of the Text object.

TextRun object

The TextRun object represents a run of characters that have attributes that match all of the properties in the TextAttrs object.

Timeline object

The Timeline object represents the Flash timeline, which can be accessed for the current document by fl.getDocumentDOM().getTimeline().

ToolObj object

A ToolObj object represents an individual tool in the Tools panel.

Tools object

The Tools object is accessible from the Flash object (fl.tools).

Vertex object

The Vertex object is the part of the shape data structure that holds the coordinate data.

VideoItem object

The VideoItem object is a subclass of the Item object.

XMLUI object

The XMLUI object provides the ability to get and set properties of an XMLUI dialog box, and accept or cancel out of one.


     < Day Day Up > 


    Developing Extensions for Macromedia Flash 8
    Developing Extensions for Macromedia Flash 8
    ISBN: 032139416X
    EAN: 2147483647
    Year: 2005
    Pages: 81

    flylib.com © 2008-2017.
    If you may any questions please contact us: flylib@qtcs.net