Undocumented methods for the DialogBox component
The following methods were added or changed after the documentation was created.
Highlights
| Method | Description | |
| New | MDialogBox.doOpen() | This method shows a previously instantiated dialog instance. |
| New | MDialogBox.setIsModal() | This method determines whether the dialog will be modal or non-modal. |
| Change | MDialogBox.doClose() | This method will no longer execute a .removeMovieClip function when closed, but hides it instead. |
| Change | MDialogBox.configureModalDialog() | This method will no longer recreate the interactionKiller function with every call, but will instead toggle the setting to show or hide it. |
MDialogBox.doOpen
- Usage: myDialog.doOpen()
- Parameters: none
- Returns: nothing
- Description: Method; initiates an open event and shows a previously instantiated dialog box instance.
- Example:
myDialog.doOpen();
MDialogBox.setIsModal()
- Usage: myDialog.setIsModal(
boolean) - Parameters: A Boolean value: true will make the dialog box modal, or false will make the dialog box non-modal.
- Returns: nothing
- Description: Method; indicates whether the dialog box is modal or non-modal.
MDialogBox.doClose
- Description: Method; initiates a close event and hides the dialog box. Note: this method hides the dialog box by setting _visible = 0. If you want to completely remove the box from memory, you can call removeMovieClip() .
MDialogBox.configureModalDialog
- Description: Method; this method initiates the modal screen, but only creates it once, then toggles between show/hidden.
This content requires Flash
To view this content, JavaScript must be enabled, and you need the latest version of the Adobe Flash Player.
Download the free Flash Player now!
