Frame 176
function shuffler() {
return(((random(2) == 0) ? -1 : 1));
}
function duplicateMovieClipImage(from, target) {
var _local1 = new flash.display.BitmapData(from._width, from._height);
_local1.draw(from);
target.attachBitmap(_local1, 1, true, true);
}
function rand(a, b) {
return(Math.round(Math.random() * (b - a)) + a);
}
function flipButtons(arg) {
strt.bui("Strong", "InOut", "_alpha", strt._alpha, 0, 20);
dummy2.bui("Strong", "InOut", "_alpha", dummy2._alpha, 0, 20);
main.bui("Strong", "InOut", "_alpha", main._alpha, 100, 20);
main.myTw.onMotionFinished = function () {
strt._visible = false;
reposition();
tme.timeClip.goTime();
};
}
function disableBtns() {
dummy.onRollOver = function () {
this.useHandCursor = false;
};
}
function createArr() {
photo = [];
i = 0;
while (i < numberPistures) {
photo.push(i + 1);
i++;
}
}
function StartIt() {
createArr();
moves = 0;
mvs.movs_txt.text = moves;
delete tme.timeClip.onEnterFrame;
tme.timeClip.timer_txt.text = "00:00:00";
dummy = this.createEmptyMovieClip("dummy", 800);
dummy2 = this.createEmptyMovieClip("dummy2", 802);
dummy3 = thmb.createEmptyMovieClip("dummy3", 1);
dummy._alpha = 0;
popup._alpha = 0;
dummy2._alpha = 0;
picHolder = dummy.createEmptyMovieClip("picHolder", 0);
if (!oo) {
phi++;
}
if (phi > (photo.length - 1)) {
phi = 0;
}
picHolder.loadMovie(((picturePath + "g") + photo[phi]) + ".jpg");
dummy.onEnterFrame = function () {
gbt = picHolder.getBytesTotal();
gbl = picHolder.getBytesLoaded();
if (((gbl > 15000) && (gbl == gbt)) && (dummy._width > 100)) {
delete dummy.onEnterFrame;
duplicateMovieClipImage(dummy, dummy3);
duplicateMovieClipImage(dummy, dummy2);
topPos = (Stage.height / 2) - (dummy._height / 2);
leftPos = (Stage.width / 2) - (dummy._width / 2);
if (dummy._width > dummy._height) {
tip = "horizontal";
} else {
tip = "vertical";
}
dummy3._x = 5;
dummy3._y = 5;
dummy3._width = 80;
dummy3._height = 70;
dummy3._alpha = 80;
dummy._x = leftPos;
dummy._y = leftPos;
dummy2._x = leftPos;
dummy2._y = topPos;
strt._visible = true;
strt._x = (leftPos + (dummy._width / 2)) - (strt._width / 2);
strt._y = (topPos + (dummy._height / 2)) - (strt._height / 2);
strt.swapDepths(805);
dummy2._alpha = 0;
if (tip == "horizontal") {
nextg.bui("Strong", "InOut", "_y", nextg._y, (topPos + dummy._height) + 12, 10);
nextg.bui("Strong", "InOut", "_x", nextg._x, (leftPos + dummy._width) - 168, 10);
tme.bui("Strong", "InOut", "_x", tme._x, leftPos + 187, 10);
tme.bui("Strong", "InOut", "_y", tme._y, topPos - 35, 10);
mvs.bui("Strong", "InOut", "_x", mvs._x, ((leftPos + dummy._width) - mvs._width) + 6, 10);
mvs.bui("Strong", "InOut", "_y", mvs._y, topPos - 35, 10);
thmb.bui("Strong", "InOut", "_x", thmb._x, ((leftPos + dummy._width) - thmb._width) - 110, 10);
thmb.bui("Strong", "InOut", "_y", thmb._y, topPos - 70, 10);
}
if (tip == "vertical") {
nextg.bui("Strong", "InOut", "_y", nextg._y, topPos + (dummy._height / 2), 10);
nextg.bui("Strong", "InOut", "_x", nextg._x, (leftPos + dummy._width) + 10, 10);
tme.bui("Strong", "InOut", "_x", tme._x, ((leftPos + dummy._width) - tme._width) + 6, 10);
tme.bui("Strong", "InOut", "_y", tme._y, topPos - 35, 10);
mvs.bui("Strong", "InOut", "_x", mvs._x, (leftPos + dummy._width) - 8, 10);
mvs.bui("Strong", "InOut", "_y", mvs._y, topPos + 105, 10);
thmb.bui("Strong", "InOut", "_x", thmb._x, (leftPos + dummy._width) - 8, 10);
thmb.bui("Strong", "InOut", "_y", thmb._y, topPos + 15, 10);
}
fflogo.bui("Strong", "InOut", "_x", fflogo._x, (leftPos - fflogo._width) - 8, 10);
fflogo.bui("Strong", "InOut", "_y", fflogo._y, ((topPos + dummy._height) - fflogo._height) + 14, 10);
slide.bui("Strong", "InOut", "_x", slide._x, leftPos - 8, 10);
slide.bui("Strong", "InOut", "_y", slide._y, ((topPos + dummy._height) + slide._height) - 2, 10);
diff.bui("Strong", "InOut", "_x", diff._x, leftPos - 8, 10);
diff.bui("Strong", "InOut", "_y", diff._y, topPos - 35, 10);
nextg.bui("Strong", "InOut", "_alpha", nextg._alpha, 100, 10);
tme.bui("Strong", "InOut", "_alpha", tme._alpha, 100, 10);
mvs.bui("Strong", "InOut", "_alpha", mvs._alpha, 100, 10);
thmb.bui("Strong", "InOut", "_alpha", thmb._alpha, 100, 10);
fflogo.bui("Strong", "InOut", "_alpha", fflogo._alpha, 100, 10);
slide.bui("Strong", "InOut", "_alpha", slide._alpha, 100, 10);
diff.bui("Strong", "InOut", "_alpha", diff._alpha, 100, 10);
dummy2.bui("Strong", "InOut", "_alpha", dummy2._alpha, 35, 20);
strt.bui("Strong", "InOut", "_alpha", strt._alpha, 100, 20);
back.bui("Strong", "InOut", "_x", back._x, leftPos - 8, 10);
back.bui("Strong", "InOut", "_width", back._width, dummy._width + 14, 10);
back.bui("Strong", "InOut", "_y", back._y, topPos - 8, 10);
back.bui("Strong", "InOut", "_height", back._height, dummy._height + 14, 10);
back.bui("Strong", "InOut", "_alpha", back._alpha, 100, 10);
createGrid();
}
};
}
function createGrid() {
moves = 0;
mvs.movs_txt.text = moves;
shstart = 0;
dummy._alpha = 0;
popup._alpha = 0;
tme.timeClip.resetTime();
if (tip == "horizontal") {
col = coco;
rows = roro;
}
if (tip == "vertical") {
col = roro;
rows = coco;
}
sw = dummy._width / col;
sh = dummy._height / rows;
lngth = col * rows;
main = this.createEmptyMovieClip("main", 0);
main._y = topPos;
main._x = leftPos;
main._alpha = 0;
xx = 0;
yy = 0;
xinc = 0;
gap = 1;
picArr = [];
posArr = [];
i = 0;
while (i < lngth) {
picArr.push(i);
posArr.push([xx, yy]);
square = main.createEmptyMovieClip("square" + i, i);
square.id = i;
square.gx = xx;
square.gy = yy;
picHolder = square.createEmptyMovieClip("picHolder", 0);
picsubholder = picHolder.createEmptyMovieClip("picsubholder", 0);
duplicateMovieClipImage(dummy, picsubholder);
trace(picsubholder);
masko = square.attachMovie("sqr", "sqr", 1, {_width:sw - gap, _height:sh - gap, _x:xx, _y:yy});
hitkox = square.attachMovie("sqr", "hitkox", 10, {_width:sw - gap, _height:sh - gap, _x:xx, _y:yy, _alpha:0});
hitkoy = square.attachMovie("sqr", "hitkoy", 9, {_width:sw - gap, _height:sh - gap, _x:xx, _y:yy, _alpha:0});
square.textFld(i + 1);
picHolder.setMask(masko);
xinc++;
if (xinc == col) {
xinc = 0;
xx = 0;
yy = yy + (masko._height + gap);
} else {
xx = xx + (masko._width + gap);
}
i++;
}
hitkox._x = hitkox._x - 10;
hitkox._width = hitkox._width + 20;
hitkoy._y = hitkoy._y - 10;
hitkoy._height = hitkoy._height + 20;
square.swapDepths(-1000);
disableBtns();
repFirst();
}
function repFirst(sq) {
i = 0;
while (i < picArr.length) {
main["square" + i]._x = posArr[i][0] - main["square" + i].gx;
main["square" + i]._y = posArr[i][1] - main["square" + i].gy;
i++;
}
}
function reposition() {
moves = 0;
mvs.movs_txt.text = moves;
dummy._alpha = 0;
popup._alpha = 0;
delete dummy.onRollOver;
posArr.sort(shuffler);
lasty = main["square" + (picArr.length - 1)];
lasty.myNum.nm.text = "";
lasty.attachMovie("cross", "cross", 20, {_x:lasty.sqr._x + (lasty.sqr._width / 2), _y:lasty.sqr._y + (lasty.sqr._height / 2)});
lasty.onRollOver = function () {
this.useHandCursor = false;
};
lasty.picHolder.setColor(0);
i = 0;
while (i < picArr.length) {
main["square" + i].bui("Strong", "InOut", "_x", main["square" + i]._x, posArr[i][0] - main["square" + i].gx, 15);
main["square" + i].bui("Strong", "InOut", "_y", main["square" + i]._y, posArr[i][1] - main["square" + i].gy, 15);
main["square" + i].onRelease = function () {
if ((this.hitkox.hitTest(lasty.hitkox) || (this.hitkoy.hitTest(lasty.hitkoy))) && (ba)) {
ba = false;
if (this.id != (picArr.length - 1)) {
moves++;
(mvs.movs_txt.text = moves);
}
mex = this._x;
mey = this._y;
this.bui("Back", "InOut", "_x", this._x, (lasty._x - this.gx) + lasty.gx, 5);
lasty._x = (mex - lasty.gx) + this.gx;
this.bui("Back", "InOut", "_y", this._y, (lasty._y - this.gy) + lasty.gy, 5);
lasty._y = (mey - lasty.gy) + this.gy;
this.myTw.onMotionFinished = function () {
checkMe();
ba = true;
};
}
};
i++;
}
main["square" + (picArr.length - 1)].myTw.onMotionFinished = function () {
if (shstart < 2) {
shstart++;
reposition();
}
disableBtns();
if (shstart == 2) {
setTimeout(_root, "remcov", 1000);
}
};
ba = true;
}
function remcov() {
removeMovieClip(coverme);
}
function checkMe() {
tex = 0;
tey = 0;
j = 0;
while (j < picArr.length) {
bex = main["square" + j]._x;
bey = main["square" + j]._y;
if ((bex < 0) || (bex > 0)) {
tex = bex;
}
if ((bey < 0) || (bey > 0)) {
tey = bey;
}
j++;
}
if ((tex == 0) && (tey == 0)) {
lasty._alpha = 100;
tme.timeClip.stopTime();
disableBtns();
dummy._visible = true;
dummy._alpha = 100;
popup = this.attachMovie("popup", "popup", 1200);
popup.vinText.text = ((("Congratulations! You solved the puzzle in " + tme.timeClip.out) + " with ") + moves) + " moves";
popup._x = (dummy._width / 2) - (popup._width / 2);
popup._y = (dummy._y + (dummy._height / 2)) - (popup._height / 2);
}
}
Stage.scaleMode = "noScale";
System.security.allowDomain("*");
Stage.align = "TL";
Stage.showMenu = false;
numberPistures = 19;
picturePath = "http://fpflashfarm.com/flashfiles/halloween-puzzle/";
MovieClip.prototype.setColor = function (arg) {
temp = new Color(this);
temp.setRGB(arg);
};
MovieClip.prototype.textFld = function (arg) {
myNum = this.attachMovie("myNum", "myNum", 25, {_x:xx, _y:yy});
this.myNum.nm.autoSize = true;
this.myNum.nm.text = arg;
};
MovieClip.prototype.bui = function (type, inout, prop, from, to, spd) {
switch (type) {
case "Back" :
type = mx.transitions.easing.Back;
break;
case "Bounce" :
type = mx.transitions.easing.Bounce;
break;
case "Elastic" :
type = mx.transitions.easing.Elastic;
break;
case "Regular" :
type = mx.transitions.easing.Regular;
break;
case "Strong" :
type = mx.transitions.easing.Strong;
break;
case "None" :
type = mx.transitions.easing.None;
}
this.myTw = new mx.transitions.Tween(this, prop, type["ease" + inout], from, to, spd);
};
MovieClip.prototype.red = function (arg) {
i = 0;
while (i < 3) {
if (i == arg) {
this.gotoAndStop(2);
} else {
_root.diff["btn" + i].gotoAndStop(1);
}
i++;
}
};
nextg.onRelease = function () {
oo = false;
StartIt();
};
diff.btn0.onRelease = function () {
this.red(this.id);
oo = true;
coco = 4;
roro = 3;
StartIt();
};
diff.btn1.onRelease = function () {
this.red(this.id);
oo = true;
coco = 6;
roro = 5;
StartIt();
};
diff.btn2.onRelease = function () {
this.red(this.id);
oo = true;
coco = 8;
roro = 7;
StartIt();
};
strt.onRelease = function () {
coverme = _root.attachMovie("coverme", "coverme", 2345);
flipButtons("out");
};
rlod.onRelease = function () {
shstart = 0;
reposition();
};
clickMe = 0;
frequency = 20;
onMouseDown = function () {
clickMe++;
if (clickMe >= frequency) {
clickMe = 0;
getURL ("javascript:adReload()");
}
};
phi = -1;
diff.btn0.red(0);
coco = 4;
roro = 3;
StartIt();
stop();
Symbol 8 Button
on (release) {
removeMovieClip(this);
}
Symbol 14 MovieClip [coverme] Frame 1
this.onRollOver = function () {
this.useHandCursor = false;
};
Symbol 94 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 95 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 96 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 97 MovieClip [__Packages.mx.transitions.easing.Elastic] Frame 0
class mx.transitions.easing.Elastic
{
function Elastic () {
}
static function easeIn(t, b, c, d, a, p) {
if (t == 0) {
return(b);
}
t = t / d;
if (t == 1) {
return(b + c);
}
if (!p) {
p = d * 0.3;
}
if ((!a) || (a < Math.abs(c))) {
a = c;
var _local7 = p / 4;
} else {
var _local7 = (p / (Math.PI*2)) * Math.asin(c / a);
}
t = t - 1;
return((-((a * Math.pow(2, 10 * t)) * Math.sin((((t * d) - _local7) * (Math.PI*2)) / p))) + b);
}
static function easeOut(t, b, c, d, a, p) {
if (t == 0) {
return(b);
}
t = t / d;
if (t == 1) {
return(b + c);
}
if (!p) {
p = d * 0.3;
}
if ((!a) || (a < Math.abs(c))) {
a = c;
var _local7 = p / 4;
} else {
var _local7 = (p / (Math.PI*2)) * Math.asin(c / a);
}
return((((a * Math.pow(2, -10 * t)) * Math.sin((((t * d) - _local7) * (Math.PI*2)) / p)) + c) + b);
}
static function easeInOut(t, b, c, d, a, p) {
if (t == 0) {
return(b);
}
t = t / (d / 2);
if (t == 2) {
return(b + c);
}
if (!p) {
p = d * 0.45;
}
if ((!a) || (a < Math.abs(c))) {
a = c;
var _local7 = p / 4;
} else {
var _local7 = (p / (Math.PI*2)) * Math.asin(c / a);
}
if (t < 1) {
t = t - 1;
return((-0.5 * ((a * Math.pow(2, 10 * t)) * Math.sin((((t * d) - _local7) * (Math.PI*2)) / p))) + b);
}
t = t - 1;
return(((((a * Math.pow(2, -10 * t)) * Math.sin((((t * d) - _local7) * (Math.PI*2)) / p)) * 0.5) + c) + b);
}
static var version = "1.1.0.52";
}
Symbol 98 MovieClip [__Packages.mx.transitions.easing.Strong] Frame 0
class mx.transitions.easing.Strong
{
function Strong () {
}
static function easeIn(t, b, c, d) {
t = t / d;
return((((((c * t) * t) * t) * t) * t) + b);
}
static function easeOut(t, b, c, d) {
t = (t / d) - 1;
return((c * (((((t * t) * t) * t) * t) + 1)) + b);
}
static function easeInOut(t, b, c, d) {
t = t / (d / 2);
if (t < 1) {
return(((((((c / 2) * t) * t) * t) * t) * t) + b);
}
t = t - 2;
return(((c / 2) * (((((t * t) * t) * t) * t) + 2)) + b);
}
static var version = "1.1.0.52";
}
Symbol 99 MovieClip [__Packages.mx.transitions.easing.Back] Frame 0
class mx.transitions.easing.Back
{
function Back () {
}
static function easeIn(t, b, c, d, s) {
if (s == undefined) {
s = 1.70158;
}
t = t / d;
return((((c * t) * t) * (((s + 1) * t) - s)) + b);
}
static function easeOut(t, b, c, d, s) {
if (s == undefined) {
s = 1.70158;
}
t = (t / d) - 1;
return((c * (((t * t) * (((s + 1) * t) + s)) + 1)) + b);
}
static function easeInOut(t, b, c, d, s) {
if (s == undefined) {
s = 1.70158;
}
t = t / (d / 2);
if (t < 1) {
s = s * 1.525;
return(((c / 2) * ((t * t) * (((s + 1) * t) - s))) + b);
}
t = t - 2;
s = s * 1.525;
return(((c / 2) * (((t * t) * (((s + 1) * t) + s)) + 2)) + b);
}
static var version = "1.1.0.52";
}
Symbol 100 MovieClip [__Packages.mx.transitions.easing.Bounce] Frame 0
class mx.transitions.easing.Bounce
{
function Bounce () {
}
static function easeOut(t, b, c, d) {
t = t / d;
if (t < 0.363636363636364) {
return((c * ((7.5625 * t) * t)) + b);
}
if (t < 0.727272727272727) {
t = t - 0.545454545454545;
return((c * (((7.5625 * t) * t) + 0.75)) + b);
}
if (t < 0.909090909090909) {
t = t - 0.818181818181818;
return((c * (((7.5625 * t) * t) + 0.9375)) + b);
}
t = t - 0.954545454545455;
return((c * (((7.5625 * t) * t) + 0.984375)) + b);
}
static function easeIn(t, b, c, d) {
return((c - easeOut(d - t, 0, c, d)) + b);
}
static function easeInOut(t, b, c, d) {
if (t < (d / 2)) {
return((easeIn(t * 2, 0, c, d) * 0.5) + b);
}
return(((easeOut((t * 2) - d, 0, c, d) * 0.5) + (c * 0.5)) + b);
}
static var version = "1.1.0.52";
}
Symbol 101 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 102 MovieClip [__Packages.mx.transitions.easing.None] Frame 0
class mx.transitions.easing.None
{
function None () {
}
static function easeNone(t, b, c, d) {
return(((c * t) / d) + b);
}
static function easeIn(t, b, c, d) {
return(((c * t) / d) + b);
}
static function easeOut(t, b, c, d) {
return(((c * t) / d) + b);
}
static function easeInOut(t, b, c, d) {
return(((c * t) / d) + b);
}
static var version = "1.1.0.52";
}
Symbol 22 Button
on (release) {
getURL ("http://www.ugoplayer.com/?cmpid=gdi_ugp_foxy_101708", "_blank");
}
Symbol 47 MovieClip Frame 1
this.swapDepths(253667);
this.onRollOver = function () {
gotoAndStop (2);
};
this.onRollOut = function () {
gotoAndStop (1);
};
this.onRelease = function () {
getURL ("http://foxyfans.ugo.com/", "_blank");
};
stop();
Symbol 50 MovieClip Frame 1
this.swapDepths(253666);
this.onRollOver = function () {
gotoAndStop (2);
};
this.onRollOut = function () {
gotoAndStop (1);
};
this.onRelease = function () {
getURL ("http://www.ugoplayer.com/", "_blank");
};
stop();
Symbol 65 MovieClip Frame 1
stop();
id = 0;
Symbol 65 MovieClip Frame 2
stop();
Symbol 68 MovieClip Frame 1
stop();
id = 1;
Symbol 68 MovieClip Frame 2
stop();
Symbol 71 MovieClip Frame 1
stop();
id = 2;
Symbol 71 MovieClip Frame 2
stop();
Symbol 76 MovieClip Frame 1
function goTime() {
_root.dummy._visible = false;
startTime = getTimer();
hrn = "";
mn = "";
sn = "";
hn = "";
this.onEnterFrame = function () {
elapsedTime = getTimer() - startTime;
elapsedHours = Math.floor(elapsedTime / 3600000);
remaining = elapsedTime - (elapsedHours * 3600000);
elapsedM = Math.floor(remaining / 60000);
remaining = remaining - (elapsedM * 60000);
elapsedS = Math.floor(remaining / 1000);
remaining = remaining - (elapsedS * 1000);
elapsedH = Math.floor(remaining / 10);
hours = elapsedHours.toString();
minutes = elapsedM.toString();
seconds = elapsedS.toString();
hundredths = elapsedH.toString();
if (hours < 10) {
hrn = "0";
} else {
hrn = "";
}
if (minutes < 10) {
mn = "0";
} else {
mn = "";
}
if (seconds < 10) {
sn = "0";
} else {
sn = "";
}
if (hundredths < 10) {
hn = "0";
} else {
hn = "";
}
timer_txt.text = ((((((hrn + hours) + ":") + mn) + minutes) + ":") + sn) + seconds;
out = "";
if (hours > 0) {
out = out + ((" " + hours) + " Hours, ");
}
if (minutes > 0) {
out = out + ((" " + minutes) + " Minutes and");
}
out = out + ((" " + seconds) + " Seconds");
};
}
function stopTime() {
delete this.onEnterFrame;
}
function resetTime() {
delete this.onEnterFrame;
timer_txt.text = "00:00:00";
}
Symbol 88 MovieClip Frame 1
this.onRollOver = function () {
this.gotoAndStop(2);
};
this.onRollOut = function () {
this.gotoAndStop(1);
};
stop();
Symbol 88 MovieClip Frame 2
stop();
Symbol 93 MovieClip Frame 1
this.onRollOver = function () {
gotoAndStop (2);
};
this.onRollOut = function () {
gotoAndStop (1);
};
stop();