Input fields for drawing

Hi,

I am a neewbee…
I just started experimenting with actionscript (2) and can not get over of some hurdles.

I would like to make input boxes for values, what is used for draw a line…

For example x1, y1, x2, y2…

Any idea, how to start with that?

Thanks

Attila