Pause actionscript for x seconds

Hi everyone!

Is there a way to pause actionscript for some seconds? I do not mean to pause the playback on the timeline, only the actionscript.

Something like this:

on(rollOver) {
 _root.starten.gotoAndPlay(2);
}
on(rollOut) {
 _root.starten.gotoAndPlay(13);
 
}
on(release) {
 fscommand("Exec", "start_server.exe");
 fscommand("Exec", "start_mysql.exe");
 
 <-- INSERT 5 second pause here -->
 
 mSystem.openDocument("[http://localhost/](http://localhost/dtk_pm)");
}

Thank you very much in advance!

LapisInfernalis

You would have to separate that second half of your on(release) into a function, then call that that using a setTimeout where you have your INSERT text