Revision: 5003
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at February 3, 2008 21:45 by chrisaiv
Initial Code
//ExternalInterface Send Method ExternalInterface.call("urchinTracker",trackingStr); //Strip Out Spaces and Replace with Underscores var pattern:RegExp = / /gi; //Formulate Tracking String var formattedVideoTitle:String = _videoTitle.replace(pattern, "_"); var trackingStr:String = "/" + _trackingPath + "/" + formattedVideoTitle; //URL Request Send Method sendToURL(new URLRequest("javascript:urchinTracker('"+trackingStr+"');");
Initial URL
Initial Description
Needed to figure out how to call Google's Urchin Tracker in AS3 since getURL is no longer available. This example uses External Interface
Initial Title
AS3: Calling Google's Urchin Tracker from Flash
Initial Tags
Initial Language
ActionScript 3