# How to make an input text field trigger an action when user clicks on it to write?

**URL:** <https://forum.kirupa.com/t/how-to-make-an-input-text-field-trigger-an-action-when-user-clicks-on-it-to-write/267739>\
**Category:** flash\
**Created:** [August 5, 2008, 9:48am UTC](https://forum.kirupa.com/t/how-to-make-an-input-text-field-trigger-an-action-when-user-clicks-on-it-to-write/267739 "2008-08-05T09:48:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jaremore7](https://avatars.discourse-cdn.com/v4/letter/j/b2d939/32.png) [@Jaremore7](https://forum.kirupa.com/u/Jaremore7)\
**Post date:** [August 5, 2008, 9:48am UTC](https://forum.kirupa.com/t/how-to-make-an-input-text-field-trigger-an-action-when-user-clicks-on-it-to-write/267739/1 "2008-08-05T09:48:05Z")

</div>

aHello everyone!

I’m trying to achieve something that I’m sure it’s not that complicated, but unfortunately I have not clue how to do it.

I have created some text fields. And what I want to do, it’s that when the user clicks onthem, in order to start writing, I want a specific movieclip to dissapear.

This could be achievable if I knew how to make the textfield behave like a button; but I don’t know what code I need for this, as onPress it’s not working at all.

Any help would be appreciated.

Cheers!
