Fl.documents; Fl.drawinglayer - MACROMEDIA FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY Manual

Flash javascript dictionary
Hide thumbs Also See for FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY:
Table of Contents

Advertisement

Description
Read-only property; an array of strings that represent the various types of templates that can be
created.
Example
The following example displays the types of templates that can be created in the Output panel.
fl.trace("Number of template types: " + fl.createNewTemplateList.length); for
(i = 0; i < fl.createNewTemplateList.length; i++) fl.trace("type: " +
fl.createNewTemplateList[i]);

fl.documents

Availability
Flash MX 2004.
Usage
fl.documents
Description
Read-only property; an array of
are currently open for editing.
Example
The following example stores an array of open documents in the
var docs = fl.documents;
The following example displays the names of currently open documents in the Output panel.
for (doc in fl.documents) {
fl.trace(fl.documents[doc].name);
}

fl.drawingLayer

Availability
Flash MX 2004.
Usage
fl.drawingLayer
Description
Read-only property; the
wants to temporarily draw while dragging (for example, when creating a selection marquee).
Example
See
drawingLayer.setColor()
168
Chapter 3: Objects
Document
objects that represent the documents (FLA files) that
drawingLayer object
that an extensible tool should use when the user
.
variable.
docs

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash mx 2004 - actionscript

Table of Contents