?
Solved

Real Time Score Update Using Flash With MS Access

Posted on 2004-11-19
10
Medium Priority
?
219 Views
Last Modified: 2008-02-01
HI ALl Expert,

Now i was doing a project for Internet.
What my page will do is, update the score in my score page when user view the score and without refresh the page.

SO how i can let the flash communcation with my .MDB to get the latest score for each game. then display it on flash movie without refresh the page.?

In my flash movie i will display top 10 player score.
Then when back end enter new player and score, if the score is within the top 10
then then flash movie will update the score and without refresh the page

Thanks
Max
0
Comment
Question by:MaxTo
  • 5
  • 5
10 Comments
 
LVL 6

Expert Comment

by:hsmtp
ID: 12624231
Hi MaxTo,

You'll need to have server-side programming. I think ColdFusion will be fine for this.
0
 

Author Comment

by:MaxTo
ID: 12624636
Hi hsmtp,

Yes.. i got used server-side programming,

I was using the ASP.

SO is there any way to do that
IF so then please help me to solve this urgent problem.

Thanks.
0
 
LVL 6

Expert Comment

by:hsmtp
ID: 12624660
Here is an article about Flash and ASP integration:
http://www.asp101.com/articles/flash/index.asp
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:MaxTo
ID: 12624758
hi hsmtp,

THanks for the site,

but it seen like, the flash only load the data once.

what i want is the flash will nope stop or a few second go to server-site to download newest data.

so how do i code it?
can you write down simple code?

THanks..

Max
0
 
LVL 6

Accepted Solution

by:
hsmtp earned 200 total points
ID: 12624780
obj = new Object();
obj.requestServer = function() {
       // code to request server
}

setInterval(obj, "requestServer", 5000); // run function requestServer every 5000 ms = 5 seconds
0
 

Author Comment

by:MaxTo
ID: 12624938
Hi hsmtp,

Thanks for your coding.

But this code is writing inside the flash movie or in the web page?


Thanks....
0
 
LVL 6

Expert Comment

by:hsmtp
ID: 12624955
Inside Flash movie.
This will allow to execute your code every 5 seconds. And you'll need to write this code that will request needed variable from ASP. The artilce I mentioned will help you.
0
 

Author Comment

by:MaxTo
ID: 12625001
Hi hsmtp,

Thanks......... for your help...

I will try it ...


Max
0
 

Author Comment

by:MaxTo
ID: 12642704
Hi hsmtp,

Thanks....It was done by the code you provide.

But if i need to do online chat room, do u have any sample or site?

Max
0
 
LVL 6

Expert Comment

by:hsmtp
ID: 12643398
MaxTo,

Try to search google for "flash chat asp"
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article is primarily concerned with ActionScript 3 and generally specific to AVM2.  Most suggestions would apply to ActionScript 2 as well, and I've noted those tips that differ between AS2 and AS3. With the advent of ActionS…
I have been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
The goal of the tutorial is to teach the user how to how to record live broadcast.
The goal of the tutorial is to teach the user how to use the auto adjust feature and what the different options do. When your video is not working right you can choose the auto adjust feature to help choose your settings.
Suggested Courses

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question