User Guide

39
2
CHAPTER 2
Objects
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.