Flash Click Tracker
Features:
- This is a flash object that overlays (using CSS) HTML object, like an iframe, based on a specific width and height. On any mouseclick it will call a javascript function.
- This project uses a swf flash object file that takes in parameters as flash vars.
- Custom width/height and callback functions.
- The project size is only 70KB zipped.
Installation:
- Application installation:
- Extract the folder into your working directory.
- Implement example.php to your application.
- Important Questions
- 1) How does this work?
This is a flash object that overlays (using CSS) the iframe based on a specific width and height. On any mouseclick it will call a javascript function (currently alert(1)). - 2) What does this script use (all included)?
a) Flash for the click tracking
b) CSS for the overlay
c) Jquery for Javascript (can be easily changed to plain javascript)
d) AC_OETags to insert the flash object - 3) What is the only drawback of this app?
The only drawback is that the user must click again to actually procced. The first click records and removed the flash object, but the second click might be actually made. Basically the user must double click for this to work.
- 1) How does this work?
- Flash Variables:
- callMe » Javascript function to call back on mouse click
- width » Width of the flash object default » 200
- height » Height of the flash object default » 200
Demo