开发者

Adobe AIR Flex/Actionscript URLLoader vs HTTPService (Async tokens and Windows proxy settings)

I'll try and keep this short.

I've written an AIR app that uses an HTTPService to request various bits of data. There can be multiple services firing at once, so I use the standard AsyncToken behaviour to set variables that can later be used to track what's happening when the call returns.

However, some people/places we're deploying to cannot directly see the server where the XML is held, though they can view its contents through Internet Explorer. Using URLLoader automatically uses IE's proxy settings, so switching to this class solved that problem. The issue with this is that it obviously doesn't support tokens.

Is there any way to force HTTPService to use IE's proxy settings? Or, is there an easy way to apply tokens to URLLoader? I've thought of a few 开发者_开发百科ways (including extending the class), but I want to keep this as simple and clean as possible.

I've seen the discussion at Flex - URLLoader and HTTPService (amongst other questions and sites), but can't seem to find anything that directly answers what I'm after, so any help would be greatly appreciated.


Have you tried using useProxy="true" on the HTTPService?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜