Externally loaded SWF contact form problem

im using

stop();
loadVariables("send_email.php?flashmo=" + random(1000), this, "POST");
message_status.text = "sending...";
var i = 0;
function check_status()
{
	if( success == "yes" )
	{
		message_status.text = "Your message was sent successfully!";
		play();
	}
	else if( success == "no" )
	{
		message_status.text = "Your message could not be sent. Please try again.";
		gotoAndStop("stop");;
	}
	if( i >= 20 )
		clearInterval(interval_id);
	i++;
}
var interval_id = setInterval(check_status, 400);

to call the php, it works fine as a standalone swf… but once i test it as a loaded swf it all stops working

my branch would look something like

index.swf > “main” > “content” > contact.swf > “contactmc” > then all my code is located in a frame within this mc

ive tried _root _parent _level0 through to 3, but i cant seem to get this working
perhaps im overlooking something

also if it makes any difference i have _rootlock applied to all my mc’s for the combobox