Hi all of you guys! ... it's been a while.
I came across this problem...I have a simple flash movie that only loads some text from a .txt file.
The code used on the first frame of the movie (instance name of the dynamic textfield: <i>title</i>; name of the .txt file: <i>test.txt</i>; variable name from the .txt file: <i>var1</i>):
-----------------------------------------------
loadVarsText = new LoadVars();
loadVarsText.load("test.txt");
loadVarsText.onLoad = function (success){
if (success){
title.text = this.var1
}
}
-----------------------------------------------
The content of the .txt file:
var1=Conosamentul completeaz? c?r?u? vânz?torul
The problems appear with these characters: ?, ?, â
Thanks a lot!
Regards,
Dragos.
I came across this problem...I have a simple flash movie that only loads some text from a .txt file.
The code used on the first frame of the movie (instance name of the dynamic textfield: <i>title</i>; name of the .txt file: <i>test.txt</i>; variable name from the .txt file: <i>var1</i>):
-----------------------------------------------
loadVarsText = new LoadVars();
loadVarsText.load("test.txt");
loadVarsText.onLoad = function (success){
if (success){
title.text = this.var1
}
}
-----------------------------------------------
The content of the .txt file:
var1=Conosamentul completeaz? c?r?u? vânz?torul
The problems appear with these characters: ?, ?, â
Thanks a lot!
Regards,
Dragos.