Link to home
Start Free TrialLog in
Avatar of aahzman
aahzman

asked on

New to Director - need to make a drop-down menu

Hi there,

I'm a total newbie to Director and yet need to make a CD-based catalog, with PDF display and more... Nothing like jumping in at the deep end, huh?

The first thing I need to sort out is navigation for my catagories.  I would like it to emulate the same kind of navigation as seen here:

http://www.buckeyecolorlab.com/

With the drop-down menus on mouse over.  However, I have *NO* idea where to start this with Director.  I did find something on the Macromedia website that used mouseClick to change a text field, but it didn't work quite how I want it to.

If anyone could help me out, I would *really* appreciate it!  And remember - newbie here, so easy to understand examples/instructions would be wonderful! :)

Thanks so much,

Andy
Avatar of nax
nax

i would suggest that you study first the mouse event handling of director.

on mouseup, on mousedown, on mouseenter, on mouseleave, on mouseupoutside, on mousewithin.

director does have its own built in methods for windows style drop down menus.  you define a menu something like this

menu: Volume
Loud | go to frame "Loud"
Medium | go to frame "Medium"
Soft | go to frame "Soft"
Mute | go to frame "Mute"

in a text cast member, for example "volume menu"
words to the left of the pipe (|) appear as items on the menu, words to the right are the lingo commands executed when the item is clicked.

Simply instal it in the first frame of the score like this

on enterFrame
    installMenu member "Volume Menu"
end


done and done
ASKER CERTIFIED SOLUTION
Avatar of sunstream
sunstream

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
sorry - just realised some of the comments are from before I finished... please ignore the bit that says "must put the link in here....."