Delaying a code

I made and if else code, that loads a movie, but want to set a time interval on the middle

here is the code

loadMovie(“e-movies/microsoft.swf”, “_root.juan”);
_root.juan.stop();
dale = _root.juan.play();
if (_root.juan.getBytesLoaded() == root.juan.getBytesTotal()) {
_root.juan.Play();
} else {

///wait here 10 seconds and repat the script above

}

i commented (///) the action in the else case. How can i make flash wait 10 seconds before it repetas the script?

help please!

thanks!

loader=function(){
loadMovie(“e-movies/microsoft.swf”, “_root.juan”);
if (_root.juan.getBytesLoaded() == _root.juan.getBytesTotal()) {
_root.juan.play();
clearInterval(interval);
}
}
interval = setInterval(loader, 10000);

…the general idea, though loader scripts like that are generally handled everyframe. No ned to wait 10 seconds. what if it loads in 11? thats another 9 seconds of needless waiting.