Im adding MovieClips to a MovieClip, then I try to add glow filters so that finally my doc can add the parent to the stage.
Here is the code from the MovieClip , everything gets added but I get no filters
package
{
import flash.display.MovieClip;
//import flash.filters.BitmapFilter;
//import flash.filters.BitmapFilterQuality;
import flash.filters.GlowFilter;
public class RedBox extends MovieClip
{
var thrust1:Thrust = new Thrust;
var navLight:NavLight = new NavLight;
public var glowFilter:GlowFilter=new GlowFilter(0x3609ee,0.5, 32, 32, 32, 1,false, false);
public function RedBox():void
{
thrust1.x=-38;
thrust1.y=55;
thrust1.alpha=0;
navLight.y=0;
//glowFilter.color=0x3609ee;
//glowFilter.blurX=100;
//glowFilter.blurY=100;
//glowFilter.quality=3;
addChildAt(thrust1,0);
addChildAt(navLight,1);
navLight.filters[glowFilter];
thrust1.filters[glowFilter];
}
}
}
what do you think?