View Full Version : how to you make a send score??
SetroGamer
September 8th, 2003, 11:02 PM
EVERY time I ask someone how to make a send score, they either don't answer or say "figure it out yourself". So, can someone PLEASE tell me how to make a send score? I just don't understand how you're supposed to do it! (I don't mean the send scores that take you to a new page either because then people can change their score)
awligon
September 8th, 2003, 11:09 PM
first thing's first... This requires support for some sort of server-side scripting. Does your hosting service offer such support? ie.. php , asp, perl, etc... Also, you're going to need some means of storing information, ie.. mysql, or writing a file. From there, you should decide how you want to process and store the information. I would use php/mysql and write the score to a database, from which you can extract the values and their corrosponding submittors and order them in a high score list. There are many tuts out there and some php/mysql tuts here if you SEARCH!!!!
If you run into problems or have a specific question, feel free to reply or to PM me, but no, I will not "Just write it for you." Give a man a fish.... Teach a man to fish... You get the point.
SetroGamer
September 8th, 2003, 11:11 PM
okay.....lol :P I use PHP and MySQL for my site.
awligon
September 8th, 2003, 11:12 PM
ok, well, what do you need to know then? I don't understand. Didn't mean to imply you were a n00b. :sigh:
What's the question then?
SetroGamer
September 8th, 2003, 11:20 PM
lol. I just don't understand how you use PHP with flash since you can't use PHP in flash and have to put it on the outside. I just don't know how to get the PHP to be part of it. Like, how to get it to know when to do the function and such.
awligon
September 9th, 2003, 02:29 AM
loadVars();
There's a tut about it in the flash mx section I believe.
http://www.kirupa.com/developer/actionscript/flash_php_mysql.htm
SetroGamer
September 9th, 2003, 06:53 PM
yay! thanks! Just one problem-its not registering what their score was...
awligon
September 9th, 2003, 11:26 PM
yeah, you have to send that data from the game to the db.
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.