Flas and variables - if else statements
I’m new to flash and seem to have a problem with variables brought over from php.
I have a main movie loading in two other swf’s - one just gets the data from php on a loop to return variables as echo “word=$word&player=$player”;
Both variables are being returned into the movie as I have no problem with tem being shown in dynamic text boxes but if I try to use the variable player (which will only contain 1,2,3,or 4) in some if else statements it doesn’t seem to work ? If I enter the variable thru the browser as main.swf?player=1 all the if/else code works OK so I don’t think there’s a problem there.
Is there anything I need to do to set the variable differently. I just want the variable to be used to load a different swf file in the main.swf file depending on the number returned from php.