Forum Moderators: open
var op = 6; //This is just an example, this would actually be based on the piece that is clicked on.
if(_root.s&var(op)=='0'){ //if nothing is on it
_root.move.gotoAndPlay(op);
}
I continuously get error messages involving the if statement. I want it to turn into, " if(_root.s6=='0'){".
Do you know how to fix this?
Please help!
Thanks!