Frame 1
function ebInitDurationVars() {
startMouse = _root._xmouse;
startInteractionTime = getTimer();
stopFlag = true;
pauseFlag = true;
pauseTime = getTimer();
pauseLimit = 2000;
totalTime = 0;
fscommand ("ebMsg", "starting measure interaction duration");
}
function ebUpdateMousePos() {
xmouse = _root._xmouse;
ymouse = _root._ymouse;
}
function ebTestMouse() {
var _local3 = _root._xmouse;
var _local2 = 0;
if (_local3 == startMouse) {
if (!stopFlag) {
if (!pauseFlag) {
pauseFlag = true;
endInteractionTime = getTimer();
_local2 = endInteractionTime - startInteractionTime;
startInteractionTime = endInteractionTime;
}
pauseTime = getTimer();
if ((pauseTime - startInteractionTime) > pauseLimit) {
stopFlag = true;
}
}
} else {
if (stopFlag) {
startInteractionTime = getTimer();
}
stopFlag = false;
pauseFlag = false;
startMouse = _local3;
}
if (_local2 > 0) {
fscommand ("ebUpdateTimer", "\"ebintduration\"," + _local2);
}
}
function ebCalcIntDuration() {
ebUpdateMousePos();
ebTestMouse();
}
function ebRegisterInt() {
trace("Eyeblaster Workshop | Error | ebRegisterInt was deprecated since 2.5.0.0. To define custom interactions please use the Workshop panel instead.");
}
function ebSetComponentName(strCompName) {
}
var __init;
var startMouse;
var startInteractionTime;
var stopFlag;
var pauseFlag;
var pauseTime;
var pauseLimit;
var endInteractionTime;
var totalTime;
if (typeof(_root.ebFIntTimeWasLoaded) == "undefined") {
_root.ebFIntTimeWasLoaded = false;
}
if (!_root.ebFIntTimeWasLoaded) {
if (__init != true) {
ebInitDurationVars();
__init = true;
}
setInterval(ebCalcIntDuration, 167);
_root.ebFIntTimeWasLoaded = true;
}
ebVersion = "Flash Actions V3.0";
System.security.allowDomain(_root.ebDomain);
if (!EB) {
_root.EB = new Object();
_root.EB.Clickthrough = function (name) {
if (typeof(name) == "undefined") {
name = "";
}
if (typeof(name) != "string") {
var _local2 = "Eyeblaster Workshop | Error | Exception in EB.Clickthrough: no appropriate interaction name was given to the function";
traceMsg(_local2);
} else {
var _local3 = ((name != "") ? ((" \"" + name) + "\"") : (name));
var _local2 = ("Eyeblaster Workshop | Clickthrough" + _local3) + " tracked";
trace(_local2);
reportCI(name, "ebClickthrough");
}
};
_root.EB.UserActionCounter = function (name) {
validateAndReportCI(name, "UserActionCounter");
};
_root.EB.AutomaticEventCounter = function (name) {
validateAndReportCI(name, "AutomaticEventCounter");
};
_root.EB.StartTimer = function (name) {
validateAndReportCI(name, "StartTimer");
};
_root.EB.StopTimer = function (name) {
validateAndReportCI(name, "StopTimer");
};
_root.EB.CollapsePanel = function (panelName, type) {
reportTypedCmd("CollapsePanel", panelName, type);
};
_root.EB.ExpandPanel = function (panelName, type) {
reportTypedCmd("ExpandPanel", panelName, type);
};
_root.EB.LoadRichBanner = function () {
reportCmd("LoadRichBanner", "", "");
};
_root.EB.ShowRichBanner = function () {
reportCmd("ShowRichBanner", "", "");
};
_root.EB.HideIntro = function () {
reportCmd("HideIntro", "", "");
};
_root.EB.CloseAd = function (type) {
reportTypedCmd("CloseAd", "", type);
};
_root.EB.IntroFullPlay = function () {
reportCmd("IntroFullPlay", "", "");
};
_root.EB.ReplayAd = function (type) {
reportTypedCmd("ReplayAd", "", type);
};
_root.EB.KeepAdOpen = function () {
reportCmd("KeepAdOpen", "", "");
};
_root.EB.GoToMiniSite = function () {
reportCmd("GoToMiniSite", "", "");
};
_global.EB = _root.EB;
}
Frame 2
stop();
function beginBanner() {
btn.deco1.nextFrame();
btn.deco2.nextFrame();
}
function mainFinished() {
counter++;
if (counter < 2) {
mo.nextFrame();
setTimeout(replayTheDudes, 700);
} else {
trace(getTimer() / 1000);
}
}
function replayTheDudes() {
dudes.gotoAndPlay(47);
btn.deco1.nextFrame();
btn.deco2.nextFrame();
}
this.scrollRect = new flash.geom.Rectangle(0, 0, 300, 250);
var counter = 0;
dudes.gotoAndPlay(47);
Symbol 2 Button
on (release) {
EB.Clickthrough("");
}
Symbol 66 MovieClip [__Packages.EB] Frame 0
class EB
{
function EB () {
}
static function ebRegisterInt(interactionName, type, classification, rate, closeFlag, countAsClick, jumpURL) {
eyeblaster.core.Tracer.trace("Error | ebRegisterInt was deprecated since 2.5.0.0. To define custom interactions please use the Workshop panel instead.");
}
static function Clickthrough(name) {
if (typeof(name) == "undefined") {
name = "";
}
if (typeof(name) != "string") {
eyeblaster.core.Tracer.trace("Error | Exception in EB.Clickthrough: no appropriate interaction name was given to the function", 0);
} else {
var _local2 = ((name != "") ? ((" \"" + name) + "\"") : (name));
eyeblaster.core.Tracer.trace(("Clickthrough" + _local2) + " tracked", -1);
reportCI(name, "ebClickthrough");
}
}
static function UserActionCounter(name) {
validateAndReportCI(name, "UserActionCounter");
}
static function AutomaticEventCounter(name) {
validateAndReportCI(name, "AutomaticEventCounter");
}
static function StartTimer(name) {
validateAndReportCI(name, "StartTimer");
}
static function StopTimer(name) {
validateAndReportCI(name, "StopTimer");
}
static function CollapsePanel(panelName, type) {
reportTypedCmd("CollapsePanel", panelName, type);
}
static function ExpandPanel(panelName, type) {
reportTypedCmd("ExpandPanel", panelName, type);
}
static function LoadRichBanner() {
reportCmd("LoadRichBanner", "", "");
}
static function ShowRichBanner() {
reportCmd("ShowRichBanner", "", "");
}
static function HideIntro() {
reportCmd("HideIntro", "", "");
}
static function CloseAd(type) {
reportTypedCmd("CloseAd", "", type);
}
static function IntroFullPlay() {
reportCmd("IntroFullPlay", "", "");
}
static function ReplayAd(type) {
reportTypedCmd("ReplayAd", "", type);
}
static function KeepAdOpen() {
reportCmd("KeepAdOpen", "", "");
}
static function GoToMiniSite() {
reportCmd("GoToMiniSite", "", "");
}
static function validateAndReportCI(name, type) {
if (((typeof(name) == "undefined") || (name == "")) || (typeof(name) != "string")) {
eyeblaster.core.Tracer.trace(("Error | Exception in EB." + type) + ": no interaction name was given to the function", 0);
} else {
eyeblaster.core.Tracer.trace(((type + " \"") + name) + "\" tracked", -1);
reportCI(name, "ebCI" + type);
}
}
static function reportCI(name, cmd) {
var _local2 = _root.ebFSCmdHandler;
if ((typeof(_local2) != "undefined") && (_local2 != "")) {
getURL (((((("javascript: " + _local2) + "('") + cmd) + "', '") + name) + "');");
} else {
fscommand (cmd, name);
}
}
static function reportCmd(cmd, param, type) {
if (typeof(param) != "string") {
eyeblaster.core.Tracer.trace(("Error | Exception in EB." + cmd) + ": one or more of the parameters has inappropriate value or type", 0);
} else {
var _local4 = ((((type == "") || (param == "")) && (cmd.indexOf("Panel") == -1)) ? (param + type) : ((param + ",") + type));
fscommand ("eb" + cmd, _local4);
type = ((type == "") ? (type) : (type + " "));
param = ((param == "") ? (param) : (param + " "));
eyeblaster.core.Tracer.trace((((type + cmd) + " ") + param) + "tracked", -1);
}
}
static function reportTypedCmd(cmd, param, type) {
type = ((typeof(type) == "undefined") ? "user" : (type.toLowerCase()));
if (((type == "user") || (type == "auto")) || (((cmd == "ExpandPanel") && (type == "whenready")) && (typeof(param) == "string"))) {
type = ((type == "whenready") ? "WhenReady" : (type.substr(0, 1).toUpperCase() + type.substr(1)));
reportCmd(cmd, param, type);
} else {
eyeblaster.core.Tracer.trace(("Error | Exception in EB." + cmd) + ": one or more of the parameters has inappropriate value or type", 0);
}
}
var compVersion = "3.0.2";
}
Symbol 67 MovieClip [__Packages.eyeblaster.core.Tracer] Frame 0
class eyeblaster.core.Tracer
{
function Tracer () {
}
static function set debugLvl(debugLvl) {
_debugLvl = debugLvl;
//return(eyeblaster.core.Tracer.debugLvl);
}
static function get debugLvl() {
return(_debugLvl);
}
static function trace(strMsg, nLvl) {
if (typeof(nLvl) == "undefined") {
nLvl = 6;
}
if (nLvl > _debugLvl) {
return(undefined);
}
strMsg = "Eyeblaster Workshop | " + strMsg;
switch (nLvl) {
case -2 :
fscommand ("ebMsg", strMsg);
break;
case -1 :
trace(strMsg);
break;
default :
trace(strMsg);
fscommand ("ebMsg", strMsg);
}
}
static var _debugLvl = 0;
}
Symbol 5 MovieClip Frame 4
gotoAndPlay (1);
Symbol 5 MovieClip Frame 18
gotoAndPlay (7);
Symbol 5 MovieClip Frame 34
gotoAndPlay (28);
Symbol 5 MovieClip Frame 40
stop();
Symbol 26 MovieClip Frame 95
stop();
Symbol 46 MovieClip Frame 47
dudeage.gotoAndStop(40);
play();
Symbol 46 MovieClip Frame 83
dudeage.gotoAndPlay(1);
Symbol 46 MovieClip Frame 96
dudeage.gotoAndPlay(14);
Symbol 46 MovieClip Frame 137
dudeage.gotoAndPlay(1);
Symbol 46 MovieClip Frame 159
dudeage.gotoAndPlay(14);
Symbol 46 MovieClip Frame 187
dudeage.gotoAndPlay(1);
Symbol 46 MovieClip Frame 207
dudeage.gotoAndPlay(14);
Symbol 46 MovieClip Frame 231
dudeage.gotoAndPlay(28);
Symbol 46 MovieClip Frame 281
dudeage.gotoAndPlay(14);
Symbol 46 MovieClip Frame 288
dudeage.gotoAndPlay(1);
Symbol 46 MovieClip Frame 296
dudeage.gotoAndStop(40);
Symbol 46 MovieClip Frame 357
_parent.btn.playfree.nextFrame();
Symbol 46 MovieClip Frame 390
_parent.mainFinished();
stop();
Symbol 52 MovieClip Frame 1
stop();
Symbol 52 MovieClip Frame 2
play();
Symbol 52 MovieClip Frame 12
gotoAndStop (1);
Symbol 60 MovieClip Frame 1
stop();
Symbol 60 MovieClip Frame 2
play();
Symbol 60 MovieClip Frame 14
stop();
Symbol 65 MovieClip Frame 24
_parent.beginBanner();
stop();
Symbol 65 MovieClip Frame 25
play();
Symbol 65 MovieClip Frame 43
gotoAndPlay (1);