src.given = 1
// I have tried doing it like this
var
given = 0
// and like this
mob
var
given = 0
but it always says undefined variable
ID:167340
Mar 26 2006, 7:34 am
|
|
How would I define a variable like this
src.given = 1 but it always says undefined variable |
Mar 26 2006, 9:42 am
|
|
Show us the code were it gives you this "undefined variable".
|
mob That should work... make sure you're using given and not Given or Gven or some other typoed version thereof. Of course, if you attatch given to a mob, then ask for an obj's given value, it will be wrong. If you used var src.given = 1 will be an error. And you only need 3 periods (...) in elipses, not 8. --Vito |