Php High Score Table
This is really easy to set up, you do need php support on your website though, if you haven't got PHP i suggest you get a free host which supports PHP. I use a free host for my scoreboards i suggest you use Lycos:
http://www.tripod.lycos.co.uk/
I will explain how to set up your scoreboard in steps:
1. Open up scoretable.fla
2. On frame one, The Actions Layer, in the actions you will see something like this:
_root.scoretable.loadVariables("http://www.yoursite.com/scores.php", "GET"); You will need to change the "http://www.yoursite.com/scores.php" bit to your location, for example mine is:
http://members.lycos.co.uk/strangelife/scores.php
3. On frame eleven you would also see this, so change it to your location.
4.Now save the flash file and export it to a swf document.
5. Thats it for the flash file now go on your internet server and add these files to the same directory:
phpscoretable.swf
scores.php
scores
The scores folder should be empty but when you first submit a score to your table it creates a text file called highscores.sco which shows you all the scores, you can change the scores to your desire.
6. If you haven't done allready upload the three files to your server, the location to where the scoretable.swf should be:
http://www.yoursite.com/scoretable.swf
and the scores.php should be:
http://www.yoursite.com/scores.php
and the scores folder should be:
http://www.yoursite.com/scores/
7. You dont have to change anything in the scores.php so leave it alone, you dont have to CHMOD any files either.
8. Thats It! finnished now check it out and see if it works, if you dont know how to check it out goto:
http://www.yoursite.com/scoretable.swf
Hope i helped you get a PHP scoretable up, if you need any more help email me at: strangelife2k @ hotmail.com
If you want to see a working PHP scoretable go here http://www.highscoreboard.cjb.net
| » Level Intermediate |
Added: : 2003-07-21 Rating: 1.76 Votes: 43 Hits: 2121 |
| » Author |
| In this tutorial, you will learn how to create two kinds of text tweening in flash MX. The first one, being the text size. The second one you will learn, is how to fade text. Both of these can be done with great ease. |
| » Download |
| Download the files used in this tutorial. |
| Download (11 kb) |
discuss this topic to forum
