Creating a Symbol
You are now ready to turn the graphic (the ellipse) you created into a symbol and store the graphic in the Library. Items stored in the Library can be used later.
- Choose the Selection tool.
- Click and drag to create a rectangle around the ellipse to select it.
- Choose Modify > Convert to Symbol from the menu. The Convert to Symbol dialog box opens.
- Type Start Button in the Name field.
- Choose Button as the type of behavior.
- Click OK.
- Choose Window > Library from the menu. The Library panel opens. You should see Start Button in the Library window.
- Press the Delete key to delete the ellipse from the Stage. Don�t worry. You have a copy of the Start Button in the Library.
Gradients
When you click a Fill Color box, the Fill dialog box shown here opens.
Gradients show gradations of color. They display on the bottom row of the Fill dialog box. You will use a gradient to create the movie�s sky. But first, you must create the gradient you will use.
To create the gradient:
- Click the first Color box on the gradient row.
- Choose Window > Color Mixer from the menu. The Color Mixer panel opens.
- Choose Linear from the drop-down menu.
- Double-click on the first Edit Gradient Range icon. Color boxes appear.
- Click the color blue to select blue.
- Double-click the second Fill Gradient Range icon. Click the color box and select white.
- Click and drag the second Fill Gradient Range icon to the three-quarter point on the Gradient Range slider.
- Click the Menu Options icon.
- Click Add Swatch. Flash adds the gradient you created to the color box.
The Rectangle Tool
You use the Rectangle Tool to draw rectangles and squares. In this exercise you will create a rectangle and fill it with the gradient you just created. You will then turn the resulting graphic into a symbol and use it later to create the sky.- Choose the Rectangle tool.
- Move to the Property inspector. If the Property inspector is not open, choose Window > Properties > Properties from the menu to open it.
- Select NoColor in the Stroke color box.
- In the Fill color box, select the gradient you created.
- Click the Stage and drag diagonally to create a rectangle.
- Choose the Selection tool.
- Click the graphic.
- Choose Modify > Convert to Symbol from the menu. The Convert to Symbol dialog box opens.
- Type Sky in the Name field.
- Choose Graphic as the Behavior.
- Click OK to store the graphic in the Library. If the Library is not already open, click Window > Library to open the Library. You can see the graphic in the Library.
- Press the Delete key to remove the graphic from the Stage.