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

Click on the tag that creates an ordered list
<ul> <tr> <ol>
Which selector represents the ID of an element in CSS
.name #name name
#id {
  color: #0110fb;
What statement creates an object in JavaScript?
{} [] new Date()
var obj = {"site": "", "pr": 5};
Indicate the instruction used to evaluate if a condiition is True or False
else if() switch()
$var = 8;
if($var == 8) echo $var;
Pencil and Pen Tools

Last accessed pages

  1. The Number and Math Objects (344)
  2. Download JavaScript resources (2345)
  3. Get Attribute (ID, Class, Name, Title, Src) with jQuery (33344)
  4. Recursive function to create Multi-Level Menu in PHP (4811)
  5. Zuma Deluxe (20392)

Top accessed pages

  1. Courses Web: PHP-MySQL JavaScript Ajax HTML CSS Flash-AS3 (49682)
  2. Read Excel file data in PHP - PhpExcelReader (38072)
  3. PHP-MySQL free course, online tutorials PHP MySQL code (37003)
  4. Get Attribute (ID, Class, Name, Title, Src) with jQuery (33344)
  5. PHP PDO - exec (INSERT, UPDATE, DELETE) MySQL (30742)