Flash talking to Flash

Hello,

I am trying to make a swf talk to another swf on a web page, i.e. to separate flash pieces would be able to pass information back and forth to each other on a page.

I have some thoughts on how this might work, but I am curious if anyone has done this before, and or what you would think the best way off achieving this would be. Haven’t found much about this topic on the web…

my initial thought would be to have flash update something like an xml file via a webservice, then have the other piece constantly look for a change in information, but that seems forced.

Thanks in advance.