Hit Counter using MySQL PHP and AS3

Published :
Author :
Adam Khoury
In this Flash and ActionScript 3.0 source package with video walkthrough you can learn how to program hit counters into your individual flash file sections or website pages. We make a request to PHP right when the Flash file section is accessed by the user. Within a slpit second PHP takes the variable that flash sent it, queries the database table, and returns the result back to flash for display. You can make separate requests, or create a function to handle all distinct pages or sections in your flash file. If you have more than three sections to track, you may want to consider a reusable function.