# Convert MC to Button behavior?

**URL:** <https://forum.kirupa.com/t/convert-mc-to-button-behavior/252812>\
**Category:** flash\
**Created:** [February 23, 2008, 10:04pm UTC](https://forum.kirupa.com/t/convert-mc-to-button-behavior/252812 "2008-02-23T22:04:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alex\_Grim](https://avatars.discourse-cdn.com/v4/letter/a/8e7dd6/32.png) [@Alex\_Grim](https://forum.kirupa.com/u/Alex_Grim)\
**Post date:** [February 23, 2008, 10:04pm UTC](https://forum.kirupa.com/t/convert-mc-to-button-behavior/252812/1 "2008-02-23T22:04:04Z")

</div>

Wow, this is a little trickier than i thought it was going to be…  
Here’s what i’ve tried:

```php

TL.createEmptyMovieClip("tn" + i0 + i1,TL.getDepth() + i0 + i1);
TL["tn" + i0 + i1]._x = xpos;
TL["tn" + i0 + i1].width = 100;
TL["tn" + i0 + i1].height = 100;
TL["tn" + i0 + i1].loadMovie(".." + thumb);
TL["tn" + i0 + i1].hitArea = TL["tn" + i0 + i1];
TL["tn" + i0 + i1].useHandCursor = true;

```

But that doesn’t seem to be what i need to be doing. Any tips?

Thanx.
