Hi,
If you are looking for a nice place to start with "how to do a high
score system" that gives a good example and tips on how to improve it,
then Jobe Makar's Flash MX Game Design Demystified has such an example.
I am not sure if the book that covers MX2004 has an AS2 version, but
the examples in the MX books are simple enough to build on.
For the "make it secure and stop people cheating", there are
probably many ways to build on that - like someone else said, how secure
does it have to be?
One idea I have used to stop people spamming HTML email forms
posting to a single form processor is the idea of a "stamp". The HTML
form has some PHP code to ask the server for a "stamp" that is used as
an identifier for the email. This stamp is a hash based on certain
parameters and changes regularly.
You could do something similar with your high score routines to
generate a key that is used to encrypt the score data - like in Jobe's
book. The trick here is to keep changing the key so that someone can
decompile your Flash, but the key generating system is on the server, so
they have to guess how that works. How strong you make that is upto you.
Good luck.
Glen
_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com