The Tools Panel


Another important panel is called the Tools panel, or Toolbox. Use the Windows pull-down menu to open this panel if it's not already visible. It's usually on the left side of the authoring tool and can be seen in Figure 1.4.

click to expand
Figure 1.4: The Tools panel allows you to select and manipulate objects on the stage as well as create original art.

The Tools panel is useful for creating art within Flash, but before we do that, we need to create a new object to hold our art. Use the Insert pull-down menu and select New Symbol. You should see a dialog box as in Figure 1.5, with the name of the symbol already set to Symbol 1 and the behavior set to Movie Clip.

click to expand
Figure 1.5: The Create New Symbol dialog box is used to create new objects and art assets.

Change the name from Symbol 1 to ball and click OK. This action has created a new movie clip and opened it for editing. Now it's time to draw some stuff.

Look back at the Tools panel and click on the white circle with the black outline. This is the Oval tool, and it is labeled in Figure 1.4. If you move your mouse over the stage, you'll see that your pointer has turned into a crosshair. Click and drag with the mouse and create a small circle. When you release the mouse button, the circle is drawn on the stage. Now look at the top of the stage. You should see two icons with text that look like Figure 1.6.

click to expand
Figure 1.6: The top of the stage has icons that represent different timelines you have open for editing ”in this case, Scene 1 and ball.

The word ball is in bold because you are editing it. Now click on the Scene 1 icon. This tells Flash that you want to stop editing your ball movie clip and return to the main movie, where you were before you created the ball movie clip.

You've created a movie clip called ball that contains a black oval on a white background. The new clip has been saved for you and exists as a symbol in your library.




Macromedia Flash MX 2004 Game Programming
Macromedia Flash MX 2004 Game Programming (Premier Press Game Development)
ISBN: 1592000363
EAN: 2147483647
Year: 2004
Pages: 161

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net