Simple timeline delay - actionscript 2

use setTimeout to call a function delayed, such as:

setTimeout(myFunction, 5000);

function myFunction()
{
}

the first arg in the function name to call, the second arg is how long to wait in milliseconds, that that will call myFunction after 5 seconds.

If you want it to call the function repeatedly, not just once, use setInterval instead of setTimeout.