Share this Page URL
Help

Chapter 4. Complex Graphics on a Single Layer - Pg. 213

213 Chapter 4. Complex Graphics on a Single Layer In Chapters 2 and 3, you learned to make simple individual shapes from lines (strokes) and fills by using Macromedia Flash's drawing tools. You learned to make a single oval and a lone rectangle, for example. In your movies, you'll want to use many shapes together, and you'll need to combine strokes and fills in complex ways. You might combine several ovals and rectangles to create a robot character, for example. To work effectively with complex graphics, you need to understand how Flash shapes interact when they are on the same layer or on different layers. In this chapter, you learn how to work with multiple shapes on one layer. To learn more about the concept of layers, see Chapter 5. Two of Flash's drawing tools--the brush tool and the eraser--offer special modes for use with mul- tiple fills and strokes on a single layer. In this chapter, unless you are specifically requested to do otherwise, leave both tools at their default settings of Paint Normal (for the brush tool) and Erase Normal (for the eraser). When Lines Intersect Lines If you draw several lines on the same layer, they interact. Draw a new line across an existing one, and the new line cuts--or, in Flash terminology, segments-- the old. Segmentation happens whether the lines are the same color or different colors, but it's easiest to see with contrasting colors. Procedure 4-1. To see how one line segments another: 1. In the Stroke panel, do the following: · Set the line style to Solid. · Set the line weight to 4 points. · Set the color to red. In the Toolbox, choose the pencil tool. On the Stage, draw a line. Click the stroke-color box (in the Toolbox or in the Stroke panel), and from the pop-up swatch set, choose a new color. On the Stage, draw a second line; make it intersect your first line at least once. Flash segments the line. To see the segments, select various parts of the line with the arrow tool (Figure 4.1). 2. 3. 4. 5.