views:

299

answers:

2

In Flash, I can go into the properties of an image in the library and check 'allow smoothing' to enable resampling when the image is scaled or rotated.

How can I achieve the same effect for images loaded dynamically by the SWF from an external URL?

+5  A: 

For AS2

take a look here: http://www.giordanopiazza.com/blog/flash/allow-smoothing-for-external-images-as2/

For AS3

set bitmap.smoothing = true;

example here http://newsourcemedia.com/blog/smoothing-dynamically-loaded-images-in-as3/

Josh
as3 != as2 15char...
Adam Kiss
Great, thank you :)
izb
+1 great found for as2 :]
Adam Kiss
A: 

Seems there is no simple answer:

At this link http://www.actionscript.org/forums/showthread.php3?t=89255 some guy called Flash Gordon posted quite good class for it, so you have to play with it probably.

Adam Kiss