As graphists may not be able to use the smoothing class for bitmaps of the previous post, i made this little component.

To remind you, this class smooths rotated or scaled images to make them smooth.

1) create a movie clip with an image inside

2) drop the component inside that movieclip

That is it ! :)

The component will instantly smooth the movieclip where it was dropped.

download the component with example

You can optionnaly modify some parameters :

delay (in milliseconds) :

  • <0 : no instant smoothing (you can use the doSmooth() method when you wish)
  • 0 : instant smoothing
  • >0 : will smooth content after X milliseconds

width and height (in pixels) :

you can set the area to smooth.