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,
Alert.NONMODAL
An Example is given which alerts in nonmodal.
<mx:Button x=”178″ y=”71″ label=”Submit” click=”alertMe()”/>
<mx:Script>
<![CDATA[
import mx.controls.Alert;
private function alertMe():void
{
Alert.show("kumar Gandhi","Non Modulas Alert",Alert.NONMODAL);
}
]]>
</mx:Script>
A simple alter and use of Alert Box.
June 21, 2008 at 2:05 am
Thank you! =)