Is it possible for an Adobe AIR application to connect to a remove webservice that does not expose a cross-domain.xml file? If so, how do you configure the security sandbox within Air to allow this?
I have attempted a socket connection and received the following error:
securityErrorHandler:
[SecurityErrorEvent
type="securityError"
bubbles=false
cancelable=false
eventPhase=2
text="Error #2048: Security sandbox violation: app:/MyApp.swf cannot
load data from gmail.com:5222." errorID=0
]
AIR applications do not have a same domain policy like Flash Player in the browser. So you do not usually need cross domain policy files with AIR apps. However sometimes AIR will throw SecurityErrorEvent's that can be ignored. Here is an example: