From the category archives:

TitleWindow

In a previous example, “Creating an undraggable Alert control in Flex”, we saw how you could create a Flex Alert control that isn’t draggable by listening for the mouseDown event and calling the stopImmediatePropagation() method in the event handler.

The following examples show how you can create an undraggable TitleWindow container by setting the isPopUp property to false on the TitleWindow instance.

Full code after the jump.

[click to continue…]

{ 3 comments }

The following example shows how you can use the PopUpManager class to display a VideoDisplay control in a TitleWindow container in Flex.

Full code after the jump.

[click to continue…]

{ 18 comments }

The following example shows how you can create a pop up TitleWindow container using the Flex PopUpButton control.

Full code after the jump.

[click to continue…]

{ 16 comments }

The following example shows you how you can change the header height on a TitleWindow container in Flex by setting the headerHeight style.

Full code after the jump.

[click to continue…]

{ 0 comments }

The following example shows how you can access the close button in a Flex TitleWindow container by using the closeButton property in the mx_internal namespace.

Full code after the jump.

[click to continue…]

{ 4 comments }

In a previous example, “Creating custom pop-up windows with the PopUpManager class”, we saw how you could use ActionScript to create pop up windows using the PopUpManager class in Flex.

In the following example we see how you can create a custom MXML component and pass the class name to the static PopUpManager.createPopUp() method to display the pop up.

Full code after the jump.

[click to continue…]

{ 37 comments }

The following example shows how you can change the appearance of the close button in a TitleWindow container in Flex by setting the closeButtonSkin style (or the closeButtonUpSkin, closeButtonOverSkin, closeButtonDownSkin, closeButtonDisabledSkin styles individually).

Full code after the jump.

[click to continue…]

{ 8 comments }

The following example shows you how you can toggle the close button in a TitleWindow container in Flex by setting the showCloseButton property.

Full code after the jump.

[click to continue…]

{ 0 comments }

Styling the TitleWindow container

by Peter deHaan September 10, 2007

The following example shows how you can customize the Flex TitleWindow container by setting the “.windowStyles” style, “.windowStatus” style, and TitleWindow style.
Full code after the jump.

Read the full article →

Using the TitleWindow container to display status messages

by Peter deHaan August 22, 2007

Another example of something I’ve seen lately on the Internet, so I thought I’d build it in Flex. This time I usea TitleWindow to display the status message of a login form. You can close the message by clicking the X button in the upper-right corner of the title window.
Note that there is no correct [...]

Read the full article →

Creating custom dialog boxes using the PopUpManager and TitleWindow classes

by Peter deHaan August 20, 2007

Here are a couple examples of using the TitleWindow container with the PopUpManager class to create custom pop-up windows and dialog boxes.
Full code after the jump.

Read the full article →