Frame 1
System.security.allowDomain("http://ad.au.doubleclick.net");
System.security.allowDomain("http://ad.cn.doubleclick.net");
System.security.allowDomain("http://ad.de.doubleclick.net");
System.security.allowDomain("http://ad.doubleclick.net");
System.security.allowDomain("http://ad.es.doubleclick.net");
System.security.allowDomain("http://ad.fr.doubleclick.net");
System.security.allowDomain("http://ad.hk.doubleclick.net");
System.security.allowDomain("http://ad.ie.doubleclick.net");
System.security.allowDomain("http://ad.it.doubleclick.net");
System.security.allowDomain("http://ad.jp.doubleclick.net");
System.security.allowDomain("http://ad.nl.doubleclick.net");
System.security.allowDomain("http://ad.se.doubleclick.net");
System.security.allowDomain("http://ad.tw.doubleclick.net");
System.security.allowDomain("http://ad.uk.doubleclick.net");
System.security.allowDomain("http://creatives.doubleclick.net");
System.security.allowDomain("http://betadfa.doubleclick.com");
System.security.allowDomain("http://dfa.doubleclick.net");
System.security.allowDomain("http://betadfp.doubleclick.com");
System.security.allowDomain("http://dfp.doubleclick.net");
System.security.allowDomain("http://doubleclick.net");
System.security.allowDomain("http://m.2mdn.net");
System.security.allowDomain("http://m.au.2mdn.net");
System.security.allowDomain("http://m.cn.2mdn.net");
System.security.allowDomain("http://m.de.2mdn.net");
System.security.allowDomain("http://m.doubleclick.net");
System.security.allowDomain("http://m.fr.2mdn.net");
System.security.allowDomain("http://m.hk.2mdn.net");
System.security.allowDomain("http://m.jp.2mdn.net");
System.security.allowDomain("http://m.se.2mdn.net");
System.security.allowDomain("http://m.tw.2mdn.net");
System.security.allowDomain("http://m.uk.2mdn.net");
System.security.allowDomain("http://m1.2mdn.net");
System.security.allowDomain("http://m1.doubleclick.net");
System.security.allowDomain("http://m1.jp.2mdn.net");
System.security.allowDomain("http://m2.2mdn.net");
System.security.allowDomain("http://m2.doubleclick.net");
System.security.allowDomain("http://m3.2mdn.net");
System.security.allowDomain("http://m3.doubleclick.net");
System.security.allowDomain("http://motifcdn.doubleclick.net");
System.security.allowDomain("http://motifcdn2.doubleclick.net");
System.security.allowDomain("http://sandbox.dartmotif.com");
System.security.allowDomain("http://demo.doubleclick.com");
System.security.allowDomain("http://demo.doubleclick.net");
_quality = "HIGH";
loaded = false;
easeType1 = mx.transitions.easing.Regular.easeInOut;
startFrame = 250;
beerAni_mc.beer_mc.pull_mc._visible = false;
this.onEnterFrame = function () {
movietotal = getBytesTotal();
movieloaded = getBytesLoaded();
perc50 = int((movieloaded / movietotal) * 100);
theFrameLoaded = int(startFrame - (perc50 * 5));
if (((perc50 >= 50) and (_framesloaded >= 2)) and (beerAni_mc._currentframe == 29)) {
perc50 = 50;
play();
}
beerAni_mc.beer_mc.gotoAndStop(theFrameLoaded);
};
stop();
Frame 2
function autoRun() {
trace("autorun");
if (loaded == true) {
loop_mc.stop();
beer_mc.play();
gotoAndStop (11);
beer_mc.beerCreep = true;
loop_mc._visible = false;
}
}
this.onEnterFrame = function () {
theFrame = _framesloaded;
if (theFrame > 9) {
loaded = true;
play();
delete this.onEnterFrame;
}
};
stop();
Frame 10
beer_mc.onPress = function () {
if (this.pull_mc._visible == true) {
mousePressed = true;
}
this._parent.gotoAndStop(11);
if (loop_mc._visible == true) {
loop_mc.stop();
var _local2 = new mx.transitions.Tween(loop_mc, "_alpha", easeType1, loop_mc._alpha, 0, 0.2, true);
_local2.onMotionFinished = function () {
loop_mc._visible = false;
};
}
this.startDrag(false, 10, 202, 260, 202);
this.beerCreep = false;
this.pull_mc._visible = false;
};
beer_mc.onRelease = (beer_mc.onReleaseOutside = function () {
this.stopDrag();
if (this._x == 260) {
this._parent.play();
this.beerCreep = false;
} else if (_x == 10) {
this._parent.gotoAndStop(10);
this.beerCreep = false;
} else {
this.beerCreep = true;
}
});
beer_mc.onEnterFrame = function () {
if ((this._x < (_xmouse - 15)) and (mousePressed == true)) {
this._x = this._x + 5;
} else {
mousePressed = false;
}
if (this.beerCreep == true) {
if (this._x < 260) {
this._x++;
this.pull_mc._visible = false;
}
}
if (((int(this._x) == 10) and (this.pull_mc._visible == false)) and (_xmouse < 0)) {
this.beerCreep = true;
this.stopDrag();
}
if ((this.pull_mc._visible == false) and (_ymouse > 300)) {
this.beerCreep = true;
this.stopDrag();
}
if (int(this._x) == 260) {
this._parent.play();
this.beerCreep = false;
} else if (this.pull_mc._visible == false) {
this._parent.gotoAndStop(11);
}
this.beerPos = this._x - 10;
morph.gotoAndStop(int(this.beerPos));
this.gotoAndStop(int(this.beerPos));
};
stop();
Frame 85
beer_mc.gotoAndStop(250);
_quality = "HIGH";
beer_mc.onEnterFrame = function () {
beer_mc._x = beer_mc._x + 4;
};
bar_mc.onEnterFrame = function () {
bar_mc._y = bar_mc._y + 4;
};
Frame 287
gotoAndStop (10);
Symbol 15 MovieClip Frame 1
stop();
Instance of Symbol 17 MovieClip in Symbol 18 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation + 20);
}
Symbol 19 MovieClip Frame 29
stop();
Symbol 52 MovieClip [__Packages.mx.transitions.easing.Regular] Frame 0
class mx.transitions.easing.Regular
{
function Regular () {
}
static function easeIn(t, b, c, d) {
t = t / d;
return(((c * t) * t) + b);
}
static function easeOut(t, b, c, d) {
t = t / d;
return((((-c) * t) * (t - 2)) + b);
}
static function easeInOut(t, b, c, d) {
t = t / (d / 2);
if (t < 1) {
return((((c / 2) * t) * t) + b);
}
t--;
return((((-c) / 2) * ((t * (t - 2)) - 1)) + b);
}
static var version = "1.1.0.52";
}
Symbol 53 MovieClip [__Packages.mx.transitions.OnEnterFrameBeacon] Frame 0
class mx.transitions.OnEnterFrameBeacon
{
function OnEnterFrameBeacon () {
}
static function init() {
var _local4 = _global.MovieClip;
if (!_root.__OnEnterFrameBeacon) {
mx.transitions.BroadcasterMX.initialize(_local4);
var _local3 = _root.createEmptyMovieClip("__OnEnterFrameBeacon", 9876);
_local3.onEnterFrame = function () {
_global.MovieClip.broadcastMessage("onEnterFrame");
};
}
}
static var version = "1.1.0.52";
}
Symbol 54 MovieClip [__Packages.mx.transitions.BroadcasterMX] Frame 0
class mx.transitions.BroadcasterMX
{
var _listeners;
function BroadcasterMX () {
}
static function initialize(o, dontCreateArray) {
if (o.broadcastMessage != undefined) {
delete o.broadcastMessage;
}
o.addListener = mx.transitions.BroadcasterMX.prototype.addListener;
o.removeListener = mx.transitions.BroadcasterMX.prototype.removeListener;
if (!dontCreateArray) {
o._listeners = new Array();
}
}
function addListener(o) {
removeListener(o);
if (broadcastMessage == undefined) {
broadcastMessage = mx.transitions.BroadcasterMX.prototype.broadcastMessage;
}
return(_listeners.push(o));
}
function removeListener(o) {
var _local2 = _listeners;
var _local3 = _local2.length;
while (_local3--) {
if (_local2[_local3] == o) {
_local2.splice(_local3, 1);
if (!_local2.length) {
broadcastMessage = undefined;
}
return(true);
}
}
return(false);
}
function broadcastMessage() {
var _local5 = String(arguments.shift());
var _local4 = _listeners.concat();
var _local6 = _local4.length;
var _local3 = 0;
while (_local3 < _local6) {
_local4[_local3][_local5].apply(_local4[_local3], arguments);
_local3++;
}
}
static var version = "1.1.0.52";
}
Symbol 55 MovieClip [__Packages.mx.transitions.Tween] Frame 0
class mx.transitions.Tween
{
var obj, prop, begin, useSeconds, _listeners, addListener, prevTime, _time, looping, _duration, broadcastMessage, isPlaying, _fps, prevPos, _pos, change, _intervalID, _startTime;
function Tween (obj, prop, func, begin, finish, duration, useSeconds) {
mx.transitions.OnEnterFrameBeacon.init();
if (!arguments.length) {
return;
}
this.obj = obj;
this.prop = prop;
this.begin = begin;
position = (begin);
this.duration = (duration);
this.useSeconds = useSeconds;
if (func) {
this.func = func;
}
this.finish = (finish);
_listeners = [];
addListener(this);
start();
}
function set time(t) {
prevTime = _time;
if (t > duration) {
if (looping) {
rewind(t - _duration);
update();
broadcastMessage("onMotionLooped", this);
} else {
if (useSeconds) {
_time = _duration;
update();
}
stop();
broadcastMessage("onMotionFinished", this);
}
} else if (t < 0) {
rewind();
update();
} else {
_time = t;
update();
}
//return(time);
}
function get time() {
return(_time);
}
function set duration(d) {
_duration = (((d == null) || (d <= 0)) ? (_global.Infinity) : (d));
//return(duration);
}
function get duration() {
return(_duration);
}
function set FPS(fps) {
var _local2 = isPlaying;
stopEnterFrame();
_fps = fps;
if (_local2) {
startEnterFrame();
}
//return(FPS);
}
function get FPS() {
return(_fps);
}
function set position(p) {
setPosition(p);
//return(position);
}
function setPosition(p) {
prevPos = _pos;
obj[prop] = (_pos = p);
broadcastMessage("onMotionChanged", this, _pos);
updateAfterEvent();
}
function get position() {
return(getPosition());
}
function getPosition(t) {
if (t == undefined) {
t = _time;
}
return(func(t, begin, change, _duration));
}
function set finish(f) {
change = f - begin;
//return(finish);
}
function get finish() {
return(begin + change);
}
function continueTo(finish, duration) {
begin = position;
this.finish = (finish);
if (duration != undefined) {
this.duration = (duration);
}
start();
}
function yoyo() {
continueTo(begin, time);
}
function startEnterFrame() {
if (_fps == undefined) {
_global.MovieClip.addListener(this);
} else {
_intervalID = setInterval(this, "onEnterFrame", 1000 / _fps);
}
isPlaying = true;
}
function stopEnterFrame() {
if (_fps == undefined) {
_global.MovieClip.removeListener(this);
} else {
clearInterval(_intervalID);
}
isPlaying = false;
}
function start() {
rewind();
startEnterFrame();
broadcastMessage("onMotionStarted", this);
}
function stop() {
stopEnterFrame();
broadcastMessage("onMotionStopped", this);
}
function resume() {
fixTime();
startEnterFrame();
broadcastMessage("onMotionResumed", this);
}
function rewind(t) {
_time = ((t == undefined) ? 0 : (t));
fixTime();
update();
}
function fforward() {
time = (_duration);
fixTime();
}
function nextFrame() {
if (useSeconds) {
time = ((getTimer() - _startTime) / 1000);
} else {
time = (_time + 1);
}
}
function onEnterFrame() {
nextFrame();
}
function prevFrame() {
if (!useSeconds) {
time = (_time - 1);
}
}
function toString() {
return("[Tween]");
}
function fixTime() {
if (useSeconds) {
_startTime = getTimer() - (_time * 1000);
}
}
function update() {
position = (getPosition(_time));
}
static var version = "1.1.0.52";
static var __initBeacon = mx.transitions.OnEnterFrameBeacon.init();
static var __initBroadcaster = mx.transitions.BroadcasterMX.initialize(mx.transitions.Tween.prototype, true);
function func(t, b, c, d) {
return(((c * t) / d) + b);
}
}
Symbol 21 MovieClip Frame 251
_parent.autoRun();
Symbol 24 MovieClip Frame 15
stop();