Skip to main content
Participating Frequently
Mar 30, 2012 1:56 PM UTC
Question

LocalConnection domain null problem

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 is closed to new replies. Start a new post to keep the conversation going.

3 replies

Participating Frequently
Mar 30, 2012 2:44 PM UTC

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.

Translate
chris.campbell
Legend
Mar 31, 2012 12:13 AM UTC

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

Translate
Participating Frequently
Apr 2, 2012 10:28 PM UTC