MACROMEDIA FLASH 8-EXTENDING FLASH Manual page 17

Extending flash
Table of Contents

Advertisement

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, the Item object is a superclass
of the BitmapItem object (see
illustrated in the following outline:
01
Top-Level Functions and Methods
01
FLfile object
01
flash object (fl)
02
componentsPanel object
02
Document object
03
Filter object
03
Matrix object
03
Fill object
03
Stroke object
03
library object
04
Item object
04
BitmapItem object
04
folderItem object
04
fontItem object
04
SoundItem object
04
SymbolItem object
04
VideoItem object
03
Timeline object
04
Layer object
05
Frame object
06
Element object
07
Matrix object
Item object
(
array)
fl.documents
(
array
library.items
(subclass of
Item
(subclass of
Item
(subclass of
Item
(subclass of
Item
(subclass of
Item
(subclass of
Item
(
document.timelines
(
timeline.layers
(
array
layer.frames
(frame.elements
(Element.matrix)
and
BitmapItem
object). These relationships are
)
object)
object)
object)
object)
object)
object)
array
)
array)
)
array)
The Flash Document Object Model
17

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash 8

Table of Contents