Is there a way to make a hit counter in flash without anyscripting apart from ActionScript?
not for very long
What do you mean not for very long?
as in the only hit counter you would have would be for the current person viewing the site and only for the time they were there. You could make a counter to check how many times they’ve visted a section, but outside of that, its gone
You could use the Shared object to do further counting for that one viewer - for every time they came back to the site, but it wouldnt account for other peole
the short of it is no.
So because I use brinkster would it be possible to use an ASP page that reads from a db or something?
yes
Of couse you can use ASP and Flash to make a counter. I don’t know how to yet, as I have just acquired the Flash MX program.
basically you would use the send method to a url… then in your asp script you save the hits somehow, and then you would call that script to get the hits using the loadVars method… =)
thats the idea =)
i could write a flash example for you, but i use ASP.net , not ASP… but i can show you the flash AS you’ll need.
look at this first. Its in “Php” but the same princpals apply the actionscript will be basically the same. =)
I use ASP.NET too but I can never get any of my scripts to work on brinkster. Im not very good at ASP though so do you know anything about it?
do you upload the bin directory to the server? and is that direcory a virtual directory running >net applications? thats why it might not be working.
remember your code behind (if you use it) gets compiled into the dll in the bin dir of your project.
Do you use Viusal Studio .NET? I use Web Matrix and it doesnt have a bin directory created?