# Bitmap stretch bug

**URL:** <https://forum.kirupa.com/t/bitmap-stretch-bug/184180>\
**Category:** Uncategorized\
**Created:** [April 3, 2006, 1:39am UTC](https://forum.kirupa.com/t/bitmap-stretch-bug/184180 "2006-04-03T01:39:39Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![clearmind](https://avatars.discourse-cdn.com/v4/letter/c/65b543/32.png) [@clearmind](https://forum.kirupa.com/u/clearmind)\
**Post date:** [April 3, 2006, 1:39am UTC](https://forum.kirupa.com/t/bitmap-stretch-bug/184180/1 "2006-04-03T01:39:39Z")

</div>

Hello,

I am trying to produce some effect by stretching horizontally a bitmap.  
Well things really get ugly.  
Basically I stretch (multiply the \_xscale by 15) once my movie which contains a bitmap. Then i just scroll it horizontally and observe (try it!) …  
I notice that there are some discontinuities in the image… it is nice and smooth and stretched for a while but all of a sudden the flow gets interrupted. it is as if another part of the bitmap is showing … something gets clipped off…

My publish settigns are for flash 7.

Here is my code … my movie instance is called “s” and it contains a bitmap … that is all

s.\_xscale \*= 15;  
var xinc:Number = -50;  
onEnterFrame = function()  
{  
s.\_x += xinc;  
trace(s.\_x);  
}

could not be any simpler …

Does anyone know what is happening and how to fix it ?

Senocular maybe… anyone!? =)

thank you all

---

<div class="post-metadata">

**Author:** ![clearmind](https://avatars.discourse-cdn.com/v4/letter/c/65b543/32.png) [@clearmind](https://forum.kirupa.com/u/clearmind)\
**Post date:** [April 3, 2006, 2:54pm UTC](https://forum.kirupa.com/t/bitmap-stretch-bug/184180/2 "2006-04-03T14:54:39Z")

</div>

Anyone ?

😟

---

<div class="post-metadata">

**Author:** ![Joppe](https://avatars.discourse-cdn.com/v4/letter/j/b38774/32.png) [@Joppe](https://forum.kirupa.com/u/Joppe)\
**Post date:** [April 3, 2006, 3:06pm UTC](https://forum.kirupa.com/t/bitmap-stretch-bug/184180/3 "2006-04-03T15:06:06Z")

</div>

Attach an swf 🙂

---

<div class="post-metadata">

**Author:** ![clearmind](https://avatars.discourse-cdn.com/v4/letter/c/65b543/32.png) [@clearmind](https://forum.kirupa.com/u/clearmind)\
**Post date:** [April 3, 2006, 11:25pm UTC](https://forum.kirupa.com/t/bitmap-stretch-bug/184180/4 "2006-04-03T23:25:49Z")

</div>

Ok here are 2 movies,  
stretch.swf is the problem … it is flash7  
stretch8 is in flash 8, but that does not really solve the issue because:  
It is true that the clipping is gone, but flash 8 removes the bitmap smoothing … and i want that smoothing… if i turn on smoothing in flash 8 i get the exact same behaviour as in flash 7 … the clipping is back.

I start to think that it is the smoothing that causes this artifact … but the real question is how do we get rid of the clipping and keep everything smooth ???

thanx

> [@joppe](#):
>
> Attach an swf 🙂

---

<div class="post-metadata">

**Author:** ![clearmind](https://avatars.discourse-cdn.com/v4/letter/c/65b543/32.png) [@clearmind](https://forum.kirupa.com/u/clearmind)\
**Post date:** [April 20, 2006, 7:44pm UTC](https://forum.kirupa.com/t/bitmap-stretch-bug/184180/5 "2006-04-20T19:44:13Z")

</div>

So can anyone help with this. ?  
:stare:

> [@clearmind](#):
>
> Ok here are 2 movies,  
> stretch.swf is the problem … it is flash7  
> stretch8 is in flash 8, but that does not really solve the issue because:  
> It is true that the clipping is gone, but flash 8 removes the bitmap smoothing … and i want that smoothing… if i turn on smoothing in flash 8 i get the exact same behaviour as in flash 7 … the clipping is back.
> 
> I start to think that it is the smoothing that causes this artifact … but the real question is how do we get rid of the clipping and keep everything smooth ???
> 
> thanx
