MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING Reference page 90

Director scripting reference
Table of Contents

Advertisement

Like the Script window, the Message window contains pop-up menus of scripting commands.
When you select a command from one of the pop-up menus, the command appears in the
Message window with the first argument that you must provide selected. Several menus are
provided to give you easy access to the whole catalog of scripting terms.
The pop-up menus include the following:
Alphabetical Lingo includes all commands except 3D Lingo, presented in an alphabetical list.
Categorized Lingo includes all commands except 3D Lingo, presented in a categorized list.
Alphabetical 3D Lingo includes all 3D Lingo, presented in an alphabetical list.
Categorized 3D Lingo includes all 3D Lingo, presented in a categorized list.
Scripting Xtra extensions includes the methods and properties of all scripting Xtra extensions
found, regardless of whether they are Macromedia or third-party Xtra extensions.
Note: The scripting Xtra extensions listed in the Scripting Xtras pop-up menu are only those that
support the
interface()
some cast member media types such as 3D and DVD also support the
not appear in the Scripting Xtras pop-up menu because they are not implemented in Director as
scripting Xtra extensions.
Monitoring scripts in the Message window
You can set the Output pane of the Message window to display a record of the statements that a
movie executes as it plays. This is useful for tracking the flow of your code and seeing the result of
specific statements. You can do this in one of two ways.
To display statements in the Output pane, do one of the following:
On the Message window, click Trace.
Set the Movie object's
Entries after a double equal sign (==) indicate what has occurred in the movie—such as which
frame the movie has just entered, which script is running, or the result of a method or setting
a value.
For example, the following line indicates several things:
== Frame: 39 Script: 1 Handler: mouseUp
The movie entered frame 39.
The movie ran script 1, the first script attached to the frame.
The movie ran the
90
Chapter 4: Debugging Scripts in Director
method and whose names actually appear in the pop-up menu. Although
property to
traceScript
handler in script 1 after the movie entered the frame.
mouseUp
interface()
.
TRUE
method, they do

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DIRECTOR MX 2004-DIRECTOR SCRIPTING and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Director mx 2004

Table of Contents