We can create a simple hit counter using flash and PHP script which uses text file for storing hits. I have used a blank count.txt file, and php file. Create a dynamic text field in flash movie and name it count and you are done. Name the flash movie counter.swf or whatever you like.
Flash PHP
Sending email via flash can be a bit tricky. Well! Not much tricky anymore if you follow these simple instructions and download example file. Create a movie clip, name it form and copy this ActionScript over that.