Using arrays and hashes with flash game, opening and reading from a file/database