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

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!