Hello, thanks to all who help .
I am creating a program that requires one to load a text file with variables using:
textFile="hello.txt";
var here = this
varReceiver = new LoadVars();
varReceiver.load(textFile);
varReceiver.onLoad = function() {
question=this.question1;
answer=this.answer1;
}
with the text file as follows:
&question1=hello&
&answer1=one + one is two&
I wish the program read, for example the question1 variable from file as: “hello”
and answer1 as: “one + one is two”.
But, the “+” sign is not read by flash. Simply, the answer1 variable is: “one one is two”.
I found out that the “+” is not the only symbol that flash doesn’t read from the text file, but also “%”, and I’m sure there are others.
Is there a way to read a text file which include + and % etc.?
The .fla is found in the zip file and .txt file is also attached.
Thanks so much!