|
-
High Scores...
Creating a high score table in flash, using external file handling, can be achieved using server-side scripts, such as PHP. However, as this is not allowed for my game (school project), I need a way to write a few variables directly to a text file and read it back again. Is this possible?
I am using AS 2.0.
Any other ways in which a high score table, which is portable and can be saved and updated, will be welcomed.
If anybody could help me out I would greatly appreciate it.
-
Prid - Outing
No, you can't change the content of a textfield from inside Flash WITHOUT the aid of PHP! What you can do, since it's a school project, is to save the score in the SharedObject, and retrieve the info from there as well. Do a quick google search on SharedObject Tutorial AS2, and you'll find lots of good stuff
I am back, guys ... and finally 18 :P
BRING BACK THE OLD DESIGN!! OR AT LEAST FIX THE AS TAGS
-
Is a shared object portable? Since my project will be used and played on multiple computers, it needs to be so.
-
Prid - Outing
No, it's not portable (it is actually, but then you'll have to explore the SharedObject folder hidden deep in C directory, and try to guess or use a .sol opener software to view a lot of sharedobject files to find yours, and then copy and paste it in another computer, but I can't promise you it will work), but a new SharedObject is created in each computer, so the highscores in one computer will only display the highscores saved on that computer!
I am back, guys ... and finally 18 :P
BRING BACK THE OLD DESIGN!! OR AT LEAST FIX THE AS TAGS
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|