Game Development Reference
4. Click the empty keyframe on the foreground layer to select it, as shown in Figure 2-20.
Figure 2-20. Make sure that the keyframe in the foreground layer is selected.
You're now ready to draw something on the foreground layer.
Drawing the foreground objects
Now that you've created a new layer for the foreground objects, let's draw something on it. One of
the great pleasures of working with Flash is that you can create simple but effective graphics very
easily using its built-in vector drawing tools. Put together a few circles and squares in the right way,
and even if you think you don't have much design talent, you might still be able to come up with
something fun and colorful.
Before you start, you might want to switch on one of Flash's snapping options. With snapping turned
on, Flash will assist you in aligning objects by “snapping” them in place next to other objects. There
are a number of different snapping options to choose from, but for this project, use Snap to Objects .
To turn on Snap to Objects , select View ° Snapping ° Snap to Objects . You can also turn on snapping
by clicking the Snap to Objects button in the toolbar (it looks like a magnet and is on the right side of
If you ever make a mistake while doing any of these drawings, simply undo your last
move by selecting Edit ° Undo . If you're using OSX, hold down the Apple key and press
Z ; if you're using Windows, hold down Ctrl and press Z . Flash will allow you to undo up
to 100 times, and you can increase this number in Preferences if you need to.