Hi there,
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 :
[AS]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);
}[/AS]
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.
http://www.getsound.fr/Rodrigo/gallery.zip
thanks already,
Rodrigo