![]() ![]() | |
Flash Player 6.0.79.
Flash MX 2004.
windowInstance.closeButton
Property; a Boolean value that indicates whether the title bar should have a close button (true) or not (false). This property must be set in the initObject parameter of the PopUpManager.createPopUp() method. The default value is false.
The following code creates a window that displays the content in the movie clip "LoginForm" and has a close button on the title bar:
var myTW = PopUpManager.createPopUp(_root, Window, true,
{contentPath:"LoginForm", closeButton:true});
Window.click, PopUpManager.createPopUp()
![]() ![]() | |