This is my code for creating a laser.
var sp:Sprite = new Sprite();
sp.graphics.lineStyle(3, 0xffffff,1);
sp.graphics.moveTo(x1, y1); //Draws line from (0,0)
sp.graphics.lineTo(x2, y2); //To (100,100)
var glow:GlowFilter = new GlowFilter();
sp.filters = [glow];
bmd = new BitmapData(Math.abs(x1 + x2), Math.abs(y1 + y2), true, 1); //Probably the bit
bmd.draw(sp); //you're interested in
img = new Image(bmd);
graphic = img;
But the Bitmap Data is using a lot of memory(2mb per time and it would be firing once or twice a second), what would be a good method of doing the same thing.