PDA

View Full Version : Buttons and Menu Sluding


thede
02-13-2002, 06:11 AM
Hi

I'm trying to create a menu slider window with clickable links such as here

http://www.flashawd.com/

I've tried various methods but nothing's working; links on the menu window make the window disappear.. etc. .. can't seem to get this in script.

Can anyone help with script? I tried searching here but couldn't find anything....

Thanks alot for any help.

Billy T
02-13-2002, 07:19 AM
what are you wanting to do? those drop down menus?

thede
02-13-2002, 07:34 PM
Hi Billy :)

Yes, the drop down part (what I call the 'window') is the issue... when I add links to that window part, the the entire window disappears when I rollover the link (button) on the window (it's a button over button thing, I believe)

How do I add links to that 'window' part and make it able to click on it while keeping that window open? I only want the 'window' to close when I open another menu on a different button.

Thanks!

Billy T
02-13-2002, 11:37 PM
there are many ways to do it

probaby the easiest is -

- put your movieclip in an mc
- put the mc on your stage
- give the buttons in your mc an action such as

on (release){
_root.gotoAndPlay("section1");
}

where section1 is a frame label in your main timeline.

make sure that the layer that has your menu mc only has 1 keyframe (in frame 1).

its hard to know why your menu is disappearing and stuff without knowing how you have contructed it

cheers

nic
02-13-2002, 11:38 PM
Put up your file Thede.

thede
02-14-2002, 02:18 AM
Hi guys.. I tried what you said, Billy, but I'm not having much luck here ;\

I don't want the menu 'window' to show until I rollover the button and I would like the window to stay open until my mouse is outside of the window area. Also, I want the links listed on the window to work.

You'll notice that it works ok .. until I try to click on the actionscript.org link.. then it goes whacko.

I really wanted the window part to slide open.. but I can live with it just being born a full window if I have to.

Here's the .fla .. if someone could tell me specifically how to do this (talk to me like a newbie) .. that would be great. :)

Thanks again.

nic
02-14-2002, 02:41 AM
Here's an easy way to get started.

Your main prob was putting a button inside a button, etc. Banging buttons into mc's is normally the go...

thede
02-14-2002, 03:23 AM
Whoa.. :D

nic, you're awesome! Thanks sooo much for your help. I wouldn't have gotten that by myself. Sometimes I wonder if I ever will.. but I just keep banging my head with it anyway.

You even made it drop down, too. So cool.

Thanks again! :)

nic
02-14-2002, 03:32 AM
Sweet. Bend the mind.

Get into it...