Ok, I see. I guess my problem is that in Chrome it does create a new connection with the existing name but it IE it doesn't. Should I follow this tutorial to make it work in IE? https://web.archive.org/web/20150908073329/https://helpx.adobe.com/flash-player/kb/unsandbox-localconnection-chrome.html
On Wed, Aug 3, 2016 at 12:22 PM Clint M <[email protected]> wrote: > didn't say that or mean that > > in one swf you call connect… while in the other swf you call send > you don't call connect in both swfs > > > On Wed, Aug 3, 2016 at 10:16 AM, mark goldin <[email protected]> > wrote: > > > I am not getting it. Where does it say you cannot communicate between two > > flash players? > > > > On Wed, Aug 3, 2016 at 11:55 AM Clint M <[email protected]> wrote: > > > > > Maybe try the tutorial here: > > > > > > > > > http://help.adobe.com/en_US/as3/dev/WS5b3ccc516d4fbf351e63e3d118666ade46-7c7e.html > > > And the docs here: > > > > > > > > > http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/net/LocalConnection.html > > > > > > On Wed, Aug 3, 2016 at 9:48 AM, mark goldin <[email protected]> > > wrote: > > > > > > > The link you are pointing to cannot be found. > > > > Also this is from the help: > > > > Local connections enable this kind of communication between SWF files > > > > without the use of fscommand() or JavaScript. LocalConnection objects > > can > > > > communicate only among files that are running on the same client > > > computer, > > > > but they can be running in different applications — for example, a > file > > > > running in a browser and a SWF file running in Adobe AIR. > > > > > > > > On Wed, Aug 3, 2016 at 11:40 AM Clint M <[email protected]> wrote: > > > > > > > > > Two things... > > > > > > > > > > 1. You're failing to understand how local connection works. You > can't > > > > have > > > > > two flash player's connect to the same named connection. > > > > > 2. It's working (or rather not working) in Chrome because of this: > > > > > > > > > > > > > > > > > > > > https://helpx.adobe.com/flash-player/kb/unsandbox-localconnection-chrome.html > > > > > > > > > > On Wed, Aug 3, 2016 at 9:08 AM, mark goldin <[email protected] > > > > > > wrote: > > > > > > > > > > > I have the following code: > > > > > > private function createLocalConnection():void > > > > > > { > > > > > > conn = new LocalConnection(); > > > > > > conn.client = this; > > > > > > try { > > > > > > conn.connect("ConnectionName"); > > > > > > } catch (error:ArgumentError) { > > > > > > Alert.show("Can't connect"); > > > > > > } > > > > > > } > > > > > > I am loading different applications. When first is loading I dont > > get > > > > an > > > > > > error. When second is loading I do get it. But in IE only, Chrome > > > > doesn't > > > > > > have that problem. > > > > > > As the result some things dont work in IE. > > > > > > > > > > > > Any idea what's going on? > > > > > > > > > > > > Thanks > > > > > > > > > > > > > > > > > > > > >
