Creating Original Artwork

Before you can create an animation, you have to have something to animate. You start with one drawing and then create a bunch more (often by altering the first drawing slightly). For example, if you want to create an animation showing a raccoon marching in place, you need to draw a picture of a raccoon standing still; another picture of the same raccoon lifting its left foot; and still more pictures showing the raccoon putting its left foot down, lifting its right foot, and so on. Put them all together using Flash's timeline (Chapter 3), and you've got yourself an animation.

Note

You're not limited to using your own drawings. Flash lets you import, or pull in, existing drawings and photos—and even sound and video clips. Moving Bones shows you how to import files.

This section shows you how to use basic Flash tools to create a simple stick person drawing. You'll see the Line, Pencil, Pen, Brush, and shape tools (Oval, Rectangle, and PolyStar) in action and learn the differences among them (some are better for creating certain effects than others). You'll also find out how to add color to a Flash drawing and how to erase your mistakes.

One of the true beauties of creating digital artwork—besides not having to clean up a mess of paint spatters and pencil shavings—is that you don't have to track down your art supplies—the one pen that feels good in your hand, the right kind of paper, the sable brush that smells like paint thinner. Instead, all you need to do is display Flash's Tools panel.

In this section, you'll see Flash's drawing and painting tools in action: the Line, Pen, Pencil, Brush, and shape tools. You'll have a chance to use the Selection, Subselection, and Lasso tools. And finally, you'll get a quickie introduction to color—specifically, how to change the colors of strokes and fills.

You use the Line tool in Flash to draw nice, straight lines—perfect all by themselves or for creating fancy shapes like exploding suns and spiky fur.

Make sure you're in object drawing mode, and then follow these steps to start drawing your stick figure using the Line tool:

  1. In the Tools panel, click the Line tool, as shown in Figure 2-13.

    Flash highlights the Line tool in the Tools palette to let you know you've successfully selected it. When you move your cursor over the stage, you see it's turned into crosshairs.

  2. Click anywhere on the stage and drag to create a short horizontal line. To end your line, let go of the mouse.

    Your line (technically called a stroke) appears on the stage.

  3. Click above the horizontal line, and drag down to create a vertical line.

    The result is a cross. Next, you'll add legs by drawing diagonal lines.

  4. Click the bottom of the vertical line and drag down and to the left; then click the bottom of the vertical line again and drag down and to the right.

    Figure 2-13 shows the result. It doesn't look like much yet, but it's actually the basis for a stick figure you'll create as you experiment with Flash's drawing and painting tools in the following sections.

The Pencil tool lets you draw free-form strokes on the stage, similar to the way you draw using a regular pencil on a regular sheet of paper. Unlike the Line tool, the Pencil tool doesn't make you stick to the straight and narrow, so it lends itself to curving lines and fine details, like hands and faces. Here's how to use the Pencil tool:

Here are some tips for drawing with the Pencil tool:

If you want to create a complex shape consisting of a lot of perfect arcs and a lot of perfectly straight lines, then the Pen tool is your best choice.

To create straight lines with the Pen tool, click the stage to create anchor points, which Flash automatically connects using perfectly straight segments. The more times you click, the more segments Flash creates—and the more precisely you can modify the shape you draw, since you can change each point and segment individually (see Chapter 5). When you want to stop creating anchor points, double-click the mouse or press the Esc key.

If you drag the Pen tool (instead of just clicking), the Pen lets you create perfectly curved arcs.

As you can see in the Tools panel in Figure 2-15, the Pen tool icon looks like the nib of an old-fashioned fountain pen.

To draw a straight line with the Pen tool:

  1. Select the Pen tool.

    Your cursor changes into a miniature pen nib.

  2. Click the stage, move your cursor an inch or so to the right, and then click again.

    Two anchor points appear, connected by a straight segment.

  3. Move the cursor again, stopping where you want to anchor the line, and then change direction again.

    Figure 2-15 shows the results of several clicks. Flash keeps connecting each anchor point every time you click the stage. To break a line and start a new one, double-click where you want the first line to end.

To draw a curve with the Pen tool:

  1. Select the Pen tool.

    Your cursor changes into a miniature pen nib.

  2. Click the stage once, and then move your cursor an inch or so to the right.

    A single anchor point appears.

  3. Click again, but this time, without letting go of the mouse button, drag the cursor around.

    As you drag, the anchor point you create sprouts two control lines, and your cursor turns into an arrow. As you can see in Figure 2-16, something different is happening. Flash displays a preview curve and a control line that lets you adjust the angle of the curve. Drag the end of the control line, and the shape of the curve changes.

  4. Release the mouse button.

    When you let go of the mouse button, Flash draws the curve on the stage. The control lines disappear when you choose another tool. Using the Pen tool, you can create both straight lines and curves, as shown in Figure 2-17.

  5. Continue drawing connected lines by clicking other points on the stage.

    Click, move, and click to draw straight lines. Click, move, and drag to create curves. Adjust the curves using the handles on the end of the curve control lines. If you've never used tools like these before, don't worry; you'll get better with a little practice.

  6. Create a closed loop shape by clicking the first point you created in step 2.

    When the cursor is over a point that closes the loop, you see a small circle to the right of the Pen tool cursor.

  7. Once you feel comfortable drawing straight lines and curved lines, use curves to create a cartoon head, similar to the one in Figure 2-17. Then use straight lines to make a hat for your creation.

Drawing curves can be a bit tough until you get the hang of controlling the shape of the curves as you draw. One of the great things about the Pen tool is that you can make adjustments after the fact. Here are some tips for working with the Pen tool:

Once you get used to the Pen tool's drawing system, you'll find that you can draw very precise shapes. (Plus, all your practice with the Pen tool will pay off if you ever use Adobe Illustrator or similar programs that use the same Bezier curves to draw complex shapes.)

You use the Brush tool to create free-form drawings, much like the Pencil tool described on Pencil tool. The differences between the two include the following:

Note

The Brush tool really shows its stuff when you use it with a graphics tablet, as described in the box on Mouse vs. Graphics Tablet. That's because the Brush tool makes great use of the tablet's ability to sense pressure. Press hard for thick, bold lines. Lessen the pressure for thin, delicate lines. With practice, you can create great calligraphic effects.

To use the Brush tool:

  1. On the Tools panel, click the Brush tool (the little paintbrush icon).

    Flash displays your Brush options—including Brush Mode, Brush Size, and Brush Shape—in the Options section of the Tools panel. If you have a graphics tablet, you also see Brush Pressure and Use Tilt buttons.

  2. From the Brush Size drop-down menu (Figure 2-18), select the third- or fourth-smallest brush size.

    The larger brushes let you paint great, sweeping strokes on the stage. But in this example, you'll be drawing hairs on your fellow's head, so a modest brush size is more appropriate. Your cursor changes to reflect your choice (you can see this change if you mouse over the stage).

  3. From the Brush Shape drop-down menu, choose the round brush shape.

    Each brush shape gives you a dramatically different look. To draw hair, as in this example, you may choose round because it most closely approximates the results you get with a real brush. Once again, your cursor changes to reflect your choice.

  4. Click the down arrow next to Brush Mode, and then, from the pop-up menu that appears, choose Paint Normal.

    Brush modes change the way the Brush tool paints over or under strokes and fills already in your drawing. Figure 2-19 shows the different effects. Here you choose Paint Normal to draw hair that shows over the head shape and the hat. Later, you'll see how to tuck that hair under the hat.

    Here's a rundown of all the brush modes you can choose from:

  5. Click the stage just about where your stick person's hair should be and drag your mouse upward; release the mouse button when the hair is the length you want it.

    Your paintbrush stroke appears on the stage.

  6. Repeat to create additional locks of hair.

    You should see a result similar to the one shown in Figure 2-19.

When you draw in object mode, each part of your drawing (the head, the hat, the hair) is an object, and you can place it in front of or behind the other objects. Imagine that the head, hat, and hair are each cardboard cutouts that you're placing on your desktop. You set them down so that the head is at the bottom, the hair cutout covers the top of the head, and the hat covers part of the hair. Perfect! Flash works the same way. When you draw objects, Flash places each new object in front of the last. But what if you don't draw them in the proper order? Suppose, in the cartoon face example, that you drew the hair on top of the hat? Flash can help. Follow these steps to move the hat to the front.

  1. With the Selection tool, click the hat's outline.

    Before you can rearrange the stacking order, you need to select an object to move.

  2. Go to Modify→Arrange→Bring to Front or press Shift+Ctrl+up arrow (Windows) or Option-Shift-up arrow (Mac) to move the hat to the front.

    The hat moves in front of both the head shape and the hair, as shown in Figure 2-20. You can still move the hat, hair, or head around the stage with the Selection tool. They stay in the same stacking order (head on bottom, hair in middle, hat on top) until you make another change using the Modify→Arrange commands.

There are four commands that help you arrange the stacking order of the objects you've drawn:

As an alternative to using menu commands, you can select an object and then use Ctrl+up arrow or Ctrl+down arrow (⌘-up arrow or ⌘-down arrow) to move the selected object forward or backward. Add the Shift key (Shift+Ctrl+up arrow or Shift+Ctrl+down arrow for PCs; Shift-⌘-up arrow or Shift-⌘-down arrow for Macs) to move all the way to the front or all the way to the back.

Flash gives you a quick way to create basic shapes: the Oval tool, which lets you draw everything from a narrow cigar shape to a perfect circle; the Rectangle tool, which lets you draw rectangles, from long and skinny to perfectly square; and the PolyStar tool, which you can use to create multisided polygons (the standard five-sided polygon, angled correctly, creates a not-too-horrible side view of a house) and star shapes.

You can see the Oval, Rectangle, and PolyStar tools in Figure 2-21; Figure 2-22 shows you how to configure the PolyStar tool.

To create a shape:

  1. Click the shape tool you want (choose from Oval, Rectangle, or PolyStar, as shown in Figure 2-21).

    Your cursor changes into a cross.

  2. Click the stage where you want to start your shape, and then drag your cursor to form the shape. When you're satisfied with the way your shape looks, release your mouse button.

    Flash displays your shape on the stage.

Sometimes dragging stuff around the stage and eyeballing the result works just fine. Other times, you want to position your graphic elements with pinpoint precision. Using the Align panel, you can align graphic elements based on their edges (top, bottom, right, left) or by their centers. And you can base this alignment on the objects themselves (for example, you can line up the tops of all your objects) or relative to the stage (useful if you want to position, say, several Freddy Flash heads precisely at the bottom of the stage, as shown in Figure 2-23). You can even distribute individual objects evenly with respect to one another.

To display the Align panel, select Window→Align or press Ctrl+K (Windows) or ⌘-K (Mac).

Only in the digital realm does an eraser work so effectively. Try erasing a goof on paper or canvas, and you not only have shredded eraser everywhere, but you're also left with ghostly streaks of paint, lead, or charcoal.

No so in Flash. Using the Eraser tool (Figure 2-24), you can effectively wipe anything off the stage, from a little speck to your entire drawing.

To use the Eraser tool:

Flash has a ton of Eraser modes you can use to control how the Eraser tool works (and what it erases). To see them, click the Erase Mode button in the Options area (Figure 2-25), and then, from the fly-out menu that appears, select one of the following modes.

You can cut an irregular shape out of the middle of an object using the Eraser tool. If you're going for precision, for example, then you can use an eraser with a small head to outline the area you're erasing and then use the Faucet tool to quickly erase the rest. For example, say you want to draw a donut. Here's how: