# Antialias when scaling?

**URL:** <https://forum.kirupa.com/t/antialias-when-scaling/320050>\
**Category:** Uncategorized\
**Created:** [March 12, 2011, 5:13pm UTC](https://forum.kirupa.com/t/antialias-when-scaling/320050 "2011-03-12T17:13:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rboyart](https://avatars.discourse-cdn.com/v4/letter/r/a4c791/32.png) [@rboyart](https://forum.kirupa.com/u/rboyart)\
**Post date:** [March 12, 2011, 5:13pm UTC](https://forum.kirupa.com/t/antialias-when-scaling/320050/1 "2011-03-12T17:13:48Z")

</div>

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](http://www.getsound.fr/Rodrigo/gallery.zip)

thanks already,

Rodrigo
