i'm trying to make a photo gallery but when i try to scale them, i get this distortions in the thumbs....
i try to find how to fix this problem, searching in google, i found that i have to convert them to bitmap, but i can't make it work.
i found this :
var imageLoader:Loader = new Loader();
imageLoader.load(URLReq);
imageLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, loadBit);
imageLoader.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, progressBit);
function loadBit(e:Event):void
{
//trace(imageLoader.content);
myBitmap = Bitmap(imageLoader.content);
myBitmap.smoothing = true;
addChild(bitMov);
bitMov.addChild(myBitmap);
}
i think the problem is that i'm using a URLLoader and i can't access to "contentLoaderInfo".
can someone unblock my mind ?
If you have the time to take a look into my project i'll be grateful.
thanks already,
Rodrigo
Attached File(s)
-
gallery.zip (434.22K)
Number of downloads: 46

New Topic/Question
Reply


MultiQuote




|