Actionscript pause

Hey guys, I’ve been meddling with a script on a project of mine in Flash MX ver.6…

stop();
var interval = setInterval(function () {
play();
clearInterval(interval);
}, 5000);

The script works fine and all, but beyond the instance that the script initiates and ends itself, it seems to ignore all other stop(); functions and actually causes a lot of crazy behaviour like looping, and scene jumping etc.

Is there actually a script that I can use that will pause the timeline like this script does, but doesn’t actually crash the swf as it currently is doing?

I’ve now resulted to dragging the timeline to an excess of 200 frames just to work around the scripting problem. Something of which I’d much rather not do. Thanks.