Font changes and action script with input text

Does anyone know how to use Action Script to change the font or bold or italicise or whatever (preferably of the text that hasn’t been inputted yet, but either way works) of text in an input text field?

So in other words, make it so that the user can type things in, then click a button so that the text becomes bold and then another to make it italicised?

best guess (too lazy to try’n get it working): enable html for the text field; on your buttons=action to take the input string and add the necessary tags at beginnning and end before outputting it again…should be fairly simple?!

good thought line Eyez… I’m going to have to try that out.