I need some help with this little gamish thing im working on.
Alright heres what im doing.
First im doing a querystring on a flash file like so.
http://stickthemepark.com/sda/test.swf - Should send you to the error clip
http://stickthemepark.com/sda/test.swf?id=1- Should send you to the boom clip
http://stickthemepark.com/sda/test.swf?id=2 - Should send you to the rar clip
The flash actionscript then includes the variables from test.php?id= ID
It then loads fine but the if statement dosnt seem to like it, or atleast send it to the clip.
stop();
loadVariablesNum("test.php?id=\""+id+"\"", 0, "POST");
if (text == "boom")
{
gotoAndPlay("boom");
}
else if (text == "rar")
{
gotoAndPlay("rar");
}
else
{
gotoAndPlay("error");
}