Mega Code Archive
Alert dialog box with Icon
import mx.controls.Alert;
import mx.events.CloseEvent;
[Embed(source="a.jpg")]
[Bindable]
public var iconSymbol:Class;
private function alertListener(eventObj:CloseEvent):void {
// Check to see if the OK button was pressed.
if (eventObj.detail==Alert.OK) {
myText.text = myInput.text;
}
}