I’m trying to get this line to work, and it just won’t do it. Can’t figure it out.
pumpkinPage.this ["textBox" + i] = currentGuess;
That doesn’t work, but if I do it like this
pumpkinPage.textBox0 = currentGuess;
it works fine. How do I get the first line to work?
What error are you getting?
Assuming
pumkinPageis a dynamic object (Object, MovieClip etc),pumpkinPage["textBox" + i] = currentGuess;should work.