Return to Snippet

Revision: 12219
at March 6, 2009 10:52 by benwasilewski


Initial Code
// create blurFilter object
// your x and y properties determine how much that axis is blurred.
// if you use values that are powers of 2, the filter will render more quickly.
// quality can be set by 1 = low, 2 = medium, and 3 = high
blur =	new BlurFilter(BLUR-X, BLUR-Y, QUALITY);

// Actionscript assumes you'll want to add multiple filters at once.
// If you want to, you can add all of your filters to an array and 
// apply it that way. If you only have one, just create a quick array this way.
myObject.filters = [blur];

Initial URL

                                

Initial Description

                                

Initial Title
Blur Filters in AS3

Initial Tags
actionscript, filter, 3

Initial Language
ActionScript 3