HELP ME to use Flash to remove html frames in the browser

hello

I need a script that will remove all frames in the browser window and load a new html document so it takes up the entire browser window space.

Until now I have been using getURL to do this but it only loads the new URL in that one frame of the page.

-newbie