-
How to make submenu for a rollover menu?
I've figured out how to create a rollover pop-up menu with 10 buttons with actionscript but now I'm stuck b/c I need to make submenu pop-up for those buttons. Basically, a pop-up within a pop-up.
The actionscript I attached to the original is the following:
-------------------------------------------------------------------
onClipEvent (enterFrame) {
// if the mouse IS over the menu ...
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
// if the menu is NOT fully open
if (this._currentframe<this._totalframes) {
// go to the next frame of the menu opening sequence
nextFrame();
}
// if the mouse is NOT over the menu
} else {
// if the menu is NOT fully closed
if (this._currentframe>1) {
// play the previous frame of the menu opening sequence
prevFrame();
}
}
}
_----------------------------------------------------------------
Should I do the same with the submenu? I attached my sample to show you.
Thanks!
Furpants
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|