Adobe Flash has a special serie of options for color effects, named Filters.
These options for Filters effects are: Drop Shadow, Blur, Glow, Bewel, Gradient Glow, Gradient Bewel and Adjust Color
- You can find them in the "Properties panel", in the FILTERS subpanel (see the image below).
This subpanel appears only for objects that can apply Filters effects: Text, Button Symbol and Movie Clip.
- For other types of objects, drawings, groups or images; you must convert them into a Symbol to be able to apply Filters Effects.
Adding filters
To add Filters effects to an object on the stage, perform the following steps:
- Select the respective object on the stage (it must be Text, Buton or Movie Clip)
- In the Properties panel find Filters, and click on it (if it's not already opened). Flash will open a subpanel under it, for filter effects.
- Click on the small button (Add Filters) in the lower-left corner of this sub-panel (as you can see in these images). This will open a menu with various effects, choose one.
- The respective effect is added in the sub-panel, with its setting options, and in the same time it is applied to the object selected on the stage.
- Each effect has its own properties through which you can set different changes for that effect, such as: color or combination of colors, angle, distance, quality, and others.
- You can also add multiple filters to the same object on the Stage, to get a variety of color effects. They are included one by one in the Filters sub-panel.
- To disable an effect of the ones added in the "Filters subpanel" click on its name in the sub-panel and then on the small button "
Enable or Disable Filtre" (with the image of an eye, located on the same line as "Add Filters"). The effect will remain in the sub-panel and can be activated from the same button.
- To delete a "Filter", select it and click on the button "
Delete Filter" (from the same line).
- The "
Reset Filter" button (with a reversed arrow) restores the effect properties to the initial values.
Click on the image below to see a Flash presentation which shows you how to apply Filters to a text, and to change their properties.
- Tutorial Filters effects
- The FLA file with this example can be downloaded from:
Tutorial Filters effects.
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