public class Main extends Sprite { private var _bitmap:BitmapData = new BitmapData(stage.stageWidth, stage.stageHeight, false, 0xff000000); private var _image:Bitmap = new Bitmap(_bitmap);
public function Main( ) { addChild(_image); _image.filters = [new BlurFilter( )]; addEventListener(Event.ENTER_FRAME, onEnterFrame); }