title: Swiffy - set up a clicktag - syntax issue
body: <p>I am working with Flash CS6 / AS3 exported with Swiffy for HTML 5.
  I would like to include a clickTag on a simple button but cannot find the proper syntax.</p>
  
  <p>The basic code below, generated by Flash works fine:</p>
  
  <pre><code>this.myButton.addEventListener("click", fl_ClickToGoToWebPage_2);
  function fl_ClickToGoToWebPage_2() {
  window.open("http://www.mysite.com", "_blank");
  }
  </code></pre>
  
  <p>Then I added the javascript code given by Google Swiffy to set the variable in the webpage (no bug so far):</p>
  
  <pre><code>stage.setFlashVars("clickTAG=http://www.mysite.com");
  stage.start();
  </code></pre>
  
  <p>In Flash (AS3), I tried the usual code:</p>
  
  <pre><code>var paramList:Object = loaderInfo.parameters;
  var urlRequest:URLRequest = new URLRequest(paramList["clickTAG"]);
  
  function fl_ClickToGoToWebPage_2() {
  window.open(clickTAG, "_blank");
  }
  </code></pre>
  
  <p>But that does not work :( and the variable does not come through. This even bugs the animation.</p>
  
  <p>Question is, how should I write the Flash code lines to get the variable passed to my window.open function? What I am missing?</p>
  
  <p>Thanks a lot for you help</p>