Posts tagged as:

close()

The following example shows how you can detect when a Flex Alert control is closed by listening for the close event by specifying the closeHandler parameter in the static Alert.show() method.

Full code after the jump.

[click to continue…]

{ 2 comments }

The following example shows how you can determine when the Flex DateField control’s is opened or closed by listening for the open or close events.

Full code after the jump.

[click to continue…]

{ 0 comments }

In a previous example, “Creating custom pop-up windows with the PopUpManager class”, we saw how you could use ActionScript to create pop up windows using the PopUpManager class in Flex.

In the following example we see how you can create a custom MXML component and pass the class name to the static PopUpManager.createPopUp() method to display the pop up.

Full code after the jump.

[click to continue…]

{ 37 comments }

The following example shows how you can detect when the Flex PopUpButton control is opened or closed by listening for the open or close event.

Full code after the jump.

[click to continue…]

{ 0 comments }

The following examples show how you can programmatically open and close a ComboBox control’s drop down menu in Flex by using the open() and close() methods of the ComboBox class in Flex.

Full code after the jump.

[click to continue…]

{ 0 comments }