Lines

The Line tool is on the "Tools panel", it draws perfectly straight lines in the direction you drag your mouse.
Line tool also has the two modes of drawing: Merge Drawing and Object Drawing.
In Merge Drawing when a line overlaps another line on the same layer, it essentially cuts it into two pieces that can be edited as separate objects.
In Flash, a line is called a stroke and there is a variety of thicknesses (0-200 pixels), styles, colors, and gradient fills that can be applied to it, from the Properties panel (see the image below).

Line properties

Line properties

If you hold Shift while you draw the line, you can easily draw lines perfectly vertical, horizontal or at 45 degrees.

Creating Text

To create text in Flash, click the Text tool on the Tools panel (the pointer becomes a crosshair with a small "T" in the corner), then click the Stage where you want to create a text line or drag to create a text box the size you want that automatically wraps.
To deselect a text box, click anywhere on the Stage outside it.
The text area can anytime be moved and resized after it waz selected with the Selection Tool.

Creating text

Creating text
To modify a text in a deselected text area, select the "Text tool" then click on the text (or double-click on it).
To break editable text boxes into shapes, click Modify -> Break Apart. Then you can edit them with any of the selection tools or pen modifiers.

- In Flash, you can create two types of text: TLF (Text Layout Framework) or Classic.
The options in the Properties panel change according on the type of text chosen.

1. TLF provides advanced text capabilities for text in Flash targeted for Flash Player 10 and ActionScript 3.0 or later.
TLF is indicated when you want to create 3D animated text or a text with a graphic artistic aspect.
TLF has three types: Read Only (text that doesn't change), Selectable (the user will can select and copy the text) and Editable (the user will can modify the text, it can be used for input fields).
You can create columns, rotate text, indent text, change text direction and orientation, change text case, adjust the text baseline, and apply text blending and color effects from the Property panel (see the pictures below).
- Because the Properties panel of the TLF text is too long to be displayed in a single image, I divided it into three images, but in Adobe Flash all these options are in a single panel.

TLF text properties

TLF text properties

TLF text properties 2

TLF text properties 3

2. Classic Text provides the standard capabilities available for a simple text: size, color, font, etc. (see the image below).
There are three types of Classic text: Static (text that doesn't change), Dynamic (text that updates with ActionScript), and Input (text used for form fields).

Classic text properties

Classic text properties

You can use the Free Transform tool to transform text boxes in the same ways you transform other objects. You can scale, rotate, skew and flip text boxes.
In the presentation below you can see an example of how to use some of the text properties.

Using text properties

text_example
- After the presentation starts, to Stop / Play it, right click on it and select / deselect Play option.

Daily Test with Code Example

HTML
CSS
JavaScript
PHP-MySQL
Click on the tag that creates an ordered list
<ul> <tr> <ol>
<ol>
  <li>List-1</li>
  <li>List-2</li>
</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": "CoursesWeb.net", "pr": 5};
alert(obj.site);
Indicate the instruction used to evaluate if a condiition is True or False
else if() switch()
$var = 8;
if($var == 8) echo $var;
Line and Text

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)