Loading Text inside a Loaded SWF?

I have my MAIN FLASH WEBSITE that loads a PROFILE section which is a separate SWF file.

Inside the profile.swf, I have the sub nav button ‘experience’ dynamically pulling a text file into my text box.

If you view the ‘profile.swf’ file alone, the text is being pulled fine.

However, If you view the MAIN FLASH WEBSITE, choose ‘Profile’ link, then ‘Experience’ Link. The text box DOES load the text, but you can’t SEE it.

You can tell it is loading the text files because the scroll bar becomes active, and I can cut and paste the invisible text into my notepad program.

Why is my text invisible?

Here is my Sub navigation code for the ‘experience’ button located on ‘profile.swf’:

[AS]
on (release) {
loadText = new loadVars();
loadText.load(“profile_experience.txt”);
loadText.onLoad = function(success) {
if (success) {
// trace(success);
scroller.html = true;
scroller.htmlText = this.myText;
}
};
}
[/AS]

I am new to actionscript, I don’t know at this point what to do.

Thank you in advance for any help with this!

  • Govinda