Iframe hierarchy mess

Hey guys,

I got a little problem here. On my main page, I have an iframe called ‘mainframe’. This iframe holds some flash. When someone clicks on it, the entire .swf is replaced with a web page using a simple getURL statement like getURL(“newpage.htm”,“mainframe”)

Now comes the weird part. I’ve got a flash menu on newpage.htm too. When someone clicks on a link, I wanna change newpage.htm to newpage2.htm. But because the new flash is embedded in the page newpage.htm, it can’t reach the iframe ‘mainframe’ in the parent page.

How can I use getURL to reach outside the current page… up to the main page and tell it change the stuff in ‘mainframe’?

Help would be deeply appreciated.