I need to apply
MovieClip.forceSmoothing = true;
property for dinamically loaded jpg images. But i cannot manage this in the given AS code (where to put the line in the code?)
my externally loaded jpegs look lousy /pixelated/ without that option - i applied it on imported bitmaps with excellent results.
I’ve attached the fla file, and would be very thankfull for any help.
edit:
i defined
var mclObj:Object = new Object();
in frame4 AS
and put
mclObj.onLoadInit = onLoadInit;
function onLoadInit(theLoadedImage:MovieClip)
{
theLoadedImage.forceSmoothing = true;
}
into
function load_pic(fm_selected_pic_no)
after the loadMovie line. But didn’t work. No smoothing, although without compiler errors.