Search

 

February 2007
S M T W T F S
« Jan   Mar »
 123
45678910
11121314151617
18192021222324
25262728  

Tags

Archives


« | Main | »

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.

AlertChain.gif

Click here to run the application

Click here to get source code

Rich

Topics: Flex 2, Tutorials | 3 Comments »

3 Responses to “Handle Alert Events Sample”

  1. prashant Says:
    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

  2. LNP Says:
    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:

    I like this example… It help me !

    Thanks !

    Reply to this comment

Comments