I need to import a BMP file to the stage, i tried with URLLoader and with filestream, but i can't, there is a way to do this?
This is what i tried, with jpg it works:
var loader:Loader = new Loader();
loader.load(new URLRequest("foto.bmp"));
loader.contentLoaderInfo.addEventListener(Event.COMPLETE, onCompleteHandler);
function onCompleteHandler(event:Event):void
{
event.target.removeEventListener(Event.COMPLETE, onCompleteHandler);
addChild(event.target.content);
}