title: Flash redirect problem when not loaded from the same vhost
body: <p>We've got a flash file that takes a URL parameter for redirecting on click.  When it's hosted from the primary domain, and the SWF is included in HTML from the primary domain, the redirect works properly.</p>
  
  <p>However, when it's hosted on the secondary domain, and the SWF is included in HTML from the primary domain, the redirect doesn't work.  I've added a <code>crossdomain.xml</code> file to both the primary and secondary domain, thinking that might help.  The contents of both <code>crossdomain.xml</code> files are included below.</p>
  
  <p>What is it that I'm missing?</p>
  
  <p><strong>crossdomain.xml</strong></p>
  
  <pre><code>&lt;cross-domain-policy&gt;
      &lt;allow-access-from domain="*"/&gt;
  &lt;/cross-domain-policy&gt;
  </code></pre>
  
  <p><strong>EDIT</strong>: Here's the actionscript used for the "redirect".</p>
  
  <p><strong>actionscript</strong></p>
  
  <pre><code>on (release) {
      getURL(clickTag);
  }
  </code></pre>
  
  <p>clickTag is a parameter we're passing in through the querystring.</p>
  
  <p><strong>EDIT</strong>: After adding <code>allowScriptAccess="always"</code> to the embed code, and <code>&lt;param name="allowScriptAccess" value="always" /&gt;</code> to the <code>object</code> tag, the window opens, and the location goes to <code>/undefined</code>.  Thoughts?</p>
  
  <p><strong>EDIT</strong>: As requested, here's the actual object/embed code we're using:</p>
  
  <pre><code>&lt;object type="application/x-shockwave-flash" data="/files/2348.swc" width="300" height="250" class="ad" onclick="ad_click(169);"&gt;
  &lt;param name="movie" value="/files/2348.swc?clickTAG=http://www.google.com"/&gt; 
  &lt;param value="high" name="quality"&gt; 
  &lt;param value="#FFFFFF" name="bgcolor"&gt; 
  &lt;param value="always" name="allowScriptAccess"&gt; 
  &lt;param value="transparent" name="wmode"&gt;
  &lt;/object&gt; 
  </code></pre>