Hi,
You should try convert String to int and if you hit an issue, report it, it should work.
As an alternative, you can create two fsmArray, one containing the keys, one containing the relative values for each keys. for a given key, get the index, and then take the value from the second array or vice versa.
else, you can convert your csv to xml and alwasy pull data from the xml, IF you don't do that in the game loop, that is, only execute xpath actions in a discrete way, a click of a button is fine, but pulling data everyframe from xpath is wrong, better cache it in arrays or hashes.
Bye,
Jean