Extending Flash |
|
|
|
| Introduction > The Flash Document Object Model | |||
The Flash Document Object Model (DOM) for the Flash JavaScript API consists of a set of top-level functions (see Top-Level Functions and Methods) and two top-level objects--the FLfile object and the flash object (fl). Each object is guaranteed to be available to a script because it always exists when the Flash authoring environment is open. For more information, see FLfile object and flash object (fl).
When referring to the flash object, you can use flash or fl. For example, to close all open FLA files, you can use either of the following statements:
flash.closeAll(); fl.closeAll();
The flash object contains the following child objects:
|
Object |
How to access |
|---|---|
|
Use |
|
|
Use |
|
|
Use |
|
|
Use |
|
|
Use |
|
|
Use |
|
|
Use |
|
|
Use |
|
|
Use |
|
|
Use |
|
|
Use |
This section describes the following topics:
|
|
|
|