air app doesnt connect to web service even though swf does
hey there,
i'll try and be brief. we built a kiosk app in flash builder as a pure as3 project. when we went to convert it to a air app everything seems fine except for two issues. one is that we cant use the Security.allowDomain("*"); tage. no big deal we comment that out but when we do we cant connect to the web service we are using. here is the error msg we get:
ioErrorHandler: errorProductId: WebApplicationException
ioErrorHandler: currentTarget: Error #2032: Stream Error. URL: http://api.macys.com/v2/catalog/product?prodid=559529&prodid=586262&prodid=442702&prodid=539030&prodid=444331&prodid=593389&prodid=102435&prodid=519743&prodid=357571&prodid=128285&prodid=407708&prodid=209799&prodid=417917&prodid=498705&prodid=131858&prodid=597478&prodid=142166&prodid=470687&prodid=584020&prodid=167015&prodid=75190&prodid=432111&prodid=481224&prodid=549755&prodid=483429&prodid=414178&prodid=596422&prodid=385591&prodid=226280&prodid=142163
here is the error from charles:
<error>
<errorCode>103</errorCode>
<message>Incorrect arguments types or combination</message>
<errorDetail>WebApplicationException()</errorDetail>
<success>false</success>
</error>
now if we run just the swf it connects fine. the only reason i need this app to be in an air wrapper is so that i can supress the print dialog box. otherwise i would just create a exe file.
any ideas would be lovely!
thanks
