Hi There,
My actionscript knowledge is expanding by all the great tutorials here at kirupa and a lot of trial and error. I wanted to make a menu slide out horizontally and add another submenu on the click.
My movie consists of a few mainmenu buttons and some movieclips(per submenu).
clicking portfolio will expand the first submenu, clicking a button in the submenu will expand the second submenu.
With my limited actionscript knowlegde I got it to work from scratch. but it does still have a few problems.
- clicking “portfolio” and then “print”, will expand and collapse the submenu of “print”. but when i roll-off the printbutton (without rolling over any other buttons) and then rollover the printbutton de click doesnt expand the submenu of “print”.
2 when having “portfolio”, “print” and its submenu open. When you rollover “profile” I want to have both levels collapsing, but i can’t get it to work properly.
-
I cant get the swapDepth() to work properly so I had to hardcode a depth of -16368.
-
I guess my code will look pretty amateur, so if someone can help cleanup the code, that would be great!
I hope i explained myself good enough. I’ll attach the movie so you guys can look (and shoot ) at my code. Any help, suggestions etc. are more than welcome. I’ve been staring myself blind on this, and still haven’t got is to work
Thank you!