How to wait until user respond and then continue process?

If I have code:


Alert.show('Please respond');
request.send();

In this code, flex will pop alert to screen and immediately send out the request. How do I wait until user clicks ok on the alert and then send out the request?