In my code, I'd like to wait about 5 seconds before executing the next line. The implementation is this:
- show notification - wait 5 seconds - hide notification I tried to use <mx:Pause> dynamically in the ActionScript, but I had trouble executing it. The pause component id is "wait": wait.play([wait]); What's the best way to do this?

