Restrict timeline actions to inside a child movieclip?

I’ve done a website with different pages using the Loader component. On one page I have a movieclip that has different images (like a slideshow) that fade between each other. I’m trying to add an action to make the movieclip pause for a few seconds between each fade. So I’ve added this action between each fade (in a layer, above the graphics layers, that only holds actionscript):

stop();
function restart(){
clearInterval(timeInt);
play();
};

timeInt = setInterval(restart,5000); // 5000ms = 5 secs 

It works well, except if I reload the page which has the movieclip in it. Suddenly that child movieclip action is applied to the entire (like _root) website! Any ideas? :puzzled:

*using flash cs4, but actionscript 2.0.