# New to flash API

**URL:** <https://forum.kirupa.com/t/new-to-flash-api/310786>\
**Category:** flash\
**Created:** [June 19, 2010, 8:02am UTC](https://forum.kirupa.com/t/new-to-flash-api/310786 "2010-06-19T08:02:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![magapatalogikaa](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/magapatalogikaa/32/3185_2.png) [@magapatalogikaa](https://forum.kirupa.com/u/magapatalogikaa)\
**Post date:** [June 19, 2010, 8:02am UTC](https://forum.kirupa.com/t/new-to-flash-api/310786/1 "2010-06-19T08:02:08Z")

</div>

Hi,  
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…  
Thanks
