Array Has -1 index
I have 3 arrays which are created from tags in an XML file, this part works fine.
Each index corresponds to each other, i.e. [0] of each is dashBurst (the animation), 1000 (the low damage range), and 2500 (the high damage range), respectively.
But when a function chooses dashBurst, and I use a trace statement to find it's index, it puts out -1.
This means that I can't get the damage values (specialList.indexOf('dashBurst')).
What is going on?
