Window.titleStyleDeclaration

Availability

Flash Player 6.0.79.

Edition

Flash MX 2004.

Usage

windowInstance.titleStyleDeclaration

Description

Property; a string indicating the style declaration that formats the title bar of a window. The default value is undefined which indicates bold, white text.

Example

The following code creates a window that displays the content of the movie clip with the linkage identifier "ChangePassword" and uses the CSSStyleDeclaration "MyTWStyles":

var myTW = PopUpManager.createPopUp(_root, Window, true, {contentPath:"LoginForm",
                                   titleStyleDeclaration:"MyTWStyles"}); 

For more information about styles, see Using styles to customize component color and text.