# Href event

**URL:** <https://forum.kirupa.com/t/href-event/194746>\
**Category:** Uncategorized\
**Created:** [July 25, 2006, 11:26pm UTC](https://forum.kirupa.com/t/href-event/194746 "2006-07-25T23:26:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![courseware](https://avatars.discourse-cdn.com/v4/letter/c/e99b99/32.png) [@courseware](https://forum.kirupa.com/u/courseware)\
**Post date:** [July 25, 2006, 11:26pm UTC](https://forum.kirupa.com/t/href-event/194746/1 "2006-07-25T23:26:17Z")

</div>

Hi Guys,  
Is it possible to grab the Flash \<a href…\> event before it gets sent out to the browser? The movie reads an xml file and re-presents the string there in a dynamic text field. At present I use [\<a href=‘javascript:yep();’\>\<b\>\<font color=’#7869a2’\>" + reader.getValue().toUpperCase() + "&nbsp;&nbsp; \</font\>\</b\>\</a\> ";] to allow the user to select certain words within the string (“reader” is a Flash class I made to handle xml interaction). When they click on these certain words a javascript function is called and the browser handles the event. What I would prefer is for the \<a href…\> event to be caught Flash-side so Flash could handle the event… Sending it to the browser and back again is not an option.

Any ideas:sen:

Cheers courseware
