Previously remember in which site to see this effect, but how to find also can not find! So let us explain how to make. The main is to explain Flash8 blur filter, using Actonscript call blur filter implementation from blur to clear effect.
The results are as follows, do not provide you with the source file, very simple!
First, prepare four pictures of the same size, and then go into flash, each converted to a button component.
Then the four buttons are dragged to the stage, the position is placed well. and name the instance names for them: Link1_btn, link2_btn, Link3_btn, link4_btn.
Then create a new layer and add the code:
The code is as follows:
Import Flash.filters.BlurFilter;
var blurred:blurfilter = new Blurfilter (5, 5, 4);
var myfilters:array = [blurred];
Link1_btn.filters = Link2_btn.filters = Link3_btn.filters = Link4_btn.filters = Myfilters;
Link1_btn.onrollover = Link2_btn.onrollover = Link3_btn.onrollover = Link4_btn.onrollover = function () {
This.filters = null;
}
Link1_btn.onrollout = Link2_btn.onrollout = Link3_btn.onrollout = Link4_btn.onrollout = Link5_btn.onRollOut = function () {
This.filters = myfilters;
}
The code is well understood. Press the Ctrl+enter test!