Datasheet
Debugging a Movie
579
Book VIII
Chapter 1
Testing and
Debugging a
Flash Project
Figure 1-1: Testing a movie.
Previewing a Movie
Testing a movie is all well and good, but there comes a point when you
want to see what viewers will see on the Web. You can preview your movie
in the Flash Player or in a browser. To preview a Flash movie as your view-
ers will see it, choose File➪Publish Preview➪Default. This action publishes
the movie using the default Publish settings and displays it in the default
device. You can choose a different option from the Publish Preview menu.
The available options are those you select in the Publish Settings dialog box.
For example, if you choose to publish the document as a Flash SWF movie, a
JPEG image, and a Flash projector, those options appear on the menu.
Debugging a Movie
If you have gobs of ActionScript in a document, or even just a paragraph or
three, you can make sure that your code is performing flawlessly when you
debug a movie. The debugging interface differs depending on whether you’re
debugging a document with ActionScript 2.0 or ActionScript 3.0. The avail-
able options are identical.
45_385395-bk08ch01.indd 57945_385395-bk08ch01.indd 579 10/28/08 8:46:24 PM10/28/08 8:46:24 PM