Pencil Tool

The Pencil tool is on the Tools panel, it is used for freeform drawing. When you draw with the Pencil tool you are creating strokes. It works the same way as a real pencil with options for smoothing and straightening.
The Pencil tool has three options which are displayed in the option area of the Tools panel, after you select it (see the image below).
Options Pencil
Depending upon which mode you choose, Flash makes corrections to the drawn line.

To change the straighten rate, select the object, click the Modify menu -> Shape -> Advanced Straighten, enter a value between 0-100, and then click OK.
To change the smooth rate and angles, select the object, click the Modify -> Shape -> Advanced Smooth, enter a value, and then click OK.
Another way to optimize a shape in Smooth mode: select it, click the Modify -> Shape -> Optimize, add a value between 0-100 and click OK.

In the Properties panel you can set various options to Pencil tool (after you have selected it), like: color of the line, thickness (between 0-200), style, smoothing. See the presentation below:

Using the Pencil tool


Pen Tool

The Pen tool is used for more complex vector drawing. This tool utilizes anchor points and Bézier handles to create perfect arcs and a lot of perfectly straight lines.
To create straight lines with the Pen tool, click the Stage to create anchor points, which Flash automatically connects using perfectly straight segments.
If you drag the Pen tool (instead of just clicking), Flash displays a preview curve and a control line that lets you adjust the angle of a curved arch. These curves can be modified with precision by adjusting the Bézier handles that extend from the anchor points, or you can move the anchor points themselves.

Pen Tool drawing

Pen Tool drawing
In the Pen tool button, on the Tools panel, there are other pen tools to add, delete, or convert anchor points. You can edit the anchor points and vectors to create the drawings you want. - The shapes and lines created with the Pen Tool can be easily modified from the anchor points with "Subselection Tool".

You can set Flash to preview line segments and curves one step before to draw it. Select Edit -> Preferences then, select the Drawing category. The Pen tool preferences appear at the top of the Preferences window. Click to activate the Show pen preview (see the image below).

Pen Tool Preferences

Daily Test with Code Example

Which tag adds a new line into a paragraph?
<b> <br> <p>
First line ...<br>
Other line...
Which CSS property can be used to add space between letters?
text-size word-spacing letter-spacing
#id {
  letter-spacing: 2px;
What JavaScript function can be used to get access to HTML element with a specified ID?
getElementById() getElementsByTagName() createElement()
var elm = document.getElementById("theID");
var content = elm.innerHTML;
Click on the "echo" correct instruction.
echo "" echo ""; echo """;
echo "Address URL:";
Pencil and Pen Tools

Last accessed pages

  1. PHP MySQL - WHERE and LIKE (16865)
  2. Get and change IFrame content through a JavaScript script created in another IFrame (8347)
  3. Get the value of the selected /checked checkboxes in a form (35006)
  4. Node.js Move and Copy file (1980)
  5. jQuery UI draggable - Drag elements (9672)

Popular pages this month

  1. Qwop (4885)
  2. Get Attribute (ID, Class, Name, Title, Src) with jQuery (2980)
  3. Get the value of the selected /checked checkboxes in a form (2317)
  4. Drag Racer V3 (1932)
  5. Flash Games - Free online Games (1569)