Hi, I’m having a little problem loading external text from a button inside a movie clip, I’m pretty sure it has something to do with my paths…the code for external text loading is the one I got from one of the tutorial in this site (chris99022 ). Anyway, I attach the source code. I’d appreciate any help. Thank you.
Arggh, I can’t attach it coz my file’s too big. Well, the code is :
on (release) {
loadText = new loadVars();
loadText.load("TEXT1.txt");
loadText.onLoad = function(success) {
if (success) {
// trace(success);
newsBox.html = true;
newsBox.htmlText = this.myNews;
}
};
}
How should I modify it so the path points to the textfield that’s on the main scene?