Mega Code Archive
Include an icon in the Alert control
import mx.controls.Alert;
import mx.events.CloseEvent;
[Embed(source="logo.jpg")]
[Bindable]
public var iconSymbol:Class;
private function alertListener(eventObj:CloseEvent):void {
if (eventObj.detail==Alert.OK) {
myText.text = myInput.text;
}
}