ASP
  Home arrow ASP arrow Page 4 - Central Scoreboard with Flash and ASP
Iron Speed
Dev Articles Forums 
ADO.NET  
Apache  
ASP  
ASP.NET  
C#  
C++  
ColdFusion  
COM/COM+  
Delphi-Kylix  
Design Usability  
Development Cycles  
DHTML  
Embedded Tools  
Flash  
Graphic Design  
HTML  
IIS  
Interviews  
Java  
JavaScript  
MySQL  
Oracle  
Photoshop  
PHP  
Reviews  
Ruby-on-Rails  
SQL  
SQL Server  
Style Sheets  
VB.Net  
Visual Basic  
Web Authoring  
Web Services  
Web Standards  
XML  
Dedicated Servers  
Download TestComplete 
IBM® developerWorks 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
ASP

Central Scoreboard with Flash and ASP
By: Chris Worfolk
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 70
    2004-03-22

    Table of Contents:
  • Central Scoreboard with Flash and ASP
  • The database
  • Adding player’s scores
  • The Flash file

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    Iron Speed
     
    ADVERTISEMENT

    Ajax Application Generator Generate database and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!

    Central Scoreboard with Flash and ASP - The Flash file
    (Page 4 of 4 )

    This is the final part of the puzzle. The flash file has to send the player’s name and score off to the web server and fetch the highest scores back to populate the top scorers list. Open up Flash and save a new file as game.fla.

    Normally of course there would be a game but since this is just an example we can skip that part. First create two scenes and then go to the first one. Here we will test out the adding scores script.

    Create two fields where the user will enter data. Call the first one player and the second one score. Then create a button and prepare for some action script.

    Use the GetURL to call up the page addscore.asp and select to send the variables by GET.

    Now for the scoreboard; go to scene 2 and create six text fields so you can add in variables. Three of them will be for the names and the other three for the scores so make them an appropriate size. Call the fields as follows:

    Player1
    Player2
    Player3
    Score1
    Score2
    Score3

    Now for some more ActionScript. Select the first frame (well the only frame) and add a LoadVariables command with the URL set to scoreboard.asp.

    Congratulations! It is now complete. Go forth and spread scoreboard goodness throughout the world.


    DISCLAIMER: The content provided in this article is not warranted or guaranteed by Developer Shed, Inc. The content provided is intended for entertainment and/or educational purposes in order to introduce to the reader key ideas, concepts, and/or product reviews. As such it is incumbent upon the reader to employ real-world tactics for security and implementation of best practices. We are not liable for any negative consequences that may result from implementing any information covered in our articles or tutorials. If this is a hardware review, it is not recommended to open and/or modify your hardware.

     

    ASP ARTICLES

    - 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...






    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway