Skip to content
Oct 9 / Sidney de Koning

forceSmoothing property

To smooth dynamically loaded bitmaps:
[cc lang="actionscript"]
var mcl:MovieClipLoader = new MovieClipLoader();
var mclObj:Object = new Object();

mcl.addListener(mclObj);
mcl.loadClip(“path/to/image”, clipToLoadImageIn);

mclObj.onLoadInit = onLoadInit;

function onLoadInit(theLoadedImage:MovieClip)
{
theLoadedImage.forceSmoothing = true;
}
[/cc]

Please consider to buying me a coffee.

2 Comments

Leave a comment
  1. Philip Bretherton / Sep 3 2008

    Awesome! Worked a treat.

  2. pharma / Nov 7 2008

    thank you sir.

Leave a comment