Skip to main content
amitKumarKanda
Inspiring
July 18, 2013
Question

Local connection multiple instance

  • July 18, 2013
  • 1 reply
  • 482 views

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

This topic has been closed for replies.

1 reply

Inspiring
July 18, 2013

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.