Skip to main content
Participating Frequently
March 30, 2012
Question

LocalConnection domain null problem

  • March 30, 2012
  • 1 reply
  • 673 views

Hi all,

I started to migrate flex app to air mobile project and i can't get over one problem with LocalConnection, which does not dispatch any StatusEvent when I call send method on it. No Security or Async error events are dispatched. Could it be, because the domain property of localConnection object is null? I am running the app on desktop (not mobile device) at the moment.

This topic has been closed for replies.

1 reply

Participating Frequently
March 30, 2012

Ok, it seems that one have to choose another way how to detect multiple instances of application in air applications, because the status event is not sent if the given localConnection doesn't have any client connected on it. That's not a big problem since one can use a connect method as well and check if it fails or not or simply add some little timer. But - the question is - why it is working in web based flash player? And why is there a null value in domain property of the localConnection? It's null even if dubugging on mobile device. When running desktop air application, domain is set correctly.

chris.campbell
Legend
March 31, 2012

Could you please open a new bug report on this over at bugbase.adobe.com?  Please post back with the URL so that others affected can add their comments and votes.

Thanks,

Chris

Participating Frequently
April 2, 2012