To create a hit counter you need Flash to write to a file. From what I have done in Flash I do not think this is possible. But you can get Flash to access a Server Sided Script, such as PHP, ASP, etc. If you chose to do this, lets say in ASP, you would create an Active Server Page (hence ASP) which first wrote to a database or text file every time that it was accessed. Then that ASP would either call the Flash movie to display it or redirect you to the HTML file which does. Then you would have to make your Flash movie "Load Variables" from another ASP which would read the database, call up the hit count then pass on the variables to the Flash movie in the format of 'var_name=value' if you get what I mean.
This is probably a bit long winded and I may have lost you along time ago for my writing often becomes criptic. Anyways, just try looking in Altavista (or any other Search Engine) for ASP based Flash hit counters, or the equivelent. You are bound to find some downloadable examples and tutorials...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.