1. Trang chủ
  2. » Công Nghệ Thông Tin

Foundation Flash CS5 For Designers- P3

50 345 0
Tài liệu đã được kiểm tra trùng lặp

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 50
Dung lượng 1,63 MB

Nội dung

GRAPHICS IN FLASH CS5 79 Figure 2-11. The tip or “pour” point of the Paint Bucket’s icon is its hot spot. 8. Click the object on the stage. When you do, it will be surrounded by circle, a line will bisect the selection, and three handles will appear, as shown in Figure 2-12. The circle represents the area of the gradient fill. Figure 2-12. The Gradient Transform tool allows you to precisely control a gradient. Let’s look at each of these controls:  Center point: This is actually composed of two features. The white dot is the center point of the gradient and can be moved around in the usual manner. The triangle, which can only move along the line, determines the focus of the center point, which is where the first color, the bright blue, in the gradient first appears.  Resize handle: Dragging this handle resizes and distorts the gradient without affecting the shape of the filled object. www.zshareall.com Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark. CHAPTER 2 80  Radius handle: Moving this one inward or outward resizes the gradient proportionally.  Rotate handle: Drag this handle, and the gradient rotates around the center point. The effect can be quite subtle with a radial gradient, but you’ll see a difference if you squeeze the gradient into a lozenge shape with the resize handle. Now that you know how to use the tool on a radial gradient, give it a try on a linear gradient. Here’s how: 1. Select one of the linear gradients from the Fill color chip in the Tools panel. 2. Select the Rectangle tool, and draw a square. Click the square with the Gradient Transform tool. 3. As you can see in Figure 2-13, the same controls are in place. This time two lines, which indicate the range of the gradient, appear. If you click the resize handle and drag it downward toward the top of the box, the colors in the gradient become more compressed. The rotate and center point handles work in the same manner as their radial gradient counterparts. Figure 2-13. The Gradient Transform tool can be used on linear gradients as well. Object Drawing mode Introduced in Flash 8, the addition of the Object Drawing mode feature was greeted with wild cheering and dancing in the streets. Well, it didn’t exactly happen that way, but a lot designers became seriously “happy campers” when they discovered this feature. Prior to the release of Flash 8, shapes that overlapped each other on the stage were, for many, a frustrating experience. If one shape was over another—in the same layer—and you selected and moved it, it would cut a chunk out of the shape below it. This is not to say it was flaw in the application. This behavior is quite common with painting applications. In Flash, once you understand the “one piece eats the other” This book was purchased by flashfast1@gmail.com www.zshareall.com Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark. GRAPHICS IN FLASH CS5 81 phenomenon, it becomes a great construction tool. It can be much simpler to throw down a base shape and purposefully “take bites” out of it to achieve a complex figure than to draw the same figure from scratch. Object Drawing mode uses the opposite concept. You get the best of both worlds, and the choice is yours. When you select a drawing tool, the Object Drawing icon, shown in Figure 2-14, appears in the Tools panel. Click it, and the oval you are about to draw will be drawn as a separate object on the stage and will not automatically merge with any object under it, even on the same layer. Let’s see how it works. Figure 2-14. Click the Object Drawing icon to turn on this feature. www.zshareall.com Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark. CHAPTER 2 82 1. Open the ObjectDrawing.fla file in your Chapter 2 Exercise folder. 2. Select the Oval tool, turn off the stroke in the Tools panel, and draw a circle over the shape on the stage. 3. Select the circle, and drag it off of the shape. When you release the mouse, you will see that your circle has bitten off a chunk of the shape. 4. Select the Oval tool, click the Object Drawing mode button in the Tools panel, and draw another circle over the shape. Drag it away and nothing happens, as shown in Figure 2-15. Hooray for Object Drawing mode! When you drew that second circle, Flash offered you a visual clue that you were in Object Drawing mode. When you selected the shape, it was surrounded by a bounding box. Figure 2-15. The effects of having Object Drawing mode turned on or turned off Here’s a little trick you can use to edit a single object in Object Drawing mode: double- click the second circle you just drew. Everything but the object you just double-clicked fades, and the words Drawing Object appear beside the Scene 1 link. This allows you to edit the object in place without disturbing anything else on the stage. To return to the stage, click the Scene 1 link or double-click outside the shape to go back a layer. www.zshareall.com Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark. GRAPHICS IN FLASH CS5 83 Drawing in Flash CS5 In this section, you will review the four primary drawing tools:  Pencil: Use this tool to draw free-form lines and shapes. It is also draws strokes.  Brush: Use this tool to paint in fill colors. A variant of this tool will appeal to the inner delinquent in all of us: the Spray Brush.  Eraser: The opposite of the Brush tool. It erases and removes rather than fills.  Pen: Use this one to draw Bezier curves. The Pencil tool Think of the Pencil tool as being a mechanical pencil with a huge number of leads and colors, all of which are available with a simple click. Select the Pencil tool, and the Properties panel changes (Figure 2-16) to allow you to set properties for the lines you will draw such as line thickness, style, and color. Figure 2-16. The Pencil tool and its properties This tool also has a modifier that appears at the bottom of the Tools panel. Click it, and a drop-down menu, as shown in Figure 2-17, gives you three modes to choose from. These modes are important because they control how the line behaves when you draw. Also, when you select this tool, you can choose to use the Object Drawing mode. www.zshareall.com Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark. CHAPTER 2 84 Figure 2-17. The Pencil tool has three drawing modes. Let’s try the modes: 1. Open a new Flash document, and select the Pencil tool or press the Y key. 2. Using the Pencil tool, draw three squiggly lines. Use one of the following three modes for each line. The results, as shown in Figure 2-18, will be slightly different for each. Here’s what the modes do:  Straighten: Use this if you want curves to flatten.  Smooth: Use this mode to round out kinks or otherwise smooth awkward curves.  Ink: This is the mode that gives you exactly what you draw. If you use this mode, make sure that Hinting in the Properties panel is selected. This will ensure crisp, nonblurry lines. Figure 2-18. The Smooth and Straighten modes can remove awkward angles. 3. Switch to the Selection tool, and click the top line. Notice how you selected just a piece of it. The lines you draw with the Pencil tool are vectors. 4. Deselect the line segment, and this time roll the mouse over the line. When you see a small curve appear under the mouse, click and drag. This tells you that you can change the shape of the lines you draw by simply moving their segments. www.zshareall.com Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark. GRAPHICS IN FLASH CS5 85 5. Double-click one of the lines, and change the thickness and line type from the drop-down menu in the Properties panel. As shown in Figure 2-19, your choices are solid, dashed, dotted, ragged, stippled, and hatched. Figure 2-19. Choose a line style in the Properties panel. 6. Draw a circle using the Pencil tool in Smooth mode. Select the shape with the Selection tool, and in the Tools panel click the Smooth button. Notice how the awkward edges of your circle become rounded. Now click the adjacent Straighten button a couple of times. Your awkward circle actually becomes a round circle. Double-click one of your lines. The Pencil options change to show you separate Straighten and Smooth buttons. Click the Smooth and Straighten buttons to see how they work on nonclosed shapes. As you can see, these buttons work independently of the Straighten and Smooth options available through the Pencil tool’s drop-down menu. Flash has preferences that will help you with your drawing chores. If you select Edit ➤ Preferences (Windows) or Flash ➤ Preferences (Mac), you will open the Preferences panel. Click the Drawing category, and the panel will change to show you how Flash handles the drawing tools, lines, and shapes. The Recognize shapes drop-down list can be set to take your hand-drawn approximations of circles, squares, triangles, and the like, and replace them with truer shapes, as if drawn by the Oval or Rectangle tool. The Brush tool You have discovered that all objects drawn on the stage are separated into strokes and fills. The Pencil and Brush tools follow that separation. The Brush tool feels quite similar to the Pencil tool in how it is used. The difference between the two is that the Brush tool works with fills while the Pencil tool works with strokes, which is a subtle but also quite profound difference. When you select the Brush tool or press the B key to select the tool, a number of options will appear at the bottom of the Tools panel, and the Properties panel will change, as shown in Figure 2-20. www.zshareall.com Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark. CHAPTER 2 86 Figure 2-20. The Brush tool options and properties www.zshareall.com Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark. GRAPHICS IN FLASH CS5 87  Object Drawing: You saw this earlier in the chapter. It’s the button that toggles Object Drawing mode on and off.  Lock Fill: Select this to fill multiple objects with a single gradient or some other fill. This can be useful in cases where the gradient implies a highlight, because the “lighting” will be applied evenly across all selected objects.  Brush Mode: This controls how the strokes are painted, and the drop-down menu contains the following five modifiers:  Paint Normal: Paints over anything on the screen providing they are on the same layer and not in Object Drawing mode. These caveats apply to the other mode options as well. If your content is a drawing object, use Modify ➤ Break Apart to turn it into a shape. When you finish, you can put it all back together as a single object by selecting Modify ➤ Combine Objects.  Paint Fills: Paints the fills and leaves the stroke alone.  Paint Behind: Paints only on the empty areas of the layer.  Paint Selection: Paints only on the selected areas of the object.  Paint Inside: Paints only inside the area surrounded by a stroke. This mode works only if the Brush tool starts inside the stroke; otherwise, it acts like Paint Behind.  Brush Size: Use this to change the width and spread of the brush strokes.  Brush Shape: This drop-down menu offers a number of brush shapes ranging from round to square.  Use Pressure and Use Tilt: These two appear only if a tablet is attached to the computer. They allow you to use the pressure and angle settings of a graphics tablet’s pen. This is a piece of hardware with a special drawing surface and “pen” that translates your actual hand motions into drawings on the screen. The final control is the Smoothing option on the Properties panel. This option determines the amount of smoothing and sharpness applied to an object drawn with the Brush tool. In many respects, it is the same as the Smooth mode of the Pencil tool. Try it: 1. Select the Brush tool, and select a fill color. 2. Turn off Object Drawing mode, and make sure the Brush mode is set to Paint Normal. 3. In the Properties panel, set the Smooth value to 0, and draw a squiggle on the screen. 4. Set the Smooth value to 50, and draw another squiggle on the screen. Repeat this step with a value of 100. As you can see in Figure 2-21, the edges move from rough to smooth and flowing. If these strokes don’t look all that different from each other, take a look at Figure 2-22. The number of vector points used to create the object reduces significantly as the Smoothing value increases. To see for yourself, select the Subselection tool, and click the edge of each scribble. The vector points become www.zshareall.com Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark. CHAPTER 2 88 visible. Remember, vector points require processing power to draw on the screen at runtime. Which will appear quicker: the squiggle on the left or the one on the right? Figure 2-21. Smoothing brush strokes Figure 2-22. Smoothing reduces a haze of points on the left to a manageable number toward the right. The Deco tool When it was first introduced in Flash CS4, Flash designers greeted the Deco tool with a resounding, “I don’t get it.” This was quite understandable because all it seemed to do was draw vines, and their clients weren’t exactly overwhelming them with requests for vines. If you think we are kidding, try it for yourself: 1. Open a new Flash document, and select the Deco tool. www.zshareall.com Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark. [...]... its counterpart the Spray Brush tool, were introduced in Flash CS4 as part of a new infrastructure called procedural modeling, which is “techie talk” for using the computer code to draw For those of you just itching to see the code that drives these things, they can be found in the following location from where you installed Flash: Adobe Flash CS5/ Common/First Run/ ProcScripts The jsx files you see...GRAPHICS IN FLASH CS5 2 Click anywhere in the upper-left corner of the stage to watch Flash draw a bunch of vines and flowers, as shown in Figure 2-23 Figure 2-23 The Deco tool’s default value is a tangle of vines and flowers If you need a stage full of vines, now you know where to go Unfortunately, this is where many Flash designers stop This tool’s value isn’t in... bunch of custom colors; are you ready to use them in all of your projects? Not quite They aren’t automatically saved when you close Flash If you create a bunch of custom colors and then close Flash, they will be gone—forever—when you return to Flash The question, therefore, is how do you save your custom colors? 114 www.zshareall.com Please purchase PDF Split-Merge on www.verypdf.com to remove this... “bushier” tree, hold the mouse button down for a second before releasing it Branches, as shown in Figure 2-32, will be added 97 www.zshareall.com Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark CHAPTER 2 Figure 2-32 Pick a tree…any tree The Spray Brush tool There is a tool in the CS5 lineup that is seriously fun to use The tool? Introduced in Flash CS4, it is called the Spray Brush... brush, and click and drag across the Trees layer to add the forest 108 www.zshareall.com Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark GRAPHICS IN FLASH CS5 4 Select the Logs layer, and drag three copies of the Log graphic symbol to the stage 5 Create a TeePee fire by manipulating each Log symbol with the Free Transform tool’s rotate and resize features Move the logs into... you are looking at a pixel with values of 0 for red, 0 for green, and 255 for blue, you can assume the pixel is pure blue The A value you see is the opacity value The letters in the HSB model represent hue, saturation, and brightness Hue is the color, saturation is the amount of the color or its purity, and brightness is the intensity of the color The ranges for each value differ in this model Hue goes... and take a look at the Drawing Effect area in the Properties panel There is a drop-down menu That’s your ticket to fun and a chance for you to explore a major change to this tool in Flash CS5 Change the drop-down from Vine Fill to Grid Fill This book was purchased by flashfast1@gmail.com At this point, you could play around with the Deco tool, but it really becomes interesting when it has something... Figurine in the Library 2 Click the drop-down menu for the Brush tool, and you will see the Spray Brush tool Select it The tool’s icon looks like a can of spray paint This should tell you that you are about to become a graffiti artist 98 www.zshareall.com Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark GRAPHICS IN FLASH CS5 3 .Open the Properties panel shown in Figure 2-33,... couple of new tools Let’s get to work: 1 Open a new Flash document file, and save it to your Chapter 2 Exercise folder 2 Select Insert ➤ New Symbol When the New Symbol dialog box opens, name the symbol Trees, and select Graphic as its Type Click OK to accept the changes and to open the Symbol Editor The tree you are about to draw will form the basis for this entire exercise Drawing the tree trunk You’ll... CHAPTER 2 Figure 2-30 The 3D brush uses perspective to give the effect of distance What is not commonly known is that the “official” name for the group of tools comprising the Deco and Spray Brush tools is Decorative drawing tools Their description in the Adobe Flash CS5 documentation is quite succinct: “The Decorative drawing tools let you turn graphic shapes that you create into complex, geometric patterns . GRAPHICS IN FLASH CS5 83 Drawing in Flash CS5 In this section, you will review the four primary drawing tools:  Pencil: Use this tool to draw free-form lines. exactly overwhelming them with requests for vines. If you think we are kidding, try it for yourself: 1. Open a new Flash document, and select the Deco tool.

Ngày đăng: 24/10/2013, 14:15