import flash.display.;
import flash.geom.;
import flash.events.*;
var B:BitmapData = new BitmapData(550, 400, false, 0x000000);
var B2:Bitmap = new Bitmap(B);
this.addChild(B2);
function OEN(event:Event):void{
B.colorTransform(new Rectangle(0,0,550,400), new ColorTransform(1, 1, 1, 1, 100, 100, 100, 0));
};
addEventListener(Event.ENTER_FRAME,OEN);
The code looks perfect but it doesnt work
the colorTransform applies once! please help!