title: HTML anchor in AS3
body: <p>I have an HTML page with a Flash animation inside of it.
  In my page, I created some anchors like this example :</p>
  
  <pre><code>&lt;a id="p1"&gt;&lt;h1&gt;Title 1&lt;/h1&gt;
  </code></pre>
  
  <p>My goal is to access to this anchor with AS3 from a button, so I wrote this :</p>
  
  <pre><code>function re(event:MouseEvent):void
  {
      navigateToURL(new URLRequest("text.html/#p1"),"_parent"
      );
  }
  </code></pre>
  
  <p>It works, <strong>however it removes the swf file from the page.</strong> Maybe I found the issue, after clicking to the button, I got the HTML link <em>without</em> the #p1. </p>
  
  <p>Do you have a way to get this link with the anchor in AS3 ? </p>
  
  <p>In that case I think it would scroll the page until the anchor without removing the swf file...</p>