I'm using the simplest form of Alert popup window. Is there a way I can put a dynamic alert message in the window? For example,
the Alert shows the "XYZ" at beginning, and then change to "ABC" by an event before the OK button is clicked.
First you need to create a refernce to the Alert window.
alert = Alert.show("Hello");
To change the text
alert.mx_internal::alertForm.mx_internal::textField.text = "New Text";
( had to use mx_internals because the following code is not updating the text alert.text = "New text"; )