From the category archives:

Panel

Triggering effects when a container is resized

by Peter deHaan September 23, 2007

The following example uses a resizeEffect effect along with a Resize tween effect (<mx:Resize />) to create a smooth tween effect whenever the panel is resized.
Full code after the jump.

Read the full article →

Triggering effects when a container’s visibility is changed

by Peter deHaan September 20, 2007

The following example shows you how you can trigger effects when the visible property changes on a Flex container or control by using the hideEffect and showEffect effects.
Full code after the jump.

Read the full article →

Setting a Flex container’s background disabled color and disabled overlay alpha

by Peter deHaan September 16, 2007

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.

Read the full article →

Setting custom status messages in a Flex Panel container

by Peter deHaan August 31, 2007

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.

Read the full article →

Adding icons to Panel containers

by Peter deHaan August 2, 2007

Personally, I’m amazed I can write an entire post around setting a single (and simple) style, but yet here I am. The following example shows how you can place an icon of your choosing in the upper-left corner of a Panel container. As an added bonus, at least I create the Panel in both MXML [...]

Read the full article →

Rounding a Panel container’s corners using the cornerRadius style

by Peter deHaan August 2, 2007

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.

Read the full article →