tailieunhanh - Adobe Flash chuyên nghiệp - p 7

Using gradient and Bitmap Fills The fill is the interior of the drawn object. Currently, you have a solid tan color, but you can also have a gradient or a bitmap image (such as a JPEG file) as a fill, or you can specify that the object has no fill at all. In a gradient, one color gradually changes into another. Flash can create linear gradients, which change color horizontally, vertically, or diagonally; or radial gradients, which change color moving outward from a central focal point. For this lesson, you’ll use a linear gradient fill to add three-dimensionality to the coffee. | Using Gradient and Bitmap Fills The fill is the interior of the drawn object. Currently you have a solid tan color but you can also have a gradient or a bitmap image such as a JPEG file as a fill or you can specify that the object has no fill at all. In a gradient one color gradually changes into another. Flash can create linear gradients which change color horizontally vertically or diagonally or radial gradients which change color moving outward from a central focal point. For this lesson you ll use a linear gradient fill to add three-dimensionality to the coffee cup. To give the appearance of a top layer of foaming cream you ll import a bitmap image to use as the fill. You can import a bitmap file in the Color panel. Creating gradient transitions You ll define the colors you want to use in your gradient in the Color panel. By default a linear gradient moves from one color to a second color but you can use up to 15 color transitions in a gradient in Flash. A color pointer determines where the gradient changes from one color to the next. Add color pointers beneath the gradient definition bar in the Color panel to add color transitions. You ll create a gradient that moves from tan to white to dark tan on the surface of the coffee cup to give it a rounded appearance. 1 Choose the Selection tool. Select the fill that represents the front surface of the coffee cup. 2 Open the Color panel Window Color . In the Color panel choose the Fill color icon and select Linear gradient. The front surface of the coffee cup is filled with a color gradient from left to right. ADOBE FLASH PROFESSIONAL CS5 CLASSROOM IN A BOOK 51 Download from Library of Wow ebook 3 Select the color pointer on the left of the color gradient in the Color panel the triangle above it turns black when selected and then type FFCCCC in the Hex value field to specify a light tan color. Press Enter Return to apply the color. You can also choose a color from the color picker or double-click the color pointer to