Now that you've defined your two menus you need to have a way to do the following two things:
1. Decide which menu is to be used based on which kind of system your program is running on; and
2. Tell your Projector which menu type to use based on that information.
Fortunately that's easy. For starters you'll want to name your menu
castmembers. To do that, select one of them in the Cast window, and
then click in the little text field at the top of the Cast window. You
should be able to type in a name.
Make it something pretty mnemonic and specific to
the menu type; for instance, you might name the Mac menu castmember
helloMacMenu and the Windows one helloWinMenu. This allows you to tell,
in the Cast window alone, what kind of menu you're looking at — and it
allows Director to tell them apart now.
You could also use the number associated with the
desired castmember, but that's not generally a good idea, since those
numbers can change if, as often happens, the locations of the
castmembers change in the Cast window.
|