Flash: Dirty Tracking
June 4th, 2005 by LuisThere are some cases where you will have to deliver just a simple swf banner with some kind of tracking system.
There is a simple way of tracking visitors from inside flash without any external requirements .
Actionscript:
- getURL ("javascript:t=new Function(\'i=new Image();i.src=\\'http://tracking.yourdomain.com/track.gif\\'\');t();");
Using a javascript function inside getURL ignores the security restrictions in Flash Player and gives you the freedom to distribute the swf as it is.


June 6th, 2005 at 12:42 pm
[…] Flash tracking (dirty trick) via the fountan of info that is the Lessrain blog ActionScript: getURL (”javascript:t=new Function(’i=new Image();i.src=\’http://tracking.your […]