MACROMEDIA FLASH 8-COMPONENTS LANGUAGE Reference page 1471

Components language reference
Table of Contents

Advertisement

You can set the following additional parameters for each Window component instance in the
Component inspector (Window > Component Inspector):
enabled
is a Boolean value that indicates whether the component can receive focus and input.
The default value is
true
visible
is a Boolean value that indicates whether the object is visible (
The default value is
true
For more information about the following five skin parameters, see
Window component" on page
skinCloseDisabled
determines the close button in its disabled state. The default value is
.
CloseButtonDisabled
skinCloseDown
determines the close button in its down state. The default value is
.
CloseButtonDown
skinCloseOver
determines the close button in its over state. The default value is
.
CloseButtonOver
skinCloseUp
determines the close button in its up (default) state. The default value is
.
CloseButtonUp
skinTitleBackground
.
TitleBackground
titleStyleDeclaration
value is undefined, which causes the title bar to have white, bold text. See "Setting custom
styles for groups of components" in Using Components.
You can write ActionScript to control these and additional options for the Window
component using its properties, methods, and events. For more information, see
class" on page
1472.
Creating an application with the Window component
The following procedure explains how to add a Window component to an application. In this
example, when the user clicks a button the window displays an image.
To create an application with the Window component:
1.
Drag a Window component from the Components panel to the current document's
library. This adds the component to the library but not to the Stage.
2.
Drag a button component from the Components panel to the Stage; in the Property
inspector, give it the instance name my_button.
.
.
1470.
determines the title bar appearance. The default value is
assigns the name of the style declaration for the title text. The default
) or not (
true
"Using skins with the
"Window
Using the Window component
).
false
1467

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