# \_height and \_width problem

**URL:** <https://forum.kirupa.com/t/-height-and--width-problem/108380>\
**Category:** Uncategorized\
**Created:** [April 24, 2004, 3:49pm UTC](https://forum.kirupa.com/t/-height-and--width-problem/108380 "2004-04-24T15:49:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![flaxcreatures](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/flaxcreatures/32/448_2.png) [@flaxcreatures](https://forum.kirupa.com/u/flaxcreatures)\
**Post date:** [April 24, 2004, 3:49pm UTC](https://forum.kirupa.com/t/-height-and--width-problem/108380/1 "2004-04-24T15:49:41Z")

</div>

Hi there, I’ve a attached an fla, pleaz have a look at it, cause I’ve some diffrent issues:

if I use resize(150, 600) for example there happens something which shouldn’t happen. The width keeps shrinking :s

```auto
 

this.bg._width += Math.round((w - this._width) / speed);
this.bg._height += Math.round((h - this._height) / speed);

```

is this correct? (have a look at the fla) 😉

Then my second question:  
Is there a possibility to make the movements smoother?

Thx anyway grtz flax
