Tag Archive for 'resize'

06
Apr

Centering a pop up window when a Flex application is resized

The following example shows how you can center a pop up window (in this case an Alert control) when the Flex application is resized by using the resize event on the <mx:Application /> tag and using the static PopUpManager.centerPopUp() method.

Full code after the jump.

Continue reading ‘Centering a pop up window when a Flex application is resized’

23
Sep

Triggering effects when a container is resized

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’