MACROMEDIA DIRECTOR MX-USING DIRECTOR MX Use Manual page 439

Table of Contents

Advertisement

To organize objects in the Watcher pane, do one of the following:
To sort the objects in the Watcher pane, click the Name column head at the top of the left
column. The object names in the column are listed in alphabetical order.
To sort the objects in reverse-alphabetical order, click the Name column head a second time.
To organize objects into groups, use the tabs in the Watcher pane. To add an object to a
specific tab, click the tab you want to use before adding the object.
To clear the contents of a tab in the Watcher pane, select the tab and then right-click
(Windows) or Control-click (Macintosh) in the Watcher pane and select Clear All.
Stepping through scripts
The Debugger window provides you with a set of tools for running scripts slowly, so you can
watch the effect that each line of Lingo has on your movie. You can execute one line of Lingo at a
time and choose whether to execute nested handlers one line at a time or all at once.
To execute only the current line of Lingo indicated by the green arrow:
Click the Step Script button.
Many handlers include calling statements to other handlers. You can focus your attention on such
nested handlers, or ignore them and focus on Lingo in the current handler.
When you are confident that nested handlers are performing as expected and want to concentrate
on Lingo in the current handler, the Debugger window can step over nested handlers and go
directly to the next line of Lingo in the current handler. When the Debugger steps over a
nested handler, it executes the handler, but does not display the handler's code or pause within
the nested handler.
To step over nested handlers:
Click the Step Script button in the Debugger window.
The Step Script button runs the current line of Lingo, runs any nested handlers that the line
calls, and then stops at the next line in the handler.
If you suspect that nested handlers aren't performing as expected and want to study their behavior,
the Debugger window can run nested handlers line-by-line as well.
To run nested handlers one line at a time:
Click the Step Into Script button in the Debugger window.
Clicking the Step Into button runs the current line of Lingo and follows the normal Lingo flow
through any nested handlers called by that line. When finished with a nested handler, the
Debugger window stops at the next line of Lingo within the upper-level handler.
When you are finished debugging, you can exit the Debugger at any time:
To resume normal execution of Lingo and exit the Debugger window, click the Run Script
button.
To exit the Debugger and stop playback of the movie, click the Stop Debugging button.
Writing Scripts with Lingo 439

Advertisement

Table of Contents
loading

This manual is also suitable for:

Director mx

Table of Contents