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:
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):
bottom_text=Privacy Policy | Contact Us | Terms of Service | FAQs | 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.