Hey J! first of all thanx for replying...I tried what u suggested and its giving undefined, but anyway cant seem to address the issue...
im guessing the problem is on this line:
Code:
computerSelection = Number(tGirls2.computerCheck);
i've tried:
Code:
computerSelection = Number(tGirls2[computerCheck]);
computerSelection = (tGirls2[computerCheck]);
computerSelection = Number(tGirls2.computerCheck);
Still not working...still getting undefined when i try this first and then the line above :
Code:
trace(tGirls2[computerCheck]);
trace(tGirls2.computerCheck);
trace(String(tGirls2[computerCheck]));
trace(String(tGirls2.computerCheck));
But...if i try: (is giving me the correct amount of letters on the TXT file!!, and not the amount of undefined) (????)
Code:
trace(computerCheck.length);