我很确定这不是正确的方法,但是由于您只发布了一行代码,因此我无法在此问题上为您提供帮助。但是,由于您似乎想使用发光过滤器更改对象的颜色,您可以像这样使用它:
object.filters = new Array(new GlowFilter(0xFFFFFF,1, 6, 6, 9, BitmapFilterQuality.LOW, false, overlap));
参数是:
GlowFilter(color:uint = 0xFF0000, alpha:Number = 1.0, blurX:Number = 6.0,
blurY:Number = 6.0, strength:Number = 2, quality:int = 1, inner:Boolean = false,
knockout:Boolean = false)
alpha : Number
The alpha transparency value for the color.
blurX : Number
The amount of horizontal blur.
blurY : Number
The amount of vertical blur.
color : uint
The color of the glow.
inner : Boolean
Specifies whether the glow is an inner glow.
knockout : Boolean
Specifies whether the object has a knockout effect.
quality : int
The number of times to apply the filter.
strength : Number
The strength of the imprint or spread.
请参阅:http ://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/filters/GlowFilter.html