![]() ![]() You can add up to 15 colors to a gradient, precisely control the location of the gradient focal point, and apply other parameters to the gradient (see Figure 6). New controls also enable you to apply complex gradients to your drawings. By increasing the amount of smoothing, you can reduce the number of points used to calculate the curve, which results in smaller SWF files. However, Flash 8 introduces a new algorithm that optimizes these shapes. In both Flash MX 2004 and Flash 8, you can select the degree of smoothing to apply to curves that you draw with the Pencil and Brush tools. Using ActionScript code, you can use the Drawing API to control the line style of strokes that you draw as well as create complex gradient fills. In addition, the maximum size of a stroke has been increased from 10 pixels in Flash MX 2004 to 200 pixels in Flash 8, and you can now color strokes using a gradient fill. A join is the place where two strokes come together a cap is the end point of a stroke that does not join with another stroke. Joins and caps on strokes are now drawn more cleanly and precisely. ![]() New Features for Creating Strokes and Fills ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |