Flash Course

The Deco tool is on the Tools panel, it allows you to apply decorative drawing effects to the Stage or a selected object on the Stage.
With this tool you can apply several effects: Vine Fill, Grid Fill, Symmetry Brush, 3D Brush, Building Brush, Decorated, Fire Animation, Flame Brush, Flower Brush, Lightning Brush, or Tree Brush.
All these effects can be selected from the Drawing Effect in the "Properties panel" (after you've selected the "Deco Tool"). Each of these properties have their own options (on the Advanced Options sub-menu), which can create quite complex combinations of effects.

Deco Tool Properties panel

Deco Tool Properties panel

Using Deco Tool

  1. Open a new Flash document and select "Rectangle tool"
  2. Draw a rectangle in the Stage (with a light fill color, fo example, yellow)
  3. Select Deco Tool on the Tools panel
  4. Click on the rectangle you have drawn. A decorative effect will start to cover the fill of the rectangle.
    - The decorative effect is the one set it the "Drawing Effect", on the Properties panel. This effect will cover the entery area of the rectangle, or until you click again.
  5. Click on an empty area in the Stage. The "deco-effect" will begin to cover the empty area of the stage, click again to stop it.
- In the presentation below you can see various examples with Deco Tool effects:

Deco tool examples

ex_deco_tool
- Here -> Deco tool example you can download the FLA file with this presentation.

Daily Test with Code Example

HTML
CSS
JavaScript
PHP-MySQL
Which tag is used to add lists into <ul> and <ol> elements?
<dt> <dd> <li>
<ul>
 <li>http://coursesweb.net/html/</li>
 <li>http://coursesweb.net/css/</li>
</ul>
Which value of the "display" property creates a block box for the content and ads a bullet marker?
block list-item inline-block
.some_class {
  display: list-item;
}
Which instruction converts a JavaScript object into a JSON string.
JSON.parse() JSON.stringify eval()
var obj = {
 "courses": ["php", "javascript", "ajax"]
};
var jsonstr = JSON.stringify(obj);
alert(jsonstr);    // {"courses":["php","javascript","ajax"]}
Indicate the PHP class used to work with HTML and XML content in PHP.
stdClass PDO DOMDocument
$strhtml = '<body><div id="dv1">CoursesWeb.net</div></body>';
$dochtml = new DOMDocument();
$dochtml->loadHTML($strhtml);
$elm = $dochtml->getElementById("dv1");
echo $elm->nodeValue;    // CoursesWeb.net
Deco Tool

Last accessed pages

  1. Making DIV Contents Scroll Horizontally, with multiple Div`s inside (59589)
  2. querySelector and querySelectorAll (30124)
  3. sPBM - Simple PHP Backup Manager (3402)
  4. Vue JS - Transition and Animation (490)
  5. Courses Web: PHP-MySQL JavaScript Node.js Ajax HTML CSS (141749)

Popular pages this month

  1. Courses Web: PHP-MySQL JavaScript Node.js Ajax HTML CSS (473)
  2. CSS cursor property - Custom Cursors (79)
  3. The Mastery of Love (70)
  4. PHP-MySQL free course, online tutorials PHP MySQL code (62)
  5. CSS3 2D transforms (46)