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;
}
}
click='Alert.show("this is a test", "Alert",Alert.OK | Alert.CANCEL, this,alertListener, iconSymbol, Alert.OK );' />