Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...
bgolds

Anti-aliasing after resize

Recommended Posts

I have not been able to find any threads regarding anti-aliasing.

 

I am looking for a way to anti-alias xml referenced images after my site is resized. My website contains my portfolio of 3D renderings, and it really makes me look bad if they are aliased lol. Anybody know any tricks?

 

Thanks,

Ben

Link to comment
Share on other sites

Turn smoothing on for the images?

Link to comment
Share on other sites

Well I feel like an idiot >.< that did the trick, I didn't know where to put the smoothing function, but I got it.

For future reference:

 

imgLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, scaleContentForPicture);

imgLoader.load(new URLRequest(itemElement.image.toString()));

 

function scaleContentForPicture() {

var smoother_bm=Bitmap(imgLoader.content);

smoother_bm.smoothing=true;

}

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

×