Hey first post! Seems like a welcoming forum
Here's my issue: I'm trying to translate my flash site with a .txt (loadvariable)
Here's my code so far:
It loads automatically the english at start so..
Code:
loadVariables("english.txt", "_level0");
and then, on button160 I have this
Code:
on (release)
{
loadVariables("french.txt", "_level0");
}
So I can only translate it one time... then I cannot revert back. How do I do it ?
I tried doing:
Code:
on (release)
{
if (var == "english.txt")
{
loadVariables("french.txt", "_level0");
}
else
{
loadVariables("english.txt", "_level0");
}
}
but with no success