Summary of the DOM structure
The following list displays the DOM structure in outline format. Numbers at the beginning of
each line represent the level of an object. For example, an object preceded by "03" is a child of
next highest "02" object, which, in turn, is a child of the next highest "01" object.
In some cases, an object is available by specifying a property of its parent object. For example, the
document.timelines
noted in the following outline.
Finally, some objects are subclasses of other objects, rather than being children of other objects.
An object that is a subclass of another object has methods and/or properties of its own in addition
to the methods and properties of the other object (the superclass). Subclasses share the same level
in the hierarchy as their superclass. For example, Item is a superclass of BitmapItem. These
relationships are illustrated in the following outline:
01
Top-level functions
01
flash object
02
componentsPanel object
02
Document object (fl.documents
03
Matrix object
03
Fill object
03
Stroke object
03
library object
04
Item object (library.items
04
BitmapItem object
04
folderItem object
04
fontItem object
04
SoundItem object
04
SymbolItem object
04
VideoItem object
03
Timeline object (document.timelines
04
Layer object (timeline.layers
05
Frame object (layer.frames
06
06
06
06
06
06
06
06
06
06
22
Chapter 1: Introduction
property contains an array of
(subclass of
(subclass of
(subclass of
(subclass of
(subclass of
(subclass of
Element object (frame.elements
07
Matrix object
(Element.matrix)
Instance object
(abstract class, subclass of
BitmapInstance object
CompiledClipInstance object
ComponentInstance object
07
Parameter object
EmbeddedVideoInstance object
LinkedVideoInstance object
SymbolInstance object
Text object
(subclass of
07
TextRun object (text.textRuns
08
TextAttrs object (textRun.textAttrs
Shape object
(subclass of
07
Contour object (shape.contours
08
HalfEdge object
09
Vertex object
09
Edge object
07
Edge object (shape.edges
08
HalfEdge object
objects. These properties are
Timeline
array)
array)
Item
object)
Item
object)
Item
object)
Item
object)
Item
object)
Item
object)
array)
array)
array)
array)
(subclass of
Instance
(subclass of
(subclass of
(ComponentInstance.parameters)
(subclass of
(subclass of
(subclass of
Instance
Element
object)
array)
Element
object)
array)
array)
Element
object)
object)
Instance
object)
SymbolInstance
object)
Instance
object)
Instance
object)
object)
array)
Need help?
Do you have a question about the FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY and is the answer not in the manual?
Questions and answers