Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>I've had a look and it doesn't seem possible to do exactly what you want to do. If you have control of a server you can route requests through a server yourself ... and Adobe has <a href="http://www.adobe.com/devnet/flex/tourdeflex/web/#sampleId=13000" rel="nofollow noreferrer">examples of this using their Flex Data Access services</a> (BlazeDS and LiveCycle) to go through a proxy. Then again if you control your own server you can get it to proxy anyway you like ...</p> <p>But I'm afraid there doesn't seem to be anyway to directly set a proxy on the client side using ActionScript.</p> <p>As for Flash respecting the browsers proxy, I can't say I know from first-hand experience but the evidence from searching isn't good. Here is an article that claims <a href="http://coderrr.wordpress.com/2009/07/29/how-to-force-flash-or-any-program-to-use-a-socks-proxy-using-transocks-and-iptables-in-linux/" rel="nofollow noreferrer">flash won't use your browsers proxy setting for SOCKS on Linux</a> and suggests you need to alter your iptables. There is also this <a href="http://bugs.adobe.com/jira/browse/FP-519" rel="nofollow noreferrer">adobe bug report</a> suggesting it doesn't work for rtmp connections at least. Other anecdotal evidence suggests that it works <em>sometimes</em> (for HTTP requests) for some browsers.</p> <p>So if you need to guarantee that a connection goes through a proxy it looks like you'll need to route your requests through a server and proxy from there.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload