Archive for April 6th, 2008

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’

06
Apr

Using the ToolTipManager class to determine the current tool tip in a Flex application

The following example shows how you can get the currently visible tool tip in a Flex application by using the static ToolTipManager.currentToolTip property and the toolTipShown event.

Full code after the jump.

Continue reading ‘Using the ToolTipManager class to determine the current tool tip in a Flex application’