Fl.tools, Fl.trace() – Adobe Extending Flash Professional CS4 User Manual
Page 279
257
EXTENDING FLASH CS4 PROFESSIONAL
flash object (fl)
See also
fl.revertDocumentToLastVersion()
fl.tools
Availability
Flash MX 2004.
Usage
fl.tools
Description
Read-only property; an array of Tools objects (see
). This property is used only when creating extensible
tools.
fl.trace()
Availability
Flash MX 2004.
Usage
fl.trace(message)
Parameters
message
A string that appears in the Output panel.
Returns
Nothing.
Description
Method; sends a text string to the Output panel, terminated by a new line, and displays the Output panel if it is not
already visible. This method is identical to
and works in the same way as the
trace()
statement in ActionScript.
To send a blank line, use
fl.trace(""
) or
fl.trace("\n")
. You can use the latter command inline, making
\n
a part
of the message string.
Example
The following example displays several lines of text in the Output panel: