# Dynamic text loading swf?

**URL:** <https://forum.kirupa.com/t/dynamic-text-loading-swf/258396>\
**Category:** Uncategorized\
**Created:** [April 23, 2008, 4:59pm UTC](https://forum.kirupa.com/t/dynamic-text-loading-swf/258396 "2008-04-23T16:59:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![maxoys45](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/maxoys45/32/1122_2.png) [@maxoys45](https://forum.kirupa.com/u/maxoys45)\
**Post date:** [April 23, 2008, 4:59pm UTC](https://forum.kirupa.com/t/dynamic-text-loading-swf/258396/1 "2008-04-23T16:59:54Z")

</div>

Ok at the moment im making a database of people and the way its set up the user can click on a section eg. “tall people”. this loads a swf file that has all the tall people in a dynamic textbox that is loaded externally.

the code that loads the text files is: [COLOR=RoyalBlue]loadVariables(“players.txt”, \_root.texty);[/COLOR]

the text file is written like this:

[COLOR=Red] players=\<b\>name\</b\>\<br/\>Bob\<br/\>John\<br/\>Garry[/COLOR]

is there any code i could put in the text file so that when one of these names is clicked, a swf file is loaded in the main flash movie?

- (like when u click a button on a swf and it does the “[COLOR=RoyalBlue]loadMovieNum(bla.swf, 1);[/COLOR]” actionscript?)
- 

Sorry if that doesnt make much sense or is confusing, its hard to explain 😃

max
