# Who can help me to do this ? Please!

**URL:** <https://forum.kirupa.com/t/who-can-help-me-to-do-this-please/106499>\
**Category:** Uncategorized\
**Created:** [April 6, 2004, 2:36pm UTC](https://forum.kirupa.com/t/who-can-help-me-to-do-this-please/106499 "2004-04-06T14:36:26Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![elaine1111](https://avatars.discourse-cdn.com/v4/letter/e/8491ac/32.png) [@elaine1111](https://forum.kirupa.com/u/elaine1111)\
**Post date:** [April 6, 2004, 2:36pm UTC](https://forum.kirupa.com/t/who-can-help-me-to-do-this-please/106499/1 "2004-04-06T14:36:26Z")

</div>

I gotta a problem.I want to do this effect.There is severval things on the scene.Each thing can be clicked.When I click one thing,this object will become bigger and on the center of the scene.When this object becomes biger ,the other things are also become biger.And the distance between each objects are not changed.

This is something like things in the room.If I want to see something clear.I click it ,then the whole room becomes biger.And the thing I clicked will finally on the center of scene.  
I wish I speak it clear.Does anyone can help me!!!

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 6, 2004, 2:57pm UTC](https://forum.kirupa.com/t/who-can-help-me-to-do-this-please/106499/2 "2004-04-06T14:57:42Z")

</div>

onmousevent press \_xscale/\_yscale 100 ?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 6, 2004, 3:18pm UTC](https://forum.kirupa.com/t/who-can-help-me-to-do-this-please/106499/3 "2004-04-06T15:18:19Z")

</div>

Just put all your buttons inside a container clip, and make the container clip grow on press. Ie put something like this on the timeline:

```auto
container.but1.onPress = function () {
this._parent.onEnterFrame = function () {
this._xscale = this._yscale += 5 ;
}
}

```

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 7, 2004, 1:26am UTC](https://forum.kirupa.com/t/who-can-help-me-to-do-this-please/106499/4 "2004-04-07T01:26:42Z")

</div>

Thank you for replying.But all I want to do is not only want everything to become biger.I also want the focus of the scene turn to on the object I clicked.I think that is tricky part of this problem.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 7, 2004, 7:06am UTC](https://forum.kirupa.com/t/who-can-help-me-to-do-this-please/106499/5 "2004-04-07T07:06:54Z")

</div>

just edit the script to enlarge everything then change the coords to focus on the clicked item

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 7, 2004, 7:40am UTC](https://forum.kirupa.com/t/who-can-help-me-to-do-this-please/106499/6 "2004-04-07T07:40:52Z")

</div>

But how to do it?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 7, 2004, 4:33pm UTC](https://forum.kirupa.com/t/who-can-help-me-to-do-this-please/106499/7 "2004-04-07T16:33:15Z")

</div>

use \_xscale/\_yscale to enlarge by an ammount

and

\_x/\_y to set coords
