Exporting and Previewing the Flash SWF
Once we have our animation in place, exporting it is pretty straightforward. We can export it to SWF, which can be viewed in a browser or opened in Flash for further editing. For this exercise, we'll simply save it to a SWF file. Here is how it's done:
- Start by selecting File > Export. In the Export dialog, choose the type or format to Flash (swf). Then click Export.
- In the next dialog, choose AI Layers to SWF Frames as the export type (see Figure 24). Then click the Advanced tab to select further options.
- Set the frame rate to 30 fps and check the box to animate blends (making sure that the In Sequence radio button is selected). Then change the Layer Order to Top Down and check the Export Static Layers box. Click the "base" layer to make sure that your background layer appears in every frame (see Figure 25).
- Click OK. The SWF file is saved to your hard disk. Then you can open a browser and view the animation.
Figure 24 Choosing this export mode creates an animation frame for each layer in the Illustrator file.
Figure 25 Use these settings for your animation file.