Variable problems

okay, the next issue came up during the cration of a multi-language website. I wanted to store a value in the variable _root.lang, which was easy enough. I checked by creating a dynamic textbox (named Topbox from now on) and assigning it with the variable: so far so good. Then, I wanted a button to check the current language, so it could check the language and display the correct page when pressed. Since only the Dutch (“nederlands”) page loaded I decided to check it with some dynamic textboxes. The code looks like this now:

on(release){

if (_root.lang = “nederlands”)
_root.txt1 = “nederlands”;

else if (_root.lang = “duits”)
_root.txt2 = “duits”;

else if (_root.lang = “engels”)
_root.txt3 = “engels”;
}

For some reason, everytime I use this button, the variable returns to “nederlands” in the Topbox, and all the languages are displayed in their own boxes (txt1, txt2 and txt3), while there can be only one “language” at a time. After a little fondling i got it better, but still only “nederlands” appears in txt1. Can anybody help me, I need to take care of this pronto so I’m in quite a hurry, I hope someone knows what to do to overcome this.