Ok. So here what i need, we current set the mode of our game via a var with php.
The score system is in its own thingy not sure what it called.
So in the root main scene i put:
if (modeid=="0"){mode = 0 }
if (modeid=="1"){mode = 1 }
if (modeid=="2"){mode = 2 }
Then in the highscore area i put:
function New() {
if (_root.mode = 0) {
getURL("http://domain.com/scorepost.php?score="+_root.Score + "&level="+_root.level +, "_top", "POST");
}
if (_root.mode = 1) {
getURL("http://domain.com/scorepost1.php?score="+_root.Score + "&level="+_root.level +, "_top", "POST");
}
if (_root.mode = 2) {
getURL("http://domain.com/scorepost2.php?score="+_root.Score + "&level="+_root.level +, "_top", "POST");
}
Show();
gotoAndStop("Display");
}
However for some reason no matter what is always uses mode 2? Anyone see the problem?