New to flash API

I am a newbie in AS3 and comletely new to flash drawning API. First time doing this. I already figured out how to draw lines.
Now I have a site that I need to have diagonal lines that always expand to screen size and accompany menu buttons, behaving like in the image attached.
I have absolutely no idea how to do this.

The idea is:
All “W” are buttons; when you rollOver them the lines and content besides it move over to show the entire name of the menu; when you click them, the button and lines beside it move smoothly to give space to it’s content, and the lines following that W button disappear. (there is a seuqence of images attached to show this).
Can anyone give me some light on how to make this work? With the drawing API or without. I could just draw the lines along the menu items…