I'm assuming its the ;Daisy
trace("qi.charPopUpArray array length: " + qi.charPopUpArray.length + " " + qi.charPopUpArray) //qi.charPopUpArray array length: 0 i think this is the only bug i found though the code chunk is kinda big for my likingtrace("qi.charPopUpArray array length: " + qi.charPopUpArray.length + " " + qi.charPopUpArray)//shouldn't it have the ; as you guessed here? //qi.charPopUpArray array length: 0
@Daisy - Yup! Not sure how that got there, but it did, causing the loop to terminate and the rest of the code to execute, normally, whether I wanted it to, nor not.@pheonix guy - Actually, it probably should have a semicolon, but that's not the error I found. (There's a problem with line 8, as well, and I suspect that was the big one.)
hmmmmm == ; LOL did the same mistake last week too hahaha. what language is this reminds me of the C's.
weird doesn't actionscript have a debugger to catch such simple things?
Hmm, i don't know AS, but i think its a problem that is not uncommon in C/C++ too, though there the compiler shows a warning (but still compiles).
That's why you always want to write the constant on the left for compares if you can. Something like if(x == 5) can go wrong, but if(5 = x) won't compile. Still, it leaves you with the nasty case of if(x == y). Not a lot you can do to avoid mistakes with that one.
Yikes! That was a lot longer than I thought it was!Sometimes I get going and don't know where to stop. Sorry!
As a student, I find it very interesting, and am grateful of the long comment. Educational usually equates to helpful, so long as the topic is relevant.