PopUpManager class
ActionScript Class Name
The PopUpManager class lets you create overlapping windows that can be modal or nonmodal.
(A modal window doesn't allow interaction with other windows while it's active.) You use the
methods of this class to create and destroy pop-up windows.
Method summary for the PopUpManager class
The following table lists the methods of the PopUpManager class.
Method
PopUpManager.createPopUp()
PopUpManager.deletePopUp()
PopUpManager.createPopUp()
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX 2004 and Flash MX Professional 2004.
Usage
PopUpManager.createPopUp(parent, class, modal [, initobj, outsideEvents])
Parameters
A reference to a window to pop-up over.
parent
A reference to the class of object you want to create.
class
A Boolean value indicating whether the window is modal (
modal
An object containing initialization properties. This parameter is optional.
initobj
outsideEvents
outside the window (
Returns
A reference to the window that was created.
Description
Method; if modal, a call to
and creates an instance of class. If nonmodal, a call to
class as a child of the parent window.
mx.managers.PopUpManager
Description
Creates a pop-up window.
Deletes a pop-up window created by a call to
PopUpManager.createPopUp()
A Boolean value indicating whether an event is triggered if the user clicks
) or not (
true
false
createPopUp()
Components Dictionary
.
). This parameter is optional.
finds the topmost parent window starting with parent
createPopUp()
CHAPTER 6
) or not (
).
true
false
creates an instance of the
PopUpManager class
601
Need help?
Do you have a question about the FLASH MX 2004-USING COMPONENTS and is the answer not in the manual?