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:
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
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?