# Need help with \<a\> html tag in projector

**URL:** <https://forum.kirupa.com/t/need-help-with-a-html-tag-in-projector/62307>\
**Category:** flash\
**Created:** [August 26, 2004, 6:37pm UTC](https://forum.kirupa.com/t/need-help-with-a-html-tag-in-projector/62307 "2004-08-26T18:37:54Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![lskywalkr](https://avatars.discourse-cdn.com/v4/letter/l/d9b06d/32.png) [@lskywalkr](https://forum.kirupa.com/u/lskywalkr)\
**Post date:** [August 26, 2004, 6:37pm UTC](https://forum.kirupa.com/t/need-help-with-a-html-tag-in-projector/62307/1 "2004-08-26T18:37:54Z")

</div>

Hi,

I’m working on a program written in flash that will only run through projector. However, most of the text is in html, and I need to use the \<a\> tags to load other articles into the flash. However, \<a\> seems to automatically load new web pages. Any ideas how I can catch when someone presses a hyperlink? Thanks.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 26, 2004, 8:16pm UTC](https://forum.kirupa.com/t/need-help-with-a-html-tag-in-projector/62307/2 "2004-08-26T20:16:05Z")

</div>

You say you want to load articles into flash. You can’t load an HTML page into flash. \<a\> is equivilant to the getURL() in Flash, so yes it will open a new browser. Have you looked at this tutorial?  
[http://www.kirupa.com/developer/mx/multiple\_dynamictext.htm](http://www.kirupa.com/developer/mx/multiple_dynamictext.htm)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 26, 2004, 8:38pm UTC](https://forum.kirupa.com/t/need-help-with-a-html-tag-in-projector/62307/3 "2004-08-26T20:38:45Z")

</div>

Hmmm… maybe I didn’t make my question clear. Basically I want a way to be notified (via an eventhandler or something) when someone clicks a hyperlink in my text. All my text is xml that is being loaded in from xml files. I understand dynamic text, my problem is that if I have, for example…

This is some \<a href=“3.xml”\>text\</a\>

I want my actionscript to be able to catch when the user clicks on that link so that my flash program can load “3.xml” into my dynamic textbox. I understand how to load it in, I just don’t know how to catch when the user clicks a hyperlink.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 27, 2004, 3:48pm UTC](https://forum.kirupa.com/t/need-help-with-a-html-tag-in-projector/62307/4 "2004-08-27T15:48:14Z")

</div>

Any ideas, anyone? Is there anyway to hack this out? I really need help with this. Should I be catching mouse clicks to do this?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 1, 2004, 4:03pm UTC](https://forum.kirupa.com/t/need-help-with-a-html-tag-in-projector/62307/5 "2004-09-01T16:03:37Z")

</div>

Is there anyway that I can know (in actionscript) if someone has clicked something encased in an \<a\> tag in my text box?
