The following example shows how you can display a drop shadow behind a Flex VBox container by setting the borderStyle and dropShadowEnabled styles.
Full code after the jump.
{ 3 comments }
Just a bunch of Adobe Flex Examples
From the category archives:
The following example shows how you can display a drop shadow behind a Flex VBox container by setting the borderStyle and dropShadowEnabled styles.
Full code after the jump.
{ 3 comments }
The following example shows how you can set effects on a Flex Image control using ActionScript by setting the showEffect and hideEffect effects using the setStyle() method.
Full code after the jump.
{ 0 comments }
The following example shows how you can clip a container’s content in Flex by setting the clipContent property.
According to the Flex 3 documentation for the Container class’s clipContent property:
Whether to apply a clip mask if the positions and/or sizes of this container’s children extend outside the borders of this container. If
false, the children of this container remain visible when they are moved or sized outside the borders of this container. Iftrue, the children of this container are clipped.
IfclipContentisfalse, then scrolling is disabled for this container and scrollbars will not appear. IfclipContentistrue, then scrollbars will usually appear when the container’s children extend outside the border of the container.
The default value istrue.
Full code after the jump.
{ 0 comments }
The following example shows how you can set a background image and background size for a Flex VBox container by setting the backgroundImage, and backgroundSize styles.
Full code after the jump.
{ 0 comments }
The following example shows how you can set both an background image and background color and change its alpha to for a Flex VBox container by setting the backgroundImage, backgroundColor, and backgroundAlpha styles.
Full code after the jump.
{ 0 comments }
The following example shows how you can control the amount of vertical spacing between items in a VBox container by setting the verticalGap style.
Full code after the jump.
{ 5 comments }
The following example shows how you can use the verticalScrollPolicy property on a Flex VBox container to control the appearance of the vertical scroll bar when the container’s contents exceed the dimensions of the container.
Full code after the jump.
{ 0 comments }