Interchanging swfs and htms in iframes

Hi,

I’ve got a .swf in an iframe of an html document.

I want to be able to interchange .swfs and .html docs in this iframe.

The thing I wanna know is… when I click on a link on the .swf, can information be sent to the parent page so that parent page replaces the .swf with the .html doc?

Any help would be appreciated.