Preparing to Draw

Even if you're familiar with animation software (but especially if you aren't), you need to know a few quick things before you roll up your sleeves and dive into Flash—sort of like the quick where's-the-turn-signal once-over you do when you jump into a rental car for the first time.

In this section, you'll find out how to get around the stage and how to customize your Flash document's properties. You'll also learn a couple of basic Flash terms you need to understand before you use the drawing tools (which you'll see how to do on Creating Original Artwork).

But first you need to open a new Flash document page so you can follow along at home. To do so, launch Flash. Unless you've turned it off (Starting Flash), the first thing you see is Flash's Welcome screen. Under Create New, choose Flash File (ActionScript 3.0). If you've turned off the Welcome screen, you can create a new file using the Flash main menu. Here's how:

  1. From the main menu, choose File→New.

    The New Document window opens. If the window doesn't show the General tab, as in a Figure 2-2 then click that tab to make it active.

  2. In the Type list, select the type of new file you want to create, and then click OK.

    (If you're not sure what file type you want, choose ActionScript 3.0; see the box on Understanding Flash File Formats for the reason why.) The New Document window disappears, and Flash displays a brand-new blank document. You can tell it's a new document by the name Flash gives it—for example, Untitled-1.

The stage, as you may recall from Chapter 1, is your electronic canvas: It's where you draw your lines and shapes and add your text. Figure 1-1 shows what the stage looks like the first time you create a new document in Flash. There's certainly nothing wrong with it, but you may want to change the size or color. Or, as described on Adding Measurement Guides, you might want to make other changes to the stage to help you draw. For example, you can tell Flash to display guidelines that help you align objects and draw accurately. These guides show while you're creating, but your audience won't see them in the final animation. This section shows you how.

The size of your stage is also the size of your finished animation. The standard 550 x 400 pixel Flash stage, which worked well in the past, is pretty small by today's standards. You may want to bump it up to 800 x 600 or even larger, depending on your target audience. If you're creating something for those itty-bitty mobile devices, you need to shrink the stage accordingly. In the case of the Lotta Caffeina banner ad, you want a wide, short stage (typically somewhere around 640 x 40).

The best way to ensure that your finished animation is the right size is to start with the right size stage out of the gate. Figure 2-3 shows how to change the stage dimensions using the Document Settings dialog box. There are several ways to open this box, which contains settings related to the stage and your animation:

Once the Document Settings window is open, you can type new height and width numbers in the Dimensions box. The Match radio buttons let you automatically set the stage size. By selecting Default, you can change the stage size by typing in new values. Choose Contents, and Flash automatically sizes the stage to fit the elements on it—a nice snug fit, no more, no less. If you know you're going to be printing your work, choose the Printer option, and the stage will fit nicely on a single sheet of paper.

In the center of the Document Settings box, there's a menu where you set the units used to measure the stage. These units are used for rulers, guidelines, and grids—all of which are covered later in this chapter. Out of the box, Ruler units is set to pixels, which is good for animations that will be viewed on a computer screen or a handheld device. In other cases, you may prefer points, inches, or metric units.

This dialog box is also where you change the stage color by clicking the Background color box and selecting a new color, as shown in Figure 2-4. (You'll learn more about frame rates in Chapter 15, but for now, just note that this is one of the places where you can change that setting. For now, leave it at 24.00 frames per second.)

Even professional artists can't always draw a straight line or estimate three inches correctly. Fortunately, with Flash, they don't have to, and neither do you. Flash has several tools that help you spot precisely where your objects are on the stage and how much space they take up: rulers, a grid, and guides. You can see an example of these tools as they appear on the stage in Figure 2-5.

You can fine-tune your ruler, grid, and guides using the View menu or the shortcut menu that pops up when you right-click (or, on a Mac, Control-click) the stage. Here's what each tool does and how to display each of them: