Draw line 90 degree bounded

Hi Guyes,

I want to draw straight line in 90 degree boundation through actionscript, but its making me stuck to create just a single straight line.

Hope any body can help me.

Regards,
saurabh