Dynamic
In some of the title animation we often see a very bright blur effect, very visual impact. Most of the high quality of the fuzzy effect using PS processing to import into the flash production. In fact, in Flash can also use its scripting features to achieve dynamic blur effect (the effect is also possible).
• First use PS, make two pictures. A piece of clear, Fuzzy (Gaussian blur).
• Then import two pictures into flash, create three layers, in order: Clear picture (bottom), blurred picture (in the middle), the top is as. The most important point: select the blurred picture. Press F8 to convert it to MovieClip and name the instance name blurred on the property panel.
• Add the following code to the as layer.
var mycolor:color = new Color (blurred);
var white:object = {ra:100, rb:255, ga:100, gb:255, ba:100, bb:255, aa:100, ab:255};
Mycolor.settransform (white);
SetC ();
function SetC () {
Onenterframe = function () {
white.rb-=5;
white.gb-=5;
white.bb-=5;
white.ab-=5;
Mycolor.settransform (white);
}
}
Click to see the final effect