RE: [flexcoders] Re: LocalConnection issue in AIR to AIR application

2009-01-16 Thread Kevin Benz
So if I understand you, this is the calling (outbound side of the
request) and this error is in the console output? 

 

Phase 2 means that it was in the targeting phase of the dispatch. 

Are you calling allowDomain() on the connection object?

 

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of Pete Appleby
Sent: Thursday, January 15, 2009 4:49 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: LocalConnection issue in AIR to AIR
application

 

Hi, Kevin. Thanks for the pointer. I looked at the example in the
arthropod debugger class. Unfortunately, it is only the send half of
the equation. It did point me into the direction of verifying that the
domain name is correct.

The error I receive from the Send status event is:

type=status bubbles=false cancelable=false eventPhase=2 code=null
level=error

There is not much to go with. My test sample applications display the
names used in the Connect and Send, everything seems to be in order.

Not sure how I can post code here.

A google search found only a few hits on the above error. One was the
same post a few times about using in FLASH when the receiving swf file
was not running. Another was in German, and my high school German was
over 30 years ago.

Any ideas about this are appreciated!

Pete

 

image001.jpgimage002.jpg

RE: [flexcoders] Re: LocalConnection issue in AIR to AIR application

2009-01-16 Thread Kevin Benz
And one other important note. The ADL runtime (the debug player) needs
special handling in order for enable communication to happen. You need
to set command-line arguments to make it work with Air to Air
communication work.

 

Note: When you run your application with ADL (or with a development tool
such as Flash CS3, Flex Builder, or Dreamweaver), the publisher ID is
null and must be omitted from the domain string. When you install and
run your application, the publisher ID must be included in the domain
string. You can assign a temporary publisher ID using the ADL command
line arguments. Use a temporary publisher ID to test that the connection
string and domain name are properly formatted.

 

adl [-runtime runtime-directory] [-pubid publisher-id] [-nodebug]
application.xml [root-directory] [-- arguments]

 

-pubid publisher-id Assigns the specified value as the publisher ID of
the AIR application for this run. Specifying a temporary publisher ID
allows you to test features of an AIR application, such as communicating
over a local connection, that use the publisher ID to help uniquely
identify an application. The final publisher ID is determined by the
digital certificate used to sign the AIR installation file.

 

Better yet, export your Air runtimes and try without the adl fun.

 

KFB

 

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of Pete Appleby
Sent: Thursday, January 15, 2009 4:49 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: LocalConnection issue in AIR to AIR
application

 

Hi, Kevin. Thanks for the pointer. I looked at the example in the
arthropod debugger class. Unfortunately, it is only the send half of
the equation. It did point me into the direction of verifying that the
domain name is correct.

The error I receive from the Send status event is:

type=status bubbles=false cancelable=false eventPhase=2 code=null
level=error

There is not much to go with. My test sample applications display the
names used in the Connect and Send, everything seems to be in order.

Not sure how I can post code here.

A google search found only a few hits on the above error. One was the
same post a few times about using in FLASH when the receiving swf file
was not running. Another was in German, and my high school German was
over 30 years ago.

Any ideas about this are appreciated!

Pete

 

image001.jpgimage002.jpg