# Anyone Understand forceSmoothing here?

**URL:** https://forum.kirupa.com/t/anyone-understand-forcesmoothing-here/263048
**Category:** flash
**Created:** [June 12, 2008, 4:13am UTC](https://forum.kirupa.com/t/anyone-understand-forcesmoothing-here/263048 "2008-06-12T04:13:48Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![extravaganza](https://avatars.discourse-cdn.com/v4/letter/e/7ab992/32.png) [@extravaganza](https://forum.kirupa.com/u/extravaganza)
#### Post date: [June 12, 2008, 4:13am UTC](https://forum.kirupa.com/t/anyone-understand-forcesmoothing-here/263048/1 "2008-06-12T04:13:48Z")

</div>

I have been making the Internet rounds trying to find someone who can help answer this question. I am so frustrated. I am having trouble getting forceSmoothing to work with a script I found and want to use. The script is at [http://flash-creations.com/notes/dynamic\_slidingviewer.php](http://flash-creations.com/notes/dynamic_slidingviewer.php)  
I am publishing to scale and it my jpgs look jagged - I have tried to apply forcesmoothing in the init function in the script but it has no effect

```auto
function init() {
   // create holder for pictures
   createEmptyMovieClip("pic_mc", 1);
   pic_mc._x = PICX;
   pic_mc._y = PICY;
   pic_mc.forceSmoothing = true;

```

Any help is appreciated!!!

---

<div class="post-metadata">

### Author: ![congyaan](https://avatars.discourse-cdn.com/v4/letter/c/bcef8e/32.png) [@congyaan](https://forum.kirupa.com/u/congyaan)
#### Post date: [June 12, 2008, 8:51am UTC](https://forum.kirupa.com/t/anyone-understand-forcesmoothing-here/263048/2 "2008-06-12T08:51:24Z")

</div>

I think you want to load an external JPG to the holder,did you try like this:  
function init()  
{  
var loader:MovieClipLoader = new MovieClipLoader();  
var listener:Object = new Object();  
listener.onLoadInit = function(mc)  
{  
mc.forceSmoothing = true;  
}  
createEmptyMovieclip(“pic\_mc”,1);  
pic\_mc.\_x = PICX;  
pic\_mc.\_y = PICY;  
loader.loadClip(“[http://www.somedomain.com/some.jpg](http://www.somedomain.com/some.jpg)”,pic\_mc);  
}

---

<div class="post-metadata">

### Author: ![dail](https://avatars.discourse-cdn.com/v4/letter/d/82dd89/32.png) [@dail](https://forum.kirupa.com/u/dail)
#### Post date: [June 12, 2008, 9:30am UTC](https://forum.kirupa.com/t/anyone-understand-forcesmoothing-here/263048/3 "2008-06-12T09:30:35Z")

</div>

smoothing is disabled on bitmaps loaded in by the movieClipLoader class, you can turn it on if you use the loadMovie method. Another work around is to use bitmapdata from your loaded bitmap, and attach it to a new object. In doing so, you can turn on smoothing…Detail here…[http://www.kaourantin.net/archive/2005\_12\_01\_flashgraphics\_archive.html](http://www.kaourantin.net/archive/2005_12_01_flashgraphics_archive.html)
