Flash LocalConnection Issue

LocalConnection is a powerful method for coordinating two Flash movies on the same web page. It must, however, be used with care and careful consideration. The connection is opened using a "connection string" of sorts: just a string name really. Even if you have a very simple connection between two movies, subtle problems can arise. Since the scope of the connection is the user's computer and not the one page they have open, if the user opens multiple web pages and other pages have the same LocalConnection connection string, the connection on at least one of the pages will malfunction. This is true even if the user opens up two copies of the same page on different browsers.
The solution is simple: ensure unique names by creating dynamic connection strings (well...it's not really that simple, but here's an example) and close your connections