Do you know how to draw in Flash? If you do, then you probably also know the Tools that allow you to do that: Pencil Tool, Line Tool, Rectangle Tool, Oval Tool and Brush Tool. These Tools allow you to draw vector shapes.
Vector shapes are defined mathematically—they have a number of vector points, curves and other properties. Sometimes a shape we have drawn is unnecessarily complicated. What can we do then?
In this short tutorial, I'm going to answer this question.
Note: Optimizing vector shapes in Flash may be especially useful for Flash animators and illustrators.
Here we go!
i. Draw a shape with many vector points. You can use your Pencil or Brush tool to do that.
Below you can see my drawing:
ii. Next, select it and go to Modify>Shape>Optimize.
iii. In the dialog box that pops up, you can set the "strength" of optimization. I'm going to set it to the maximum for better effect.
Also, select "Show totals message" to see what changes has been made to your shape, as far as the number of curves is concerned.
As you can see, the number of curves has been decreased more than 10 times. Despite such a big reduction, our shape doesn't look much worse. In fact, many would say that it looks better.
Anyway, let's have a look at the below image in which you can compare the "before" and "after" shapes
As I've said, it doesn't look much different, but it is a lot smaller in size. That's why you should use the Optimize function as often as you can when dealing with shapes like this.
Hope this tutorial was helpful. If you feel like reading some more, click here.
Thanks for reading.