# MovieClip.forceSmoothing - how to?

**URL:** <https://forum.kirupa.com/t/movieclip-forcesmoothing-how-to/276094>\
**Category:** flash\
**Created:** [November 22, 2008, 3:43pm UTC](https://forum.kirupa.com/t/movieclip-forcesmoothing-how-to/276094 "2008-11-22T15:43:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dizzy2c](https://avatars.discourse-cdn.com/v4/letter/d/e9bcb4/32.png) [@dizzy2c](https://forum.kirupa.com/u/dizzy2c)\
**Post date:** [November 22, 2008, 3:43pm UTC](https://forum.kirupa.com/t/movieclip-forcesmoothing-how-to/276094/1 "2008-11-22T15:43:05Z")

</div>

I need to apply

```auto
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

```auto
var mclObj:Object = new Object();

```

in frame4 AS  
and put

```auto
mclObj.onLoadInit = onLoadInit; 

function onLoadInit(theLoadedImage:MovieClip)

{
       theLoadedImage.forceSmoothing = true;
}

```

into

```auto
function load_pic(fm_selected_pic_no)

```

after the loadMovie line. But didn’t work. No smoothing, although without compiler errors.
