nonmodal Alert box in flex.

In flex by default the Alert box is modal ,so to set it to nonmodal we have to use a constant of Alert Class.

The constant is the third parameter in the Alert statement.And it would be,


An Example is given which alerts in nonmodal.

<mx:Button x=”178″ y=”71″ label=”Submit” click=”alertMe()”/>
import mx.controls.Alert;
private function alertMe():void
{“kumar Gandhi”,”Non Modulas Alert”,Alert.NONMODAL);

A simple alter and use of Alert Box.


One Response to nonmodal Alert box in flex.

  1. Ved says:

    Thank you! =)

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: