I have a flash file from a customer in which there is a
function as follows:

function pause()
{
gotoAndPlay(1);
clearInterval(pausei);
};
pausei = setInterval(pause, 500);

The flash file is in a div when the flash loads one more function gets called wsexpand . The function wsexpand is defined outside in the normal js file wherein the height/width of the div is changed in intervals of 20 milliseconds...while the function is processing the pause function gets called and the flash file is refreshed.I dont wnt the flash file to get refreshed.
If wsexpand is geting fired i dont wnt pause to get fired as the flash file is customer's file and i cannot change the action script in that.I only have control on the wsexpand function.

Please help