horizintal submenu showing on rollover AS3

ctasik used Ask the Experts™
Hello, I am trying to build a menu (using AS3) that would look approximately like this:
On click or on roll over sub-menu shows up (green buttons) and main menu items shift right.
Could you help me with this or point to a tutorial?

Thank you.
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Its quiet easy.

I have created a FLA file to explain how it should be done.
Let me know if you have questions.

(Please note that the code is written in AS 3.0 using FLash CS3)

The attached file is a FLA file, I have changed the extension to (.txt) so that I can upload it here.
After downloading, rename it with (.fla) extension.


I looks pretty good, but do you know the way to do it without using frame animation. Can we just have 2 buttons in the library and describe the rest through the code?

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial