title: AS3 Clicktag Error #1010
body: <p>I got this clicktag but it does not work:</p>
  
  <pre><code>MyClickTagButton.addEventListener(
    MouseEvent.CLICK,
    function():void {
      if (root.loaderInfo.parameters.clickTAG.substr(0,5) == "http:") {
        navigateToURL(
          new URLRequest(root.loaderInfo.parameters.clickTAG), "_blank"
        );
      }
    }
  );
  </code></pre>
  
  <p>When I click it I get this error:</p>
  
  <pre><code>TypeError: Error #1010: A term is undefined and has no properties.
             at Function/&lt; anonymous &gt;()
  </code></pre>