I'm writing a quiz program in flash that access a database using asp. The quiz length is pass from asp to flash. but when i compare the current question number to quiz length it seems to only compare the first number.
Ex.
When it tries to load the third question of 20, this happens.
Question = 3
Length = 20
(Question > Length) return true.
It seems to only be comparing the first digit of variable.
But if I put Length in a textbox it displays the number fine.
Ex.
When it tries to load the third question of 20, this happens.
Question = 3
Length = 20
(Question > Length) return true.
It seems to only be comparing the first digit of variable.
But if I put Length in a textbox it displays the number fine.