O'Reilly logo

Lingo in a Nutshell by Bruce A. Epstein

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 15. The MUI Dialog Xtra

The MUI Xtra is new to Director 6 and can create a variety of custom dialog boxes, including Alert boxes. It is used during authoring by Director and other Xtras. It is installed in the Xtras/Media Support subfolder by default, and it must be shipped with your Projector in order to create custom dialogs at runtime.

If using any of the MUI Xtra’s methods, you must include the Xtras named “MUI Dialog” (for Macintosh) or “Mui Dialog.x32” (for Windows) with your Projector, preferably in an Xtras folder one level down from your Projector. (I recommend against bundling Xtras into Projectors. See Chapter 10, Using Xtras, in Director in a Nutshell for details.)

The MUI Xtra’s main limitation is that it is available only for the Macintosh and 32-bit Projectors under Windows 95/NT. If you are using 16-bit (Windows 3.1) Projectors or Shockwave, you should use one of the alternatives discussed in Chapter 14, Graphical User Interface Components, in Director in a Nutshell. The MUI Xtra may also conflict with open MIAWs. Close any MIAWs before using the MUI Xtra or any feature of Director that uses MUI, such as the Behavior Parameters dialog box. See the following Technote for additional details:

http://www.macromedia.com/support/director/ts/documents/unexpected_error.htm

MUI Alert Dialogs

The MUI Xtra’s Alert() command creates modal dialogs with up to three buttons. Its text capacity is limited to 255 characters; for longer text blocks you’ll need to create a custom ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required