|
||||||
|
||||||
Create Multiple Filters with ActionScript

Free
Flash Tutorial
Step Six: Blur Filter Parameter Settings
In this section detailed information is given on each of the BlurFilter parameters. This will enable you to set the Filter parameter's correctly. The parameters are set with this section of code:
(10,2,3);
Here is what the parameters set:
Blur X, Blur Y & Quality.
Each of these parameters has a default setting and if you are not familiar with the Filter it is often best to start with the default and then edit:
Example: Download both the Flash files Draw 213a & 213b
My Settings
Draw 213a
Default Settings
Draw 213b
Here are my parameter setting compared to the default setting:
ParameterMy Setting Default Blur X:10 4 Blur Y:2 4 Quality3 1
Blur X: 0 to 255 - Default = 4
The amount of horizontal blur in pixels. Valid values are from 0 to 255. The default value is 4. Values that are a power of 2 (such as 2, 4, 8, 16, and 32) are optimized to render more quickly than other values.
Blur Y: 0 to 255 - Default = 4
The amount of vertical blur in pixels. Valid values are from 0 to 255. The default value is 4. Values that are a power of 2 (such as 2, 4, 8, 16, and 32) are optimized to render more quickly than other values.
Quality: 0 to 15 - Default: 1
The number of times to apply the filter. Valid values are 0 to 15. The default value is 1, which is equivalent to low quality. A value of 2 is medium quality, and a value of 3 is high quality. Filters with lower values are rendered more quickly. For most applications, a quality value of 1, 2, or 3 is sufficient. Although you can use additional numeric values up to 15 to achieve different effects, higher values are rendered more slowly. Instead of increasing the value of quality, you can often get a similar effect, and with faster rendering, by simply increasing the values of blurX and blurY.
| Quick Links: | ||
Bevel Filter: |
Info on Parameters | Full Tutorial |
Blur Filter: |
Info on Parameters | Full Tutorial |
Drop Shadow Filter: |
Info on Parameters | Full Tutorial |
Glow Filter: |
Info on Parameters | Full Tutorial |
Gradient Bevel Filter: |
Info on Parameters | Full Tutorial |
Gradient Glow Filter: |
Info on Parameters | Full Tutorial |
Color Matrix Filter: |
Info on Parameters | Full Tutorial |
I hope you have found this useful. If so perhaps you could recommend this site to others and link to webwasp!
|
Why not try out webwasp's new community. Meet new people, find friends in your area: Webwasp Mates & Dates
•
4913 visitors to this page since
4 April 07 •
|
|
|
All material on this site is protected under international copyright © law. DO NOT reproduce any material from this site without written permission. Please ask as permission is often granted.
|