Hey all,
I’m in the process of revamping up my site, and what I’m trying to do is figure out how to expand upon what chris99022 did with loading text from an external source, namely a text file, using this action:
on (release) {
loadText = new LoadVars();
loadText.load(“wedding.txt”);
loadText.onLoad = function(success) {
if (success) {
// trace(success);
newsBox.html = true;
newsBox.htmlText = this.myNews];
}
};
}
Now, this works fine if I have the dynamic text field in the same mc (movie clip) file as where the button is that will display the text when it’s pressed. Tried it, it works. My problem is that I need the text to load into ANOTHER mc file in the same library, which is named “Symbol 73” (yes, I’m working off a purchased Flash template, don’t throw anything at me). The reasoning for this is that there are two mc files right next to each other, and the ■■■■ template has it set up so that one side could be an image and one should have been static text…but I needed to change that all around.
Anyway, is this something that can even be done? I have scoured the net and forums all over and I can’t seem to find what piece of code would actually do the trick. Thanks in advance for any assistance anyone can give me.