PDA

View Full Version : Drop Down Menu prob


schwaa
01-13-2002, 08:25 AM
Hi all, new here, and to Flash for that matter. I've dabbled a little bit but am getting more serious now, Flash is just too cool to neglect any longer.
============================================
I'm redoing my site, was going to use dhtml but will probably learn that for backup site.

My question is,

How can I have multiple drop down menus?

I've followed this tut:
www.actionscripts.org/tutorials/beginner/Drop_down_menu/index.shtml (http://www.actionscripts.org/tutorials/beginner/Drop_down_menu/index.shtml)

and it helped to get one dropdown working, the problem is the second one dropped down when the first one did, so I put it later in the timeline and that seemed to work, until I clicked on the second menu and the first one dropped down.

each menu is on its own layer.

Is this possible to do?

any help is appreciated, Thanx!

Billy T
01-13-2002, 12:07 PM
please post some of the code you are using...

schwaa
01-13-2002, 06:09 PM
Well, I'm not really using any code.

I've just set the frame properties to stop on a couple frames and

goto>play on a couple of the buttons in certain frames.

I just followed the tut mentioned above, if you wouldn't mind taking a look at it, it might be easier than posting the whole process here.

I'll upload the .swf file.


http://schwaa.the3dstudio.com/drop_down_menu.zip
300K

I followed the tut which puts the menu up in frame 1-5, drops in frames 5-10, goes back up in frames 10-15. When I add a second menu at the same time in the timeline, the trigger button for the first menu will trigger the second menu, if I put the second menu later in the timeline (frames 15-30) the first menu will work right and the second one will drop right but triggering the second menu to go up will make the first one come back down.

sorry if that's a bad explanation, thanx for trying to help!

Tink
01-13-2002, 07:40 PM
hi schwaa

your problem was that the 2 drop down menus u create both sat on the main timeline so when 1 went to fame 5 and the animation started it also started on the other drop down as the animation for that started on frame 5.

the way to solve this is to use movie clips. movie clips have their own timeline so that when u click on the button now, it tells the movie clip to go to frame 5 of its timeline instead of the main timeline.

all i have done is copied your frames and pasted them into a new movieclip, them put two instances of the movie clip on the main stage.

hope this helps

BLEEDA

schwaa
01-14-2002, 01:28 AM
BLEEDA,
Thanx alot, I'm going to check it out now!

I can tell already, its going to be a long learning process but will be well worth it.

Thanx again,
Schwaa

schwaa
01-14-2002, 03:04 AM
Hey, just wanted to let you guys know that its working!!!

Thanx