# Dynamic text and anchors

**URL:** <https://forum.kirupa.com/t/dynamic-text-and-anchors/53657>\
**Category:** flash\
**Created:** [June 6, 2004, 5:50am UTC](https://forum.kirupa.com/t/dynamic-text-and-anchors/53657 "2004-06-06T05:50:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![redbear](https://avatars.discourse-cdn.com/v4/letter/r/e9a140/32.png) [@redbear](https://forum.kirupa.com/u/redbear)\
**Post date:** [June 6, 2004, 5:50am UTC](https://forum.kirupa.com/t/dynamic-text-and-anchors/53657/1 "2004-06-06T05:50:58Z")

</div>

here is my problem… i have a dynamic text field that i am calling text into from an external text file and i need to have flash buttons call to anchors within that text field.

here is my code for the first frame to call the text (if this helps):

myData = new LoadVars();  
myData.onLoad = function() {  
myText\_txt.htmlText = this.content;  
};  
myData.load(“glossary.txt”);  
stop();

and i am using the \<a name=“A”\>\</a\> code within the text file so that button A will call to anchor named A…but i just can’t seem to figure this one out.

anyhelp here would be very appreciative…thanks in advance…
