package{
import flash.display.*;
import flash.filters.*;
public class Main extends Sprite{
public function Main(){
var box:Sprite = new Sprite( );
box.graphics.lineStyle( );
box.graphics.beginFill(0xFFFFFF);
box.graphics.drawRect(0, 0, 100, 100);
box.graphics.endFill( );
addChild(box);
box.filters = [new DropShadowFilter(10), new GlowFilter( )];
}
}
}
|