Frame 1
if ((_root.adxdom == undefined) && (_global.adxdom != undefined)) {
for (adxi in _global) {
if (typeof(_global[adxi]) == "string") {
_root[adxi] = _global[adxi];
}
}
} else if (_global.adxdom == undefined) {
for (adxi in _root) {
_global[adxi] = _root[adxi];
}
}
System.security.allowDomain(_root.adxdom);
Frame 2
stop();
this.preloadMainMovie = function () {
var _local1 = this;
_local1.preloader_mc._alpha = 0;
var percent = 0;
var startLoadTime = getTimer();
_local1.preloader_mc.onEnterFrame = function () {
var _local1 = this;
var _local2 = _local1._parent.getBytesLoaded();
var _local3 = _local1._parent.getBytesTotal();
if ((getTimer() - startLoadTime) >= 2000) {
_local1._alpha = _local1._alpha + ((100 - _local1._alpha) / 4);
percent = percent - ((percent - ((_local2 / _local3) * 100)) * 0.25);
var barTargetWidth = 80;
var barPath = preloader_mc.loadBar_mc;
barPath._width = percent * (barTargetWidth / 100);
if (barPath._width > (barTargetWidth - 1)) {
if (_local2 == _local3) {
_local1._parent.play();
}
}
} else if (_local2 == _local3) {
_local1._parent.play();
}
};
};
this.preloadMainMovie();
this.clickTAG_mc.onRelease = function () {
if (/:adxclick != undefined) {
getURL (((((((((/:adxcom add ":") add /:adxclick) add "(\"") add _root.clickTAG) add "\",\"") add "_blank") add "\",\"clickTAG\",\"") add /:adxid) add "\")");
}
};
Frame 3
function enableBtns() {
var _local2 = _root;
var _local1 = 1;
while (_local1 <= 3) {
_local2[("btn" + _local1) + "_mc"].enabled = true;
_local2[("btn" + _local1) + "_mc"]._y = _local2[("btn" + _local1) + "Y"];
_local1++;
}
}
function popTag(n) {
var _local2 = n;
trace(("popTag(" + _local2) + ")");
var _local1 = _root[("t_tag" + _local2) + "b"];
_local1.tween("_alpha", 100, 0.125, "linear");
_local1.scaleTo(100, 0.4, "easeOutBack");
_root.activeTag = _local2;
}
function closeTag(n) {
trace(("closeTag(" + n) + ")");
var _local1 = _root[("t_tag" + n) + "b"];
_local1.scaleTo(_root.tagSmall, 0.25, "easeInBack");
_local1.tween("_alpha", 0, 0.125, "linear", 0.125);
}
function beginAnimation() {
var _local2 = this;
var _local3 = _root;
trace("beginAnimation()");
var _local1 = 0.25;
t_txt1.tween("_alpha", 100, 0.5, "linear", _local1);
t_txt1.tween("_y", txt1Y, 0.5, "easeOutQuad", _local1);
t_txt1.scaleTo(100, 0.5, "easeOutQuad", _local1);
t_photo.tween("_alpha", 100, 0.33, "linear", _local1);
_local1 = _local1 + 1.75;
t_txt1.tween("_alpha", 0, 0.25, "linear", _local1);
t_txt1.tween("_y", txt1Y + 5, 0.25, "easeInQuad", _local1);
t_txt1.scaleTo(90, 0.25, "easeInQuad", _local1);
_local1 = _local1 + 0.25;
t_photo.tween("_y", 14, 0.5, "easeInOutQuad", _local1);
_local1 = _local1 + 0.25;
t_txt2.tween("_alpha", 100, 0.25, "linear", _local1);
t_txt2.tween("_y", txt2Y, 0.25, "easeOutQuad", _local1);
_local1 = _local1 + 0.75;
t_product.tween("_alpha", 100, 0.75, "linear", _local1);
t_product.tween("_y", 18, 0.75, "easeOutQuad", _local1);
t_txt2.tween("_y", -15, 0.75, "easeOutQuad", _local1);
_local1 = _local1 + 0.75;
t_tag1a.tween("_alpha", 100, 0.125, "linear", _local1);
t_tag1a.scaleTo(100, 0.5, "easeOutBack", _local1);
_local1 = _local1 + 1.75;
t_tag1a.scaleTo(tagSmall, 0.25, "easeInBack", _local1);
_local1 = _local1 + 0.125;
t_tag1a.tween("_alpha", 0, 0.125, "linear", _local1);
_local1 = _local1 + 0.125;
t_tag2a.tween("_alpha", 100, 0.125, "linear", _local1);
t_tag2a.scaleTo(100, 0.5, "easeOutBack", _local1);
_local1 = _local1 + 1.75;
t_tag2a.scaleTo(tagSmall, 0.25, "easeInBack", _local1);
_local1 = _local1 + 0.125;
t_tag2a.tween("_alpha", 0, 0.125, "linear", _local1);
_local1 = _local1 + 0.75;
t_product.tween("_alpha", 100, 0.75, "linear", _local1);
t_product.tween("_y", 0, 0.75, "easeOutQuad", _local1);
_local1 = _local1 + 0.125;
t_tag3a.tween("_alpha", 100, 0.125, "linear", _local1);
t_tag3a.scaleTo(100, 0.5, "easeOutBack", _local1);
_local1 = _local1 + 1.75;
t_tag3a.scaleTo(tagSmall, 0.25, "easeInBack", _local1);
_local1 = _local1 + 0.125;
t_tag3a.tween("_alpha", 0, 0.125, "linear", _local1);
t_product.tween("_y", productY + 15, 0.75, "easeInOutQuad", _local1);
_local1 = _local1 + 0.25;
t_txt3.tween("_alpha", 100, 0.75, "linear", _local1);
t_txt3.tween("_y", 20, 0.75, "easeOutQuad", _local1);
t_txt3.scaleTo(100, 0.75, "easeOutQuad", _local1);
_local1 = _local1 + 0.25;
t_product.tween("_y", 33, 0.75, "easeInOutQuad", _local1);
t_photo.tween("_alpha", 0, 0.5, "linear", _local1);
_local1 = _local1 + 1.2;
_local3.pauser(_local2, _local1, goNew);
_local1 = _local1 + 1.5;
_local3.pauser(_local2, _local1, goSting);
_local3.pauser(_local2, _local1, enableBtns);
_local1 = _local1 + 0.25;
t_replay.tween("_alpha", replayA, 0.25, "linear", _local1, enableReplay);
}
function goSting() {
_root.sting_mc.gotoAndPlay(2);
}
function goNew() {
_root.product_mc.gotoAndPlay("new");
}
function enableReplay() {
var _local1 = _root;
_local1.replay_mc.onRelease = function () {
this.enabled = false;
_root.t_fade.tween("_alpha", 100, 0.125, "linear", 0, function () {
_root.play();
});
};
}
p = 0;
_root.pauseClipArray = new Array();
_root.pauser = function (mcName, secondsToPause, endFunction) {
function donePausing() {
if (endFunction == undefined) {
mcName.play();
} else {
endFunction();
}
}
p++;
var startTime = getTimer();
var pauseTime = (secondsToPause * 1000);
if (endFunction == undefined) {
mcName.stop();
}
mcName.createEmptyMovieClip(("timer" + p) + "_mc", p);
_root.pauseClipArray.push(mcName[("timer" + p) + "_mc"]);
mcName[("timer" + p) + "_mc"].onEnterFrame = function () {
if ((getTimer() - startTime) > pauseTime) {
donePausing();
removeMovieClip(this);
}
};
};
_root.killAllPauses = function () {
var _local1 = _root;
for (mc in _local1.pauseClipArray) {
removeMovieClip(_local1.pauseClipArray[mc]);
}
};
stop();
replayY = replay_mc._y;
replayA = replay_mc._alpha;
replay_mc._alpha = 0;
t_replay = new adTween(replay_mc);
t_fade = new adTween(fade_mc);
fade_mc._alpha = 0;
t_photo = new adTween(photo_mc);
photoY = photo_mc._y;
photo_mc._alpha = 0;
t_product = new adTween(product_mc);
productY = product_mc._y;
product_mc._y = 70;
tagSmall = 30;
activeTag = null;
var n = 1;
while (n <= 3) {
var i = 0;
while (i <= 1) {
if (i == 0) {
seg = "a";
} else {
seg = "b";
}
_root[("t_tag" + n) + seg] = new adTween(_root[(("tag" + n) + seg) + "_mc"]);
_root[(("tag" + n) + seg) + "_mc"]._alpha = 0;
_root[(("tag" + n) + seg) + "_mc"]._xscale = (_root[(("tag" + n) + seg) + "_mc"]._yscale = tagSmall);
i++;
}
n++;
}
var n = 1;
while (n <= 3) {
_root["t_txt" + n] = new adTween(_root[("txt" + n) + "_mc"]);
_root[("txt" + n) + "Y"] = _root[("txt" + n) + "_mc"]._y;
_root[("txt" + n) + "_mc"]._alpha = 0;
n++;
}
txt1_mc._y = txt1_mc._y - 35;
txt1_mc._xscale = (txt1_mc._yscale = 200);
txt2_mc._y = txt2_mc._y - 5;
txt3_mc._y = txt3_mc._y - 35;
txt3_mc._xscale = (txt3_mc._yscale = 200);
var n = 1;
while (n <= 3) {
_root[("btn" + n) + "_mc"]._alpha = 0;
_root[("btn" + n) + "Y"] = _root[("btn" + n) + "_mc"]._y;
_root[("btn" + n) + "_mc"]._y = _root[("btn" + n) + "_mc"]._y - 250;
_root[("btn" + n) + "_mc"].enabled = false;
_root[("btn" + n) + "_mc"].myNum = n;
_root[("btn" + n) + "_mc"].onRollOver = function () {
_root.popTag(this.myNum);
};
_root[("btn" + n) + "_mc"].onRollOut = (_root[("btn" + n) + "_mc"].onDragOut = function () {
_root.closeTag(this.myNum);
});
_root[("btn" + n) + "_mc"].onRelease = function () {
_root.clickTAG_mc.onRelease();
};
n++;
}
beginAnimation();
Frame 5
gotoAndPlay (1);
Symbol 66 MovieClip [__Packages.adTween] Frame 0
class adTween
{
var clip;
function adTween (mcRef) {
clip = mcRef;
}
function tween(prop, propDest, timeSeconds, animType, delay, callback, extra1, extra2) {
var _local3 = this;
if (timeSeconds < 0.001) {
timeSeconds = 0.5;
}
if ((animType == undefined) || (animType == "")) {
animType = "linear";
}
if (delay == undefined) {
delay = 0;
}
if (typeof(prop) == "string") {
var properties = [prop];
var oldProperties = [_local3.clip[prop]];
var newProperties = [propDest];
} else {
var properties = [];
var oldProperties = [];
var newProperties = [];
for (var i in prop) {
oldProperties.push(_local3.clip[prop[i]]);
}
for (var i in prop) {
properties.push(prop[i]);
}
for (var i in propDest) {
newProperties.push(propDest[i]);
}
}
var $_callback_assigned = false;
if (_root.__tweenController__ == undefined) {
var tweenHolder = _root.createEmptyMovieClip("__tweenController__", 123432);
tweenHolder.$_tweenPropList = new Array();
tweenHolder.classRef = _local3;
tweenHolder.onEnterFrame = function () {
var _local3 = this;
var tTime = getTimer();
var _local2 = 0;
while (_local2 < _local3.$_tweenPropList.length) {
var _local1 = _local3.$_tweenPropList[_local2];
if ((_local1._timeStart + (_local1._delay * 1000)) <= tTime) {
if ((_local1._timeDest + (_local1._delay * 1000)) <= tTime) {
_local1._targ[_local1._prop] = _local1._propDest;
_local3.$_tweenPropList.splice(_local2, 1);
_local2--;
_local1._targ.$_tweenCount--;
if (_local1._targ.$_tweenCount == 0) {
delete _local1._targ.$_tweenCount;
}
if (_local1._callback != undefined) {
if (_global.backwardCallbackTweening) {
var childMC = _local1._targ.createEmptyMovieClip("__child__", 122344);
_local1._callback.apply(childMC, null);
childMC.removeMovieClip();
} else {
_local1._callback.apply(_local1._targ, null);
}
}
if (_local3.$_tweenPropList.length == 0) {
_local3.removeMovieClip();
}
} else {
if (_local1._propStart == undefined) {
_local1._propStart = _local1._targ[_local1._prop];
}
_local1._targ[_local1._prop] = _local3.classRef.findTweenValue(_local1._propStart, _local1._propDest, _local1._timeStart, tTime - (_local1._delay * 1000), _local1._timeDest, _local1._animType, _local1._extra1, _local1._extra2);
}
}
_local2++;
}
};
}
var tweenPropList = _root.__tweenController__.$_tweenPropList;
var tTime = getTimer();
for (var i in oldProperties) {
if ((newProperties[i] != undefined) && (!_local3.clip.$_isTweenLocked)) {
if (_local3.clip.$_tweenCount > 0) {
var _local2 = 0;
while (_local2 < tweenPropList.length) {
if ((tweenPropList[_local2]._targ == _local3.clip) && (tweenPropList[_local2]._prop == properties[i])) {
if ((tTime + (delay * 1000)) < tweenPropList[_local2]._timeDest) {
tweenPropList.splice(_local2, 1);
_local2--;
_local3.clip.$_tweenCount--;
}
}
_local2++;
}
}
tweenPropList.push({_prop:properties[i], _targ:_local3.clip, _propStart:undefined, _propDest:newProperties[i], _timeStart:tTime, _timeDest:tTime + (timeSeconds * 1000), _animType:animType, _extra1:extra1, _extra2:extra2, _delay:delay, _callback:($_callback_assigned ? undefined : (callback))});
_local3.clip.$_tweenCount = ((_local3.clip.$_tweenCount > 0) ? (_local3.clip.$_tweenCount + 1) : 1);
$_callback_assigned = true;
}
}
}
function stopAllTweens() {
_root.__tweenController__.removeMovieClip();
}
function lockTween() {
clip.$_isTweenLocked = true;
}
function unlockTween() {
delete clip.$_isTweenLocked;
}
function getTweens() {
return(clip.$_tweenCount);
}
function isTweening() {
return(((clip.$_tweenCount > 0) ? true : false));
}
function stopTween(props) {
var _local2 = this;
var _local3 = props;
var _local1 = _root.__tweenController__.$_tweenPropList;
switch (typeof(_local3)) {
case "string" :
_local3 = [_local3];
case "object" :
for (var i in _local3) {
for (var pti in _local1) {
if ((_local1[pti]._targ == _local2.clip) && (_local1[pti]._prop == _local3[i])) {
_local1.splice(pti, 1);
}
}
}
_local2.clip.$_tweenCount = 0;
for (var pti in _local1) {
if (_local1[pti]._targ == _local2.clip) {
_local2.clip.$_tweenCount++;
}
}
if (_local2.clip.$_tweenCount == 0) {
delete _local2.clip.$_tweenCount;
}
break;
default :
for (var pti in _local1) {
if (_local1[pti]._targ == _local2.clip) {
_local1.splice(pti, 1);
}
}
delete _local2.clip.$_tweenCount;
}
if (_local1.length == 0) {
_root.__tweenController__.removeMovieClip();
_local2.clip.__tweenController_ADVhelper__.removeMovieClip();
}
}
function scaleTo(propDest_scale, timeSeconds, animType, delay, callback, extra1, extra2) {
tween(["_xscale", "_yscale"], [propDest_scale, propDest_scale], timeSeconds, animType, delay, callback, extra1, extra2);
}
function slideTo(propDest_x, propDest_y, timeSeconds, animType, delay, callback, extra1, extra2) {
tween(["_x", "_y"], [propDest_x, propDest_y], timeSeconds, animType, delay, callback, extra1, extra2);
}
function findTweenValue(_propStart, _propDest, _timeStart, _timeNow, _timeDest, _animType, _extra1, _extra2) {
var _local1 = _timeNow - _timeStart;
var _local3 = _propStart;
var _local2 = _propDest - _propStart;
var d = (_timeDest - _timeStart);
var a = _extra1;
var p = _extra2;
var s = _extra1;
switch (_animType.toLowerCase()) {
case "linear" :
return(((_local2 * _local1) / d) + _local3);
case "easeoutelastic" :
if (a == undefined) {
a = 0;
}
if (_local1 == 0) {
return(_local3);
}
_local1 = _local1 / d;
if (_local1 == 1) {
return(_local3 + _local2);
}
if (!p) {
p = d * 0.3;
}
if (a < Math.abs(_local2)) {
a = _local2;
var s = (p / 4);
} else {
var s = ((p / (Math.PI*2)) * Math.asin(_local2 / a));
}
return((((a * Math.pow(2, -10 * _local1)) * Math.sin((((_local1 * d) - s) * (Math.PI*2)) / p)) + _local2) + _local3);
case "easeoutquad" :
_local1 = _local1 / d;
return((((-_local2) * _local1) * (_local1 - 2)) + _local3);
case "easeinquad" :
_local1 = _local1 / d;
return(((_local2 * _local1) * _local1) + _local3);
case "easeinoutquad" :
_local1 = _local1 / (d / 2);
if (_local1 < 1) {
return((((_local2 / 2) * _local1) * _local1) + _local3);
}
_local1--;
return((((-_local2) / 2) * ((_local1 * (_local1 - 2)) - 1)) + _local3);
case "easeinback" :
if (s == undefined) {
s = 1.70158;
}
_local1 = _local1 / d;
return((((_local2 * _local1) * _local1) * (((s + 1) * _local1) - s)) + _local3);
case "easeoutback" :
if (s == undefined) {
s = 1.70158;
}
_local1 = (_local1 / d) - 1;
return((_local2 * (((_local1 * _local1) * (((s + 1) * _local1) + s)) + 1)) + _local3);
case "easeinoutback" :
if (s == undefined) {
s = 1.70158;
}
_local1 = _local1 / (d / 2);
if (_local1 < 1) {
return(((_local2 / 2) * ((_local1 * _local1) * (((((s = s * 1.525)) + 1) * _local1) - s))) + _local3);
}
_local1 = _local1 - 2;
return(((_local2 / 2) * (((_local1 * _local1) * (((((s = s * 1.525)) + 1) * _local1) + s)) + 2)) + _local3);
case "easeoutcirc" :
_local1 = (_local1 / d) - 1;
return((_local2 * Math.sqrt(1 - (_local1 * _local1))) + _local3);
case "easeincirc" :
_local1 = _local1 / d;
return(((-_local2) * (Math.sqrt(1 - (_local1 * _local1)) - 1)) + _local3);
case "easeoutcirc" :
_local1 = _local1 / (d / 2);
if (_local1 < 1) {
return((((-_local2) / 2) * (Math.sqrt(1 - (_local1 * _local1)) - 1)) + _local3);
}
_local1 = _local1 - 2;
return(((_local2 / 2) * (Math.sqrt(1 - (_local1 * _local1)) + 1)) + _local3);
case "easeoutbounce" :
_local1 = _local1 / d;
if (_local1 < 0.363636363636364) {
return((_local2 * ((7.5625 * _local1) * _local1)) + _local3);
}
if (_local1 < 0.727272727272727) {
_local1 = _local1 - 0.545454545454545;
return((_local2 * (((7.5625 * _local1) * _local1) + 0.75)) + _local3);
}
if (_local1 < 0.909090909090909) {
_local1 = _local1 - 0.818181818181818;
return((_local2 * (((7.5625 * _local1) * _local1) + 0.9375)) + _local3);
}
_local1 = _local1 - 0.954545454545455;
return((_local2 * (((7.5625 * _local1) * _local1) + 0.984375)) + _local3);
}
return(undefined);
}
}
Symbol 13 MovieClip Frame 1
stop();
Symbol 13 MovieClip Frame 10
stop();
Symbol 56 MovieClip Frame 1
stop();
Symbol 60 MovieClip Frame 1
function logoType() {
var _local3 = this;
var _local2 = 1;
while (_local2 <= 13) {
var _local1 = _local3.logo_mc["mc" + _local2];
_local1.tweenObject = new adTween(_local1);
_local1.tweenObject.tween("_alpha", 100, 0.25, "linear", _local2 * 0.06);
_local1.tweenObject.tween("_y", _local1.targY, 0.4, "easeOutQuad", _local2 * 0.06);
_local2++;
}
t_qMark.tween("_alpha", 100, 0.3, "linear", 0.5);
t_doYou.tween("_alpha", 100, 0.3, "linear");
cta.tween("_alpha", 100, 0.3);
cta.scaleTo(100, 0.4);
}
var i = 1;
while (i <= 13) {
var path = this.logo_mc["mc" + i];
path._alpha = 0;
path.targY = path._y;
path._y = path._y - 15;
i++;
}
this.logo_mc.qMark_mc._alpha = 0;
this.doYou_mc._alpha = 0;
t_qMark = new adTween(this.logo_mc.qMark_mc);
t_doYou = new adTween(this.doYou_mc);
cta = new adTween(cta_mc);
cta_mc._alpha = 0;
cta_mc._xscale = (cta_mc._yscale = 0);
stop();
Symbol 60 MovieClip Frame 12
logoType();
Symbol 60 MovieClip Frame 17
function logoJump() {
var _local3 = this;
logo_mc.allowJump = false;
var _local1 = 1;
while (_local1 <= 6) {
var _local2 = _local3.logo_mc["mc" + _local1];
_local2._yscale = (_local2._xscale = 150);
if (_local1 <= 5) {
_local2.tweenObject.scaleTo(100, 1, "easeoutelastic", _local1 * 0.02);
} else {
_local2.tweenObject.scaleTo(100, 1, "easeoutelastic", _local1 * 0.02, function () {
logo_mc.allowJump = true;
});
}
_local1++;
}
}
stop();
logo_mc.onRollOver = function () {
if (logo_mc.allowJump) {
logoJump();
}
};
logo_mc.onRelease = function () {
_root.clickTag_mc.onRelease();
};
logo_mc.allowJump = true;
cta_mc.onRollOver = function () {
cta.scaleTo(105, 0.5, "easeoutelastic");
};
cta_mc.onRollOut = function () {
cta.scaleTo(100, 0.5, "easeoutelastic");
};
cta_mc.onRelease = function () {
_root.clickTag_mc.onRelease();
};