# \[9-slice scaling\] not scaling at correct size?

**URL:** https://forum.kirupa.com/t/9-slice-scaling-not-scaling-at-correct-size/168091
**Category:** Uncategorized
**Created:** [November 3, 2005, 8:41pm UTC](https://forum.kirupa.com/t/9-slice-scaling-not-scaling-at-correct-size/168091 "2005-11-03T20:41:18Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Khaan](https://avatars.discourse-cdn.com/v4/letter/k/b5ac83/32.png) [@Khaan](https://forum.kirupa.com/u/Khaan)
#### Post date: [November 3, 2005, 8:41pm UTC](https://forum.kirupa.com/t/9-slice-scaling-not-scaling-at-correct-size/168091/1 "2005-11-03T20:41:18Z")

</div>

Hi people,

I found something strange with the 9-slice scaling option.  
My MC with that option is simply smaller than the one without it !  
You can see an example [here](http://baboumm.free.fr/etc/hidden/9slice.html) (fla in attachement).  
with the simple code on the green button :

```auto
on (release) {
	_root.i += 10;
	this.scroller._height = _root.i; // the left one with 9ss
	this.bar._height = _root.i; // the right one without 9ss
}

```

Does someone have any explanation ?

thanks
