Hi,
First of all I would like to say hello to everyone since I’m new here.
I got this problem, loading a variable from a text file, intro.txt. The text file is as follows:
&bodytext=bla bla bla&&textloaded=OK&
The code in the button that loads the variable value into containerMC.daTextBox is like this:
on (release)
{
System.useCodepage = true;
loadText = new loadVars();
loadText.load("intro.txt");
loadText.onLoad = function(success) {
if (success) {
// trace(success);
_root.containerMC.daTextBox=/:bodytext;
}
};
titleMC.Title1 = "HOME";
titleMC.Title2 = "HOME";
titleMC.gotoAndPlay(2);
}
But nothing appears (bla bla bla). I’ve also tryed “this.bodytext”, and it doesn’t work. If I place, for example, “test” then it appears.
Any idea on what I’m doing wrong?
Kind regards,
Kepler