Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Local connection multiple instance

Explorer ,
Jul 17, 2013 Jul 17, 2013

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

TOPICS
ActionScript
468
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jul 18, 2013 Jul 18, 2013
LATEST

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines