The following example shows how you can toggle the drop shadow on a Flex Panel container by setting the dropShadowEnabled style.
Full code after the jump.
Continue reading ‘Toggling the drop shadow on a Panel container in Flex’
The following example shows how you can toggle the drop shadow on a Flex Panel container by setting the dropShadowEnabled style.
Full code after the jump.
Continue reading ‘Toggling the drop shadow on a Panel container in Flex’
The following example shows how you can add an icon to a Flex Panel container’s title bar by setting the titleIcon property.
Full code after the jump.
Continue reading ‘Adding a title icon to a Panel container in Flex’
The following example shows how you can assign an HTML formatted string to a Panel container’s status text field using the getStatusTextField() method in the mx_internal namespace.
Full code after the jump.
Continue reading ‘Adding links to a Panel container’s status text in Flex’
In a previous example, “Setting the border alpha on a Panel container in Flex”, we saw how you could change a panel’s border alpha by setting the borderAlpha style.
The following example shows how you can set the background alpha on a Flex Panel container by setting the backgroundAlpha style.
Full code after the jump.
Continue reading ‘Setting the background alpha on a Panel container in Flex’
The following example shows how you can set the border alpha on a Flex Panel container by setting the borderAlpha style.
Full code after the jump.
Continue reading ‘Setting the border alpha on a Panel container in Flex’
The following example shows how you can indent the title of a Panel control in Flex by setting the titleStyleName style and textIndent style.
Full code after the jump.
The following example shows how you can set a Panel container’s layout to horizontal or vertical in Flex by setting the layout property.
You can also set the Panel container’s layout to “absolute”. For an example, see “Setting the border thickness in a Flex Panel container”.
Full code after the jump.
Continue reading ‘Setting the child layout direction of a Flex Panel container’
The following example shows how you can set the border thickness of each edge (left, right, top, and bottom) separately on a Panel container in Flex by setting the borderThicknessLeft, borderThicknessRight, borderThicknessTop, and borderThicknessBottom styles.
Full code after the jump.
Continue reading ‘Setting the border thickness in a Flex Panel container’
The following example shows you how you can change the header height on a Panel container in Flex by setting the headerHeight style.
Full code after the jump.
Continue reading ‘Setting the header height on a Flex Panel container’
The following example shows how to use the backgroundDisabledColor and disabledOverlayAlpha styles to add a nice overlay to a container when the container’s enabled property is set to false.
Full code after the jump.
Continue reading ‘Setting a Flex container’s background disabled color and disabled overlay alpha’
The following example shows how you can set custom status messages in a Flex Panel container by setting the aptly named status property.
Full code after the jump.
Continue reading ‘Setting custom status messages in a Flex Panel container’
Another quick sample (I’m cleaning out my Flex projects from the past year). This time we look at controlling a Panel container’s roundness versus squareness by setting the cornerRadius style.
Just drag the slider to control the corner radius of the two panels (one with a ControlBar and one without).
Full code after the jump.
Continue reading ‘Rounding a Panel container’s corners using the cornerRadius style’