# \[FMX04\] need help with loadVars and a dynamic text hack ... example provided

**URL:** <https://forum.kirupa.com/t/fmx04-need-help-with-loadvars-and-a-dynamic-text-hack-example-provided/237296>\
**Category:** flash\
**Created:** [August 29, 2007, 2:49am UTC](https://forum.kirupa.com/t/fmx04-need-help-with-loadvars-and-a-dynamic-text-hack-example-provided/237296 "2007-08-29T02:49:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ktravers](https://avatars.discourse-cdn.com/v4/letter/k/e19b73/32.png) [@ktravers](https://forum.kirupa.com/u/ktravers)\
**Post date:** [August 29, 2007, 2:49am UTC](https://forum.kirupa.com/t/fmx04-need-help-with-loadvars-and-a-dynamic-text-hack-example-provided/237296/1 "2007-08-29T02:49:35Z")

</div>

Hello kind Kirupa folks. Long time lurker, first time poster. I’m a hack with Action Script, but I need to solve this quickly (of course).

I have dynamic text being pulled in from a txt file. I have invisible buttons over the text which tell movie clips (which are under the text) to go to the appropriate frame on over, down, release. I did this because I couldn’t figure out how to have the text use an html link and have the button states change. The buttons were “stealing focus” from the text or vice-versa. Anyway, this sample explains it better. The .fla is on the server as well. Can someone point me in the right direction? I just want the buttons to read in a URL from the txt file along with the display text. I think I would use loadVars to do that?

Im using CS3 but haven’t gotten into AS3 yet. Don’t know if my title is appropriate. I need to support Flash Player 6 and up.

thanks!  
kevin

sample:  
[http://www.kevintravers.com/testsite/tester.swf](http://www.kevintravers.com/testsite/tester.swf)

.fla  
[http://www.kevintravers.com/testsite/tester.fla](http://www.kevintravers.com/testsite/tester.fla)

txt  
[http://www.kevintravers.com/testsite/text/news1.txt](http://www.kevintravers.com/testsite/text/news1.txt)
