PDA

View Full Version : Flashlite high-scores


vedder
08-08-2007, 03:31 PM
I'm building a game for mobile platforms. I want to have an external file that can be loaded in a dynamic text field to show the current highscores. And also edited when a new highscore is set.

But frankly I don't know how to start. My personal knowledge doesn't go much further than how to load up a file with loadvars(). I'm getting the feeling I can't edit directly like you could with c++.

Can someone point me in the right directory, or a tutorial perhaps?

What I found online all speaks about using php on your server, but since my game is not meant for online purposes that seems unrelated.

sunlis
08-08-2007, 03:44 PM
To me, and I could be wrong, it sounds like you want XML.
From what I remember, you can load and edit it with Flash, and no intermittent technologies.

CyanBlue
08-08-2007, 05:28 PM
Flash has no capability to write the file into the drive... You might want to check on the Mobile Shared Object(MSO) for that... If you really have to write an actual file, you'd need to connect your SWF with the C++ program(or something along that line) that can write the file into the device...