jonny
jonny

Reputation: 53

Help ! Flex Local connection

i was building an application that use local connection and listens to another application that also uses local connection , the second application is sort of remote control for the first app. it invokes function of the listening app from outside. anyway , everything works good on local host. BUT once i have put the listening app on a server and try to work it , it does not connect anymore. any idea's? Thanks

Upvotes: 0

Views: 385

Answers (1)

Reto Aebersold
Reto Aebersold

Reputation: 16644

Maybe it's a cross-domain problem. You can create a cross-domain policy file, named crossdomain.xml, placed at the root level of a server. It looks basically like this:

 <?xml version="1.0"?>
 <!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
 <cross-domain-policy>
      <allow-access-from domain="www.company.com" />
 </cross-domain-policy> 

Upvotes: 1

Related Questions