When a site has third party flash ads, is it possible for the site to track clicks to the flash? As the flash files are not created by the site, they cannot be changed. But the site wants to confirm the click-through counts that the ad agency is reporting with its own click tracking.
JavaScript onclick (or other mouse events) attached to the object or embed tags do not work.
What I have tried most recently is to place a floating invisible div over the flash and attaching the click event to that. However this does not function well in IE.
An alternative I am thinking of is to use my own Flash loader SWF. The new SWF would load the ad SWF file as a movie it displays. Then whenever a click happens the loader flash would trigger my click tracking JS, and then allow the click event to continue on to the ad flash. Does that sound possible/feasible?
Addendum: I have two questions about the loader method:
1) Can a flash from domain example.com load a swf file from ads.mordor.com?
2) Can a swf loaded within another swf both get click events?