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.
Continue reading ‘Setting the header height on a Flex TitleWindow container’
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.
Continue reading ‘Accessing a TitleWindow container’s internal close button in Flex’
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.
Continue reading ‘Changing the close button skin on a Flex TitleWindow container’
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.
Continue reading ‘Toggling the close button in a Flex TitleWindow container’
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.
Continue reading ‘Styling the TitleWindow container’
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 login. It will display the error message every time. In a future example I’ll try and add some fancy fade in/out effects or resize effects on the error message to give it that proper “Web 2.0 feel”.
Full code after the jump.
Continue reading ‘Using the TitleWindow container to display status messages’