MACROMEDIA FLASH 8-COMPONENTS LANGUAGE Reference page 1470

Components language reference
Table of Contents

Advertisement

If you use the Popup Manager to add a Window component to a document, the Window
instance will have its own Focus Manager, distinct from the rest of the document. If you don't
use the Popup Manager, the window's contents participate in focus ordering with the other
components in the document. For more information about controlling focus, see
"FocusManager class" on page 721
Components.
Components such as Loader, ScrollPane, and Window have events to determine when
content finishes loading. To set properties on the content of a Loader, ScrollPane, or Window,
add the property statement within a "complete" event handler, as shown in the following
example:
loadtest = new Object();
loadtest.complete = function(eventObject){
content_mc._width= 100;
}
my_window.addEventListener("complete", loadtest)
For more information, see
Window parameters
You can set the following authoring parameters for each Window component instance in the
Property inspector or in the Component inspector (Window > Component Inspector
menu option):
closeButton
indicates whether a close button is displayed (
close button broadcasts a
that calls
Window.deletePopUp()
the
event, see
click
If a window was created by means other than PopUp Manager, you can't close it.
contentPath
specifies the contents of the window. This can be the linkage identifier of the
movie clip or the symbol name of a screen, form, or slide that contains the contents of the
window. This can also be an absolute or relative URL for a SWF or JPEG file to load into the
window. The default value is
title
indicates the title of the window.
The minHeight and minWidth properties are used by internal sizing routines. They are
defined in UIObject, and are overridden by different components as needed. These
properties can be used if you make a custom layout manager for your application.
Otherwise, setting these properties in the Component inspector has no visible effect.
1466
Window component
or "Creating custom focus navigation" in Using
"Window.complete" on page
event, but doesn't close the window. You must write a handler
click
to explicitly close the window. For more information about
.
Window.click
. Loaded content is clipped to fit the window.
""
1479.
) or not (
true
false
). Clicking the

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH 8-COMPONENTS LANGUAGE and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash 8

Table of Contents