Click Counting in Flash

JSnow

Active Member
Joined
Feb 21, 2008
Messages
59
Reaction score
0
I've been bashing my head against a wall for the past two days! Please help.

I am building a non-web flash application. What I would like to do is count the number of clicks on each button individually and log this to a text file or database. And this is where I am struggling, I am using AS2 for this project and would like advice or help in how to do the logging.

I am not picky on the structure of the text file so it can write a new line every time a button is clicked. The data that I would like is button name or page name, if it is possible to have a time stamp as well, that would be great.

Eg.:
Button1, 20090526 08:00
Button7, 20090526 08:15
Button9, 20090526 08:15
Button1, 20090526 08:17
Button1, 20090526 08:18
etc.

Please advise or point me in the right direction.
 
Top
Sign up to the MyBroadband newsletter
X