I have a Flash 9 app (named "fred"), which loads a Flash 8 app ("george"), and I need these two apps to be able to communicate, in both directions.
It seems that a LocalConnection is the typical answer to this, but I have issues with security. fred is loaded from a private domain (my own), and george runs from a highly public domain (like putfile). Here are the problems: I have a lot of control over fred, but the code in george needs to be simple. 1. If fred makes a LocalConnection to listen to george (allowing his domain), then any number of other apps, coencidentially loaded from george's domain, can send crap to fred. -- Can I make fred verify that it was george and not just some other schmuck SWF from george's site? 2. If another app on george's site makes a localconnection before george gets loaded, it could trump george's ability to listen to commands from fred. 3. If the fred+george app is loaded twice, the localconnections will have already been in use, making them unable to make a connection in the newly loaded copy. ...so, how can this be solved? Is there a way to make LocalConnection (or some other type of connection) talk only within the same Flash player? Is there a way to "know" what URL is sending data through the LocalConnection? - Kipp _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com