Hey guys,
I have 12 figures that are loaded on the stage and they all have a drop shadow and a blur filter, now my problem is when I export my scene I get this error
Error Scene=Scene 1, layer=actions, frame=3:Line 54: There is no property with the name ‘filters’.
figures.filters = [dropShadow, blurry];
and here’s the actionscript
for (i=1; i<=12; i++){
var figures:String = "figures" + i;
attachObjects = vPlane.attachMovie("figure"+i, "figures"+i, i);
function updateFilters() {
figures.filters = [dropShadow, blurry];
}
function blurTracker() {
prevbx = bx;
prevby = by;
bx = figures._x;
by = figures._y;
dx = Math.abs(Math.round(bx - prevbx)) * mult;
dy = Math.abs(Math.round(by - prevby)) * mult;
blurry.blurX = dx;
blurry.blurY = dy;
updateFilters();
}
var dropShadow = new flash.filters.DropShadowFilter();
dropShadow.blurX = 10;
dropShadow.blurY = 10;
dropShadow.distance = 6;
dropShadow.angle = 35;
dropShadow.quality = 2;
dropShadow.alpha = 5.000000E-001;
blurry = new flash.filters.BlurFilter();
blurry.quality = 2;
blurry.blurY = 0;
blurry.blurX = 0;
figures.filters = [blurry, dropShadow];
mult = 1;
setInterval(updateFilters, 33);
}