Brush tool

The Brush tool it is on the "Tools panel", it can be used with any of the two main options: "Merge Drawing" and "Object Drawing".
This tool has several modes with different drawing effects. When the Paint Brush tool is selected, a list menu appears on the Tools panel, Brush Mode (see the image below).

Select Brush tool
The "Brush Mode" button contains the following modes: Example:
Brush Mode
- Flash previews your paint path as you paint, but it only affects the areas specified in the Paint modes. When you release the mouse, these previews disappear.

Near the Brush Mode button there is "Brush Size" (with a list of options to set the brush size), and "Brush Shape" (with a list of options to set the shape of the brush).
You can set a color for the Paint Brush from "Fill Color".

Brush Size and Brush Shape

Brush Size and Brush Shape

Spray

The Spray Brush tool allows you to spray particles onto the Stage using the current fill color.
It can be selected from the "Brush tool" button, by press and hold the click on it.
You can adjust the spray pattern by selecting Symbol and Brush options in the Properties Panel.
You can also use a movie clip or graphic symbol from the library as a particle to create a more complex pattern (see the image below).
Using Spray tool

Eraser Tool

The Eraser Tool is on the Tools panel, it erases everything your cursor touches (depending on the Eraser mode you've chosen) whatever if the drawing is made with "Object Drawing" or "Merge Drawing".
After you have selected the "Erase tool", in the options area of the Tools panel will appear three buttons for erase options:

Eraser tool Options

Eraser tool Options
By default, eraser is in "Erase Normal" mode, it erases everything your cursor touches. There are also other four modes , which have the following effects: Example:
Erase mode example
- Eraser only affects lines and shapes which can be edited, had no effect on the groups, text or symbols. Those elements can be removed by selection and then press the Del (Delete).

Daily Test with Code Example

HTML
CSS
JavaScript
PHP-MySQL
Which HTML5 tag defines marked text? (can be used to highlight parts of text)
<mark> <embed> <span>
<p>Free corses: <mark>coursesweb.net</mark> for Web Development.</p>
Which CSS pseudo-class adds a style to an element when the mouse is over it?
:focus :hover :active
a:hover {
  font-weight: bold;
  color: #00da01;
}
Click on the function which returns a string value that represents the number rounded to the x digits after the decimal point.
toPrecision(x) toFixed(x) floor(x)
var num = 12.34567;
num = num.toFixed(2);
alert(num);       // 12.35
Indicate the PHP function which reads an entire file into an array.
[) file() readfile()
$arr = file("a_file.txt", FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES);
var_export($arr);
Brush and Eraser

Last accessed pages

  1. PHP getElementById and getElementsByTagName (33801)
  2. querySelector and querySelectorAll (12942)
  3. Star shapes with CSS (5601)
  4. Contact page - CoursesWeb (29988)
  5. Tabs effect with CSS (30646)

Popular pages this month

  1. Making DIV Contents Scroll Horizontally, with multiple Div`s inside (1431)
  2. Contact page - CoursesWeb (1402)
  3. Tabs effect with CSS (1395)
  4. Courses Web: PHP-MySQL JavaScript Node.js Ajax HTML CSS (552)
  5. PHP getElementById and getElementsByTagName (422)