Im working on a chess game replay system in flash, and in order to display comments on individual moves I am loading them from an external text file. Since one of the navigation buttons allows the game to skip to the last move I want to also recieve the number of the last move through this text file. After using loadvars all the comments are loaded correctly as strings but the variable for lastmove is not being recieved as a number. My ultimate question is whether there is a way to convert the text number into a real number which can be manipulated. If not, is there a simple way to load this data element individually as a number. :toad:
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Simple but crucial problem about variable types | 0 | 72 | March 25, 2005 | |
loadVars Problem
|
0 | 36 | November 12, 2008 | |
Flash 8 - LoadVars Help Please | 0 | 67 | July 4, 2006 | |
Converting Data Type Problem | 4 | 45 | September 17, 2004 | |
Loading External Text that's not a variable
|
0 | 74 | December 23, 2004 |