MACROMEDIA DIRECTOR MX-USING DIRECTOR MX Use Manual page 387

Table of Contents

Advertisement

The best approach is to start simple and test your work frequently. When you get one part of a
script working, start writing the next part. This approach helps you identify bugs efficiently and
ensures that your Lingo is solid as you write more complex scripts.
For more information about debugging scripts, see "Troubleshooting Lingo".
Performing common tasks
The following are ways to perform common tasks for creating, attaching, and opening scripts.
To create a frame behavior (script attached to a frame):
Double-click the behavior channel in the frame that you want to attach a behavior to.
Behavior channel
When you create a new behavior, the behavior receives the cast number of the first available
location in the current Cast window.
When you create a new frame behavior, the Script window opens and already contains the line
on
, followed by a line with a blinking insertion point, and then a line with the word
.
exitFrame
end
This makes it easy for you to quickly attach a common behavior to the frame.
One of the most common frame behaviors is one that keeps the playhead looping in a single
frame. This can be useful when you want your movie to keep playing in a single frame while
waiting for the user to click a button or for a digital video or sound to finish playing.
Writing Scripts with Lingo 387

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Subscribe to Our Youtube Channel

This manual is also suitable for:

Director mx

Table of Contents