import mx.events.CloseEvent;
import mx.controls.Alert;
[Embed(source="a.png")]
private var questionIcon:Class;
private function simpleAlert():void{
Alert.show("An Alert dialog with custom icon",
"Alert Event Handler", 0,null, null,
questionIcon);
}