IntroductionThis version is now compatible with Flash 8 AS2. This component allows you to blur text, pictures even movies. You can set alpha values and the extent of blurring. You can toggle between two objects or just have one. Since this is designed as a button you can achieve rollover effects or effects when the button is pressed. The principal of achieving a blur effect is to create copies of an object but with different size and partially transparent. |
|
|
|
Instructions to install: Put the component in the component folder. Then click on it and follow the instructions of the extension manager. The main principle used here of achieving the blur effect is to create a number of movieclips containing copies of the object to blur. These clips have a alpha value much less than 100 to be transparent. Further the x values of the clips are all different by a small number. Use of the componentIMPORTANT: Setting up the component on the stage choose only one as true and others false. onLoad is designed to execute only once when the frame loads. For more details how to execute certain functions see the end of this tutorial. INSTRUCTIONS (PARAMETERS):This newer version of the component allows you to dynamically upload and blur pictures as well as create your own drawings or text or toggle between both options. To upload dynamically leave the piclip1 and piclip2 and enter the name and folder of the pics you want to blur, where it says name of the pic, which is set default to pic1.jpg and pic2.jpg. If you want your own text or drawings use textclip1 and 2.
There are several ways to use this components.
compName.onRollOver=function(){
this.onRollOver();
}
compName.onRelease=function(){
FUNCTION here
}
2. to carry out autotoggle between two pics: This is the default function, which is already set. 3. If you want the component to get evoked only once when the frame is entered, check onLoad true in the property inspector and put this script in the actionframe:
ComponentName.Button.onLoad();
ConclusionIncreasing the size of the component on stage will also increase the picture. The only problem with this type of blurring is that depending on the size of the picture the flashplayer becomes slow especially on older computers. With DSL I noticed it is still pretty fast. When you use the component for smaller buttons, there is no problem. Questions address to this e-mail. |