# Link with htmlText to AS

**URL:** <https://forum.kirupa.com/t/link-with-htmltext-to-as/316209>\
**Category:** flash\
**Created:** [November 16, 2010, 3:46am UTC](https://forum.kirupa.com/t/link-with-htmltext-to-as/316209 "2010-11-16T03:46:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![treeleaf20](https://avatars.discourse-cdn.com/v4/letter/t/bb73d2/32.png) [@treeleaf20](https://forum.kirupa.com/u/treeleaf20)\
**Post date:** [November 16, 2010, 3:46am UTC](https://forum.kirupa.com/t/link-with-htmltext-to-as/316209/1 "2010-11-16T03:46:27Z")

</div>

All,  
I’m using LoadVars and in my one variable I basically have a link \<a href=“contact.html”\>Contact Us\</a\>.

Is there anyway that I could make this into AS to do something like gotoAndPlay()?

Is there a better way to do this? This is a dynamic text field so I guess I could use a movie clip and put an action on that but I’m not sure where it would end so I’d have to put in the movie clip dynamically and then if I do that I’m not sure how to put the action on it. Can anyone help me with that?

Thanks!
