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.
Continue reading ‘Triggering effects when a container is resized’
The following example shows how you can set a Button control to use percentage-based width and heights in ActionScript by using the [aptly named] percentWidth and percentHeight properties respectively.
Full code after the jump.
Continue reading ‘Setting a Flex component or control’s width to a percentage value’
The following example shows how you can control the drop shadow on a Flex TextArea control using the dropShadowColor, shadowDirection, and shadowDistance styles.
Full code after the jump.
Continue reading ‘Creating drop shadows on the Flex TextArea control’