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
Click on the HTML tag which creates an horizontal line in web page.
<br /> <em> <hr />
Some content ...
<hr />
Content under line ...
Which CSS property defines the text color?
font-style font-variant color
h2 {
  color: #cbdafb;
}
Click on the function which searches if a character, or text exists in a string.
indexOf() toString() split()
var str = "Web courses - http://CoursesWeb.net/";
if(str.indexOf("http://") == -1) alert("http:// isn`t in string");
else alert("http:// is in string");
Which function splits a string into an array of strings based on a separator?
array_merge() explode() implode()
$str = "apple,banana,melon,pear";
$arr = explode(",", $str);
var_export($arr);      // array (0=>"apple", 1=>"banana", 2=>"melon", 3=>"pear")
Deco Tool

Last accessed pages

  1. PHP OOP - Accessor and Destructor methods (1706)
  2. Courses Web: PHP-MySQL JavaScript Node.js Ajax HTML CSS (143079)
  3. Web Programming Tests (703)
  4. The Stage, Panels and Tools in Flash (10398)
  5. SHA512 Encrypt hash in JavaScript (24997)

Popular pages this month

  1. Courses Web: PHP-MySQL JavaScript Node.js Ajax HTML CSS (312)
  2. CSS cursor property - Custom Cursors (36)
  3. The Mastery of Love (35)
  4. PHP-MySQL free course, online tutorials PHP MySQL code (32)
  5. Read Excel file data in PHP - PhpExcelReader (28)