« Vote Now for Yahoo Maps!! | Main | ComboBox Bug »
Handle Alert Events Sample
| By Rich Tretola | February 23, 2007 | |
| 6,132 views |
This is a very simple example on how to handle Alert events and provide context specific responses.
Click here to run the application
Rich
Topics: Flex 2, Tutorials | 3 Comments »










June 16th, 2009 at 8:08 am
this is a very good example , you can also set icon for alert box . I know you are aware with this but just wanna a complete functionality on alert on one place .
By the way thanks for this post … Keep it up
Reply to this comment
March 26th, 2010 at 9:29 am
private var alertCount:Number = 0;
private function alertPopUp():void{
mx.controls.Alert.show(“This is Alert # ” + ++alertCount +
“\nClick Yes to launch another popup or No to quit”,
“Choose Yes or No”, 3, this, alertClickHandler);
}
Maybe it is better with this code… because the count is not good on the second alert otherwise.
Reply to this comment
LNP Reply:
March 26th, 2010 at 9:31 am
I like this example… It help me !
Thanks !
Reply to this comment