ActionScript 3 AS3中的模糊滤镜

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了ActionScript 3 AS3中的模糊滤镜相关的知识,希望对你有一定的参考价值。

// 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];

以上是关于ActionScript 3 AS3中的模糊滤镜的主要内容,如果未能解决你的问题,请参考以下文章

ActionScript 3 AS3中的AssociativeArray

ActionScript 3 AS3中的getURL

ActionScript 3 跟踪AS3中的对象

ActionScript 3 检查AS3中的连接

ActionScript 3 Flex中的AS3 Sprites

ActionScript 3 AS3中的按钮模板类