# How to wait until user respond and then continue process?

**URL:** <https://forum.kirupa.com/t/how-to-wait-until-user-respond-and-then-continue-process/283572>\
**Category:** flash\
**Created:** [March 8, 2009, 8:35am UTC](https://forum.kirupa.com/t/how-to-wait-until-user-respond-and-then-continue-process/283572 "2009-03-08T08:35:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![cpthk](https://avatars.discourse-cdn.com/v4/letter/c/aca169/32.png) [@cpthk](https://forum.kirupa.com/u/cpthk)\
**Post date:** [March 8, 2009, 8:35am UTC](https://forum.kirupa.com/t/how-to-wait-until-user-respond-and-then-continue-process/283572/1 "2009-03-08T08:35:37Z")

</div>

If I have code:

```auto

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?
