# Wait x seconds, how?

**URL:** https://forum.kirupa.com/t/wait-x-seconds-how/127066
**Category:** Uncategorized
**Created:** [October 29, 2004, 11:42pm UTC](https://forum.kirupa.com/t/wait-x-seconds-how/127066 "2004-10-29T23:42:12Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![ougle](https://avatars.discourse-cdn.com/v4/letter/o/94ad74/32.png) [@ougle](https://forum.kirupa.com/u/ougle)
#### Post date: [October 29, 2004, 11:42pm UTC](https://forum.kirupa.com/t/wait-x-seconds-how/127066/1 "2004-10-29T23:42:12Z")

</div>

Hi, i want to have some action script code like:  
//some code here  
//wait so many seconds(or milliseconds)  
//then do so more code here

I know I could do this using the time line and lots of frames, but surley there is a way to do it in actionscript.

How would I do this, or is it near impossible and better to do it with frames?

Thanks for any help or response,  
Ougle.
