[mx] is it possible to have an input box appear at the click of a button?

is it possible to have a pop up box that is a text input box appear when a button is clicked on??
what am i trying to do ?
well basically i have a heater and have been told to make it so that when i click on the plug it will bring up a text box. in the text box i can put in a min or max temp…

is it possible with mx actionscript??