nightwares mini logoA brief introduction to Director

22. Work Smarter

More on menus.

Director 8.5 Shockwave Studio: A Beginner's Guide

Online reader support forum for the book

Obviously, there have been a few changes between the menus, and there would be other changes to be made if there were more menu items to consider.


However for real economy it's genuinely most efficient to define the standard menu for your development platform, then duplicate that menu definition and alter it to reflect whatever the specifications are for your other platform. In this way you save a lot of typing and you can be reasonably sure that whatever commands you have associated with individual menu items (such as AboutBox() or QUIT in the example above) will be consistently given to your movie's scripts, regardless of how the actual menu items might appear to the user.

In addition having the menus side-by-side onscreen allows you to compare them and to make consistent changes as needed to them.

Finally, having them onscreen makes them readily accessible to you as the developer and prevents Director from mistaking the menus as "unused" cast — that is, cast members which are not actually used in the Score. (This will be important to remember later on.)


1. Introduction

2. Definition of Objectives

3. Specific Objectives

4. Stage Size

5. Stage Location

6. Setting the Stage's Color

7. Beginning to Enter Script

8. A bit More About the StartMovie() Handler

9. Entering Another Handler

10. A Break-down of the CheckColor() Handler

11. A Quick Test

12. Adding Text to the Stage

13. Preparing to Enter a Frame Script

14. Entering the Frame Script

15. Adding a Quit Button

16. The Progress so Far

17. Preparing to Add a Menu

18. Discussion of Menu Requirements

19. Preparing the Menu Storage Member

20. Entering Menu Functions for Macintosh

21. Entering Menu Functions for Windows

22. Efficientlly Handling Multiple Menus

23. Preparing to Insert the Menus Onscreen

24. Adding the Menu Installation Handler

25. Discussion of the Menu Installation Handler

26. Adding Code for an About Box

27. Review of the Scripts

28. Creating a Projector and Running it