Académique Documents
Professionnel Documents
Culture Documents
As of: 3.02.2015
Welcome to Hulu. This guide will serve as your reference for implementing click thrus in you flash builds for
tracking purpose. Please keep in mind that these instructions have been created in order to offer the best
experience to your consumers and ensure optimal performance for your brand.
Note: Attempting to combine hard coded tracking with Fonzi tracking will result in tracking failures within Fonzi.
Standard Video Ad Package
Hulu Tracking System
Security.allowDomain("*");
click_btn.addEventListener(MouseEvent.CLICK, clickThru);
function clickThru(event:MouseEvent):void
{
_root.fireClickEvent();
//add any additional required actions here
}
Attention:
The click-thru button in your FLA should be labeled click_btn or the above code needs to be changed
to match the instance name of your button.
Any additional actions that you wish to happen upon button click can be added to the clickThru
function.
Hard Coded
Security.allowDomain("*");
click_btn.addEventListener(MouseEvent.CLICK, clickThru);
function clickThru(event:MouseEvent):void
{
navigateToURL(new URLRequest("http://www.YourLandingURL.com"), "_blank");
Attention:
The click-thru button in your FLA should be labeled click_btn or the above code needs to be changed
to match the instance name of your button.
Any additional actions that you wish to happen upon button click can be added to the clickThru
function.
Replace the URL (http://www.YourLandingURL.com) in the above example code with your own target
URL. This path should be absolute ("http://www.nasa.gov/home/index.html") and not relative
("/home/index.html").
Note: Only one clickout is allowed using the hard coded method.