import mx.controls.Alert; private function showAlert():void { Alert.noLabel = "Nooooo"; Alert.yesLabel = "Yeeeeees"; Alert.show("message","title",Alert.NO | Alert.YES); }