# Problems loading dynamic text

**URL:** <https://forum.kirupa.com/t/problems-loading-dynamic-text/236088>\
**Category:** flash\
**Created:** [August 17, 2007, 1:52am UTC](https://forum.kirupa.com/t/problems-loading-dynamic-text/236088 "2007-08-17T01:52:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![solepixel](https://avatars.discourse-cdn.com/v4/letter/s/c2a13f/32.png) [@solepixel](https://forum.kirupa.com/u/solepixel)\
**Post date:** [August 17, 2007, 1:52am UTC](https://forum.kirupa.com/t/problems-loading-dynamic-text/236088/1 "2007-08-17T01:52:08Z")

</div>

I am having the most difficult time figuring out how to load text into a flash movie in several different text objects. There’s no text in the root of my movie, however inside several movie clips, i have multiple text objects that I need to load the text in dynamically (as HTML). I tried using:

```auto
onClipEvent (load) {
  loadVariables("vars.php", this, "GET");
}

```

And what I’m doing, is going into the root, then clicking on each movie clip (i have 4 in the root), then pasting that AS in the actions panel.

Next issue is the same, only i’m trying to make the text for a button be dynamic. Is this done the same way?

More questions: What HTML is accepted in these areas? Do/Can I setup a stylesheet for these? How?

This is the “vars.php” page I have setup (with only 1 variable):

```auto
bottom_text=Privacy Policy&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;Contact Us&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;Terms of Service&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;FAQs&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;About

```

But none of this works? All i get in my movie (aside from inside the buttons) are: \_level0.main\_content.welcome\_text1 and \_level0.main\_content.welcome\_text2 instead of actual values. AND if the values didn’t load, then they should be blank!

Please help, i’m really struggling with this.
