# loadClip dynamic images how to smooth them?

**URL:** <https://forum.kirupa.com/t/loadclip-dynamic-images-how-to-smooth-them/290286>\
**Category:** flash\
**Created:** [June 12, 2009, 8:26am UTC](https://forum.kirupa.com/t/loadclip-dynamic-images-how-to-smooth-them/290286 "2009-06-12T08:26:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Toelli](https://avatars.discourse-cdn.com/v4/letter/t/e99b99/32.png) [@Toelli](https://forum.kirupa.com/u/Toelli)\
**Post date:** [June 12, 2009, 8:26am UTC](https://forum.kirupa.com/t/loadclip-dynamic-images-how-to-smooth-them/290286/1 "2009-06-12T08:26:16Z")

</div>

I have been searching alot and i just cant get it right…

What i understand is that i have to duplicate the movieclip and create some kinda BitmapData version of it and it will work?

I found this example code im trying to put into my own code and it just dont work and i dont get any errors either… check this out:

first of all i load the images from external string file like this:

```auto
for(var i=1; i<=11 ;i++){ 
     imgVar = eval("myVars.img"+i);
  theURL = "img" + i;
  my_mcl.loadClip(imgVar, _root.contentHolder[theURL].bildruta);
} 

```

this code adds all the images exactly where i want them… however im also going to animate each image and now i wonder how i can add smoothing to them…

i have tried to do something like this:

// notice: this is in the parent frame

```auto
 
import flash.display.BitmapData;
//LOADER
var my_mcl = new MovieClipLoader();
myListener = new Object();
myListener.onLoadComplete = function (target_mc){ 
 
// this code is suppose to make it smooth but i cant figure it out
myBitmap = new BitmapData(114, 114, true);
myBitmap.draw(target_mc);
removeMovieClip(target_mc);
createEmptyMovieClip("target_mc", getNextHighestDepth());
target_mc.attachBitmap(myBitmap, 1, "auto", true);
 
}
my_mcl.addListener(myListener);

```

Any suggestions?
