PDA

View Full Version : Flash XML ?


bobaloo1349
07-17-2007, 05:14 PM
Try to keep this simple. I am using flash mx for a match game that is timed. I have the time set up to run and when i stop the time from either winning the game or losing (which is at 1 min). There is a master dyn text box that has the main time (clock_txt) and a small dyn text box(clock_rtn).

clock_txt is the time that the user is getting or has just got.
clock_rtn is the fastest time of that user

Now, I am not sure if i can do this with just flash. I was thinking that I would have to send the variable from clock_txt to an XML file which only keeps the next fastest time and then sends it back to the the swf via clock_rtn. The user will have to log in a password to play. My knowledge of XML is not great.

Does anyone know what the best way to go about keeping the fastest time of a user would be? And if XML is the way to go, does sending the most recent time to the XML file to decide if that is the users fastest time, and then send that back to the swf file the way to go?