Home arrow ASP arrow Central Scoreboard with Flash and ASP

Central Scoreboard with Flash and ASP

Adding a few flash games to your site is always a great way to get visitors to stay on your site a bit longer and even keep them coming back. Itís well known that one of the best ways to keep visitors coming back is interactivity. So why not let your visitors battle it out between each other?

Author Info:
By: Chris Worfolk
Rating: 4 stars4 stars4 stars4 stars4 stars / 117
March 22, 2004
  1. · Central Scoreboard with Flash and ASP
  2. · The database
  3. · Adding playerís scores
  4. · The Flash file

print this article

Central Scoreboard with Flash and ASP
(Page 1 of 4 )

Why use a scoreboard?
The problem with games by themselves is that they are limited in their interactivity; once you have competed a game, it is done there is nothing more to do. However it adds a whole new level if you get players competing against each other, trying to reach the top score. Or if someone does you can always add a few fake players to keep them going.

The problem with having a scoreboard is that it has to be dynamic. If you have the flash game on several different servers or in several different locations itís impossible to upload new results every time they change and updating them manually would leave a large delay between the player achieving the score and it being added to the board.

What you need
In this example I am going to use a Microsoft Access database, although as long as you can work out the connection scripts any database will do. The flash movie itself does not have to interact with the script, only the ASP scripts do.

The files we will be using:

  • Database.mdb
    This is the database where the scores will be kept

  • Game.swf
    This is the flash movie the users will battle it out on

  • Scoreboard.asp
    This will send the results to the flash game

  • Addscore.asp
    This will add a playerís result to the database

blog comments powered by Disqus

- Central Scoreboard with Flash and ASP
- Calorie Counter Using WAP and ASP
- Creating PGP-Encrypted E-Mails Using ASP
- Be My Guest in ASP
- Session Replacement in ASP
- Securing ASP Data Access Credentials Using t...
- The Not So Ordinary Address Book
- Adding and Displaying Data Easily via ASP an...
- Sending Email From a Form in ASP
- Adding Member Services in ASP
- Removing Unconfirmed Members
- Trapping HTTP 500.100 - Internal Server Error
- So Many Rows, So Little Time! - Case Study
- XDO: An XML Engine Class for Classic ASP
- Credit Card Fraud Prevention Using ASP and C...

Watch our Tech Videos 
Dev Articles Forums 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us 
Weekly Newsletter
Developer Updates  
Free Website Content 
Contact Us 
Site Map 
Privacy Policy 

Developer Shed Affiliates


© 2003-2019 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap
Popular Web Development Topics
All Web Development Tutorials