# Increasing the width

**URL:** https://forum.kirupa.com/t/increasing-the-width/48567
**Category:** Uncategorized
**Created:** [April 14, 2004, 6:31pm UTC](https://forum.kirupa.com/t/increasing-the-width/48567 "2004-04-14T18:31:18Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![iloveitaly](https://avatars.discourse-cdn.com/v4/letter/i/7ea924/32.png) [@iloveitaly](https://forum.kirupa.com/u/iloveitaly)
#### Post date: [April 14, 2004, 6:31pm UTC](https://forum.kirupa.com/t/increasing-the-width/48567/1 "2004-04-14T18:31:18Z")

</div>

Hey,  
I am trying to copy the box resizing effect on [this](http://www.laurenhillary.com) web site. I have come up with this so far:

```auto

on(release) {
	if(_root.box._width != 200) {
		var nm = _root.box._width
		while(nm < 200) {
			_root.box._width += 2
			nm +=2
				}
	}

}

```

There is alot of problems though. It does the resizing of the box instantly, not over x amount of seconds. Is there any way to get a similair effect like the one on that website?
