Now you can begin scripting.
Get into your first Movie Script window by pressing COMMAND+SHIFT+U
(Mac) or CONTROL+SHIFT+U (Win). Into this window, type the following:
on StartMovie
CheckColor()
END StartMovie
Press RETURN (not ENTER — for the purposes of this document, RETURN is
defined as the main key just above SHIFT on the alpha keyboard; ENTER
exists on the numeric keypad) after each line, including the last one.
Note that Director automatically indents for you.
What you have just done is define a handler — a series of steps contained inside a function defined by the on and END keywords . This is an extremely simple handler; all it does is call another handler, at least right at the moment.
|