Getting Started: AlertManager for Flash CS3
Using AlertManager in your Flash application is simple and requires just a few lines of ActionScript.
To include an Alert in your application, you must first add the AlertManager component to your library. You can do so by dragging it from the Components panel directly to the library, or by dragging an instance to the stage, and immediately removing it (it will stay in your library). Additionally, you need to import the following class for use in your class or frame script.
com.yahoo.astra.fl.managers.AlertManager is the main required class for an AlertManager control.
To create an Alert, you call the AlertManager.createAlert() method. This is a static method, so you actually call it on the AlertManager class (hence the uppercase "AlertManager"). This method has 2 required parameters and six optional parameters used for customization.
To see a live example, please install Adobe Flash Player version 9 or higher.
Download the FLA file.
For additional topics, please read Using AlertManager, or take a look at the Examples section for functional demonstrations. The ActionScript 3.0 Class Reference contains full details on every property, method, and style available to the AlertManager component.