I encountered the following problem with HTTPService in AIR app. Here is a code:
RequestAccountsHTTP.url = File.applicationStorageDirectory.resolvePath("db/accounts.xml").nativePath;
Under Windows XP everything works fine, but under Mac OS Snow Leopard following error occur.
[RPC Fault faultString="HTTP request error"
faultDetail="Error: [IOErrorEvent type="ioError"
bubbles=false cancelable=false eventPhase=2
text="Error #2032: Stream Error. URL: app:/Users/svp/Library/Preferences/com.myapp/Local%20Store/db/accounts.xml" errorID=2032]. URL: /Users/svp/Library/Preferences/com.myapp/Local Store/db/accounts.xml"]
I have Flex Builder 3, AIR 1.5.3, sdk 3.5 on both OS.
I would be glad of any help. Thanks.
I solved it by replacing .nativePath with .url