title: Detect allowNetworking parameter in Flash
body: <p>Greetings,</p>
  
  <p>This is regarding a Flash security/sandbox issue. I was wondering if there was a way for the loaded Flash .swf object to know whether <code>allowNetworking="internal"</code> is set for it, possibly using ActionScript (2.0 or 3.0).</p>
  
  <p>I found a <a href="http://jaycsantos.com/flash/experiment-how-to-determine-if-allownetworking-parameter-is-enabled/" rel="nofollow">solution</a>, but it does not differentiate whether the restrictions are from <code>allowNetworking</code> or <code>allowScriptAccess</code> settings.</p>
  
  <p>I am not particularly looking for a work around (although that would be interesting too), but just to be able to <strong>detect</strong> whether specifically <code>allowNetworking</code> is set to <code>"internal"</code> or at least something other than <code>"all"</code>.</p>
  
  <p>Cheers :)</p>