Button Arrangment

My knowlegde with Action Script is extremly limited. And I have a task I would like to accomplish but know the only answer is using code.

In the file attatched, I have placed a numberof buttons on a single layer. My goal is to make it so when the mouse rollsover the button, that button will automatically be arranged to the top.

As you can see, the buttons are sitting ontop of eachother. With the far right Pink button being at the top, and the Red button on the left arranged underneath all the other buttons.

The overall goal is quite hard to explain, so please feelfree to download the .fla in order to further understand what it is im going on about.

Thank you for your time.

Mark


Teen british