Copy link to clipboard
Copied
Hi,
I have used local connection between an action script 3 and action script 2 file which is working correctly.
But when we open application in multiple tabs of browser it shows error that the "file is already connected". Is there any way to open the multiple instance of the object.
Thanks,
Amit
Copy link to clipboard
Copied
No, you cannot have multiple connection with the same name. If each tab represents unrelated sets of SWFs - you will need to figure out a way to create random dynamic connection names and make all swfs aware of this name. Depending on your architecture this dynamic name may be delivered via JavaScript or, is SWFs are served on the same page and you have controls over page serving - supply it as page url variable which is read by SWFs. In both cases you will need ExternalInterface capacities.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now