title: Flash ClickTAG and clickTarget
body: <p>I am new to flash and JavaScript, and currently try to insert a clickTAG to the FLA and passing the destination URL from outside to clickTAG in order to provide dynamic destination...</p>
  
  <p>I had insert clickTAG like below:</p>
  
  <pre><code>on (release) {
    if (_root.clickTAG.substr(0,5) == "http:") {
      getURL(_root.clickTAG, _root.clickTARGET);
    }
  }
  </code></pre>
  
  <p>While I pass the following URL to clickTAG, everything fine
  <a href="https://stackoverflow.com/">https://stackoverflow.com/</a></p>
  
  <p>However, when I pass the URL (with variable) to clickTAG, it Trim my variables</p>
  
  <p><a href="http://example.com/abcpage?var1=123&amp;var2=223&amp;var3=224" rel="nofollow noreferrer">http://example.com/abcpage?var1=123&amp;var2=223&amp;var3=224</a></p>
  
  <p>and become</p>
  
  <p><a href="http://example.com/abcpage?var1=123" rel="nofollow noreferrer">http://example.com/abcpage?var1=123</a></p>
  
  <p>My javascript below (partly):</p>
  
  <pre><code>&lt;embed allowScriptAccess="always" wmode="transparent" 
  src="http://abcpage/A.swf" 
  flashvars="clickTAG=http://example.com/abcpage?var1=123&amp;var2=223&amp;var3=224&amp;clickTARGET=_blank" /&gt;
  </code></pre>