# \_hieght \_width Tut

**URL:** <https://forum.kirupa.com/t/-hieght--width-tut/14244>\
**Category:** flash\
**Created:** [February 24, 2003, 1:54am UTC](https://forum.kirupa.com/t/-hieght--width-tut/14244 "2003-02-24T01:54:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![BullDog\_Flash](https://avatars.discourse-cdn.com/v4/letter/b/d07c76/32.png) [@BullDog\_Flash](https://forum.kirupa.com/u/BullDog_Flash)\
**Post date:** [February 24, 2003, 1:54am UTC](https://forum.kirupa.com/t/-hieght--width-tut/14244/1 "2003-02-24T01:54:13Z")

</div>

Here is a tut that can be useful…

Useful for what?  
Well Zoom in magnify,Thumbnails.

Is the code hard?

Hell No  
Its very simple 3 lines of code

What’s the code look like?

```auto
onClipEvent (mouseDown) {
    _width = 200;
    _height = 200;
}

```

Teach Me?

Well make a square and put it on stage.

Convert it to a MC(MovieClip)

Add the code above.

Explaination.

```auto
onClipEvent (mouseDown) {

```

The Event When you click the mouse down it will do the following.

```auto
_width = 200;

```

Simple enough the width of your Square will change in to the width of 200 on the stage.

```auto
_height = 200;

```

Same thing but chnage the square so it is 200 in hieght

This tut was just o give an example of some Zomming in and simple code.
