MACROMEDIA FLASH MX 2004-USING COMPONENTS Use Manual page 888

Using components
Hide thumbs Also See for FLASH MX 2004-USING COMPONENTS:
Table of Contents

Advertisement

Window.closeButton
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX 2004.
Usage
windowInstance.closeButton
Description
Property; a Boolean value that indicates whether the title bar should have a close button (
not (
). This property must be set in the
false
PopUpManager.createPopUp()
Clicking the close button broadcasts a
a handler that calls
about the
click
Example
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});
See also
PopUpManager.createPopUp()
Window.complete
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX 2004.
Usage
listenerObject = new Object();
listenerObject.complete = function(eventObject){
...
}
windowInstance.addEventListener("complete", listenerObject)
Description
Event; broadcast to all registered listeners when a window is created. Use this event to size a
window to fit its contents.
888
Chapter 6: Components Dictionary
method. The default value is
click
Window.deletePopUp()
event, see
Window.click
,
Window.click
parameter of the
initObject
false
event, but doesn't close the window. You must write
to explicitly close the window. For more information
.
true
.
) or

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH MX 2004-USING COMPONENTS and is the answer not in the manual?

This manual is also suitable for:

Flash mx

Table of Contents