Help with dynamic textbox

i want to create a textbox on my flash file that allows the users (UI) to key in the input such as setting the interval. can anyone be so kind as to help me with it… THANK YOU