I’ve gone through the Dynamic Text posts but still can’t figure this one out:
I load 3 movies, all in different levels and with one of the movies containing a dynamic text box which loads an external .txt file.
if I view the stand alone .swf file which contains the dynamic text box everything works fine. when I load the “base” movie which then loads the other two movies, the external text file won’t display.
how do I correctly target the .txt file in my frame action script?
(movie “base.swf”=level 0, bg.swf=level1, content.swf=3)
my current frame actions in “content.swf”:
LoadVarsText = new LoadVars();
LoadVarsText.load(“ww.txt”);
// assign a function which fires when the data is loaded:
LoadVarsText.onLoad = function(success) {
if (success) {
trace(“done loading”);
// Now that we know the data is loaded,
// set the text content of the Text Field
// with the instance name “scroller” equal to the
// contents of the variable
scroller.html = true;
scroller.htmlText = this.var1;
} else {
trace(“not loaded”);
}
};
cheers to anyone’s help!