
You can compose your scripts in
a separate ActionScript (.as) file
and include them in your Flash
movie. This is a great way to
keep your Scripts organized, and
it also makes them easy to reuse
in other projects.
Create and Include an External ActionScript File
Create and Include an
External ActionScript File
244
CREATE THE SCRIPT FILE
1 Click File.
2 Click New.
The New Document dialog box
opens.
3 Click ActionScript File.
4 Click OK.
Flash creates a new file.
13_344743-ch10.qxp 12/18/08 11:17 PM Page 244