Accessibility
Adobe
Sign in Privacy My Adobe

Tracking Macromedia Flash Movies

Ad Serving Network's Guide: Trafficking Macromedia Flash Banners

Macromedia Flash movies can be made trackable using GET URL () and variables.

The example above has dynamic click through variables added to the <OBJECT> and <EMBED> tags of the HTML source file after publishing.

This works if the user has the Macromedia Flash Player version 4 or above.

After the HTML source files are published, a variable is added. This variable is called "clickTAG" in the example, because it is a click code and destination URL that are being passed in.

The "clickTAG" variable is a click code and destination URL read by the Macromedia Flash (SWF) file, then passed to a GetURL() command in the file, which navigates the browser to the http://www.destinationURL.com page.

Example of a JavaScript OBJECT EMBED tag (key areas in red):

This tag passes in a clickTAG variable with the value"http://adnetwork.com/tracking?http://www.destinationURL.com". The JavaScript within the page will pass a variable named "clickTAG" into the Macromedia Flash (SWF) file.

<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000 codebase="http://download.macromedia.com/pub/shockwave/cabs/ flash/swflash.cab#version=4,0,0,0" ID=ad_banner_example1 WIDTH=468 HEIGHT=60>

<PARAM NAME=movie VALUE="ad_banner_example.swf?
clickTAG =http://adnetwork.com/tracking?
http://www.destinationURL.com
">

<PARAM NAME=loop VALUE=false>

<PARAM NAME=menu VALUE=false>

<PARAM NAME=quality VALUE=medium>

<PARAM NAME=bgcolor VALUE=#FFFFFF>

<EMBEDsrc="ad_banner_example.swf?
clickTAG=http://adnetwork.com/tracking?
http://www.destinationURL.com
" loop=false menu=false quality=medium bgcolor=#FFFFFF swLiveConnect=FALSE WIDTH=468 HEIGHT=60 TYPE="application/x-shockwave-flash">

</OBJECT>