ActionScript arrays being automatically set to other values
Posted
by nababa
on Stack Overflow
See other posts from Stack Overflow
or by nababa
Published on 2010-05-13T21:48:52Z
Indexed on
2010/05/13
21:54 UTC
Read the original article
Hit count: 132
actionscript-3
|flash
I am making a flash game, in each round, the player will chose either True or False. The decision of each round will be stored in an array. That is, it looks like {true, false, true, false}..
When the user clicks the "Debrief“ button, the eventlistener will be called and the game will go to the debriefing part. It will read the array mentioned before. However, the array values are all "false". I am very sure that the array has not being touched in between.
So, any ideas about why the array is set to false mysteriously?
© Stack Overflow or respective owner