Flash Hit Counter
- Started
- Last post
- 10 Responses
- _d
I need to build a hit counter in Flash, can anyone direct me to any resources?
I would prefer using JAVASCRIPT than PHP, but anything at this point will help out greatly.
Thanks so much guys,
_d
- mitsu0
javascript is client-side. you need a server-side language to write the 'hit-counts' to a centralized server.
however, if you prefer javascript for the syntax, there are server-side scripting languages that support javascript syntax or syntax that is very similar.
- _d0
At this stage, honeslty, I'll take anything. I need the user hit info in the flash interface, how the information is provided it really doesn't matter.
I'm still looking, but anything you guys can give me will help out so much.
Has anyone played around with this stuff before?
Thanks in advance
- mitsu0
assuming the flash-based funtionality is to view the current number of hits per page/site, i would use AS to check hidden fields in an html form that were populated by php/asp/etc. this data can be stored on a database or a simple text file.
- ldww0
KNI uses a 3rd party one in they juke boxes. i thought it was flashtracker.com but that is not right.
- ldww0
the site is www.flashtracking.com but they do not have any info - maybe drop em an email.
- _d0
... I never thought that it would be this difficult to find resources for such task.
mitsu, we're thinking alont the same lines. I just need to know what to use for the form and waht's the AS to fech that info.
Any ideas?
God, where's a good tutorial when you need one? Even good ol' flashkit isn't helping....
:(
- _d0
Sorry for such bad typing, trying to rush to find info on this issue.
;)
- mitsu0
AS can make calls to javascript which could be a simple function that returns a value:
function getPageHits()
{
return myform.pagehits.value;
}when the page is first loaded you would use your server-side scripting language to open a text file containing page hits, or pull the count from a database and populate that hidden field with the retreived data.
- _d0
I'm currently looking for a miracle if I want to get this done by 5 today.
Know where I could find one?
- _d0
PHP is not so hard to learn after all.
Spiffy.