How do you do a “IF” statement for 6 different option. Basically I am sending a variable in the query string that flash is picking up and loading the according xml. Which is working to an extent. But now I need to add multiple possiblities as well the ability to show a error if the query string contains a value that is none of the above selections. I know its simply coded at thispoint but I need to expand it a bit.
example that is “kinda” working
if (_root.movieVer == "version2"){
pl.loadXML("2.xml");
} else {
pl.loadXML("1.xml");
}
myText.text = _root.movieVer
Any help appreciated