Frame 1
stopAllSounds();
Frame 2
function go() {
nextFrame();
}
function __com_mochibot__(swfid, mc, lv, trk) {
var x;
var g;
var s;
var fv;
var sb;
var u;
var res;
var mb;
var mbc;
mb = "__mochibot__";
mbc = "mochibot.com";
g = (_global ? (_global) : (_level0._root));
if (g[mb + swfid]) {
return(g[mb + swfid]);
}
s = System.security;
x = mc._root.getSWFVersion;
fv = (x ? (mc.getSWFVersion()) : ((_global ? 6 : 5)));
if (!s) {
s = {};
}
sb = s.sandboxType;
if (sb == "localWithFile") {
return(null);
}
x = s.allowDomain;
if (x) {
s.allowDomain(mbc);
}
x = s.allowInsecureDomain;
if (x) {
s.allowInsecureDomain(mbc);
}
u = (((((((((((("http://" + mbc) + "/my/core.swf?mv=7&fv=") + fv) + "&v=") + escape(getVersion())) + "&swfid=") + escape(swfid)) + "&l=") + lv) + "&f=") + mc) + (sb ? ("&sb=" + sb) : "")) + (trk ? "&t=1" : "");
lv = ((fv > 6) ? (mc.getNextHighestDepth()) : ((g[mb + "level"] ? (g[mb + "level"] + 1) : (lv))));
g[mb + "level"] = lv;
if (fv == 5) {
res = "_level" + lv;
if (!eval (res)) {
loadMovieNum (u, lv);
}
} else {
res = mc.createEmptyMovieClip(mb + swfid, lv);
res.loadMovie(u);
}
return(res);
}
stop();
setTimeout(go, 4000);
__com_mochibot__("88fb4659", this, 10301, true);
Frame 3
stop();
winBtn._visible = false;
gameLevel = 1;
lastLevel = 10;
var so = SharedObject.getLocal("savedData");
if (so.data.maxLevel) {
maxLevel = so.data.maxLevel;
} else {
maxLevel = 1;
}
soundMan = new SoundManager(this);
soundMan.addSound("bgSound");
soundMan.addSound("put");
soundMan.playSound("bgSound", 0, 999);
infoBtn.onRelease = function () {
this._visible = false;
if (!_first) {
_first = true;
id = setInterval(clickBtn, 5000);
helpMsg.init();
}
};
winBtn.onRelease = function () {
this._visible = false;
gameLevel = 1;
game.allOut();
game.gotoAndPlay(2);
indLevel.init();
};
clickBtn = function (evt) {
clearInterval(id);
};
onEnterFrame = function () {
if (_url.indexOf("http://www.ugoplayer.com") == -1) {
}
};
Instance of Symbol 398 MovieClip "helpMsg" in Frame 3
onClipEvent (load) {
function init() {
_visible = true;
onMouseDown = function () {
_visible = false;
};
}
_visible = false;
}
Symbol 8 MovieClip Frame 1
_parent.stop();
polosa._xscale = 0;
onEnterFrame = function () {
per = Math.floor((_parent.getBytesLoaded() / _parent.getBytesTotal()) * 100);
polosa._xscale = per;
if (((per == 100) && (per > 0)) && (_parent.ugoIntro._currentframe == _parent.ugoIntro._totalframes)) {
_parent.play();
delete onEnterFrame;
}
};
Symbol 16 Button
on (release) {
getURL ("http://secure-us.imrworldwide.com/cgi-bin/b?cg=ugoplayer_flash_games&ci=us-ugclicks&tu=http://www.ugoplayer.com", "_blank");
}
Symbol 19 MovieClip Frame 1
function nielsen(movieClip) {
scCI = "us-ugo";
scCG = "ugoplayer_flashgames";
scSI = escape(movieClip);
loadMovieNum ((((((("http://secure-us.imrworldwide.com/cgi-bin/m?ci=" + scCI) + "&cg=") + scCG) + "&si=") + scSI) + "&rnd=") + Math.ceil(Math.random() * 100000000), 100);
}
nielsen("game_intro");
Symbol 19 MovieClip Frame 165
stop();
Symbol 400 MovieClip [__Packages.SoundManager] Frame 0
class SoundManager
{
var playlist, mc;
function SoundManager (obj) {
playlist = new Array();
mc = obj;
}
function addSound(soundId) {
var _local2 = new Sound();
_local2.attachSound(soundId);
playlist[soundId] = _local2;
}
function playSound(soundId, offset, num) {
playlist[soundId].start(offset, num);
}
function stopSound(soundId) {
playlist[soundId].stop();
}
function setVolume(soundId, vol) {
playlist[soundId].setVolume(vol);
}
function fadeOut(soundId, time) {
var s = playlist[soundId];
var step = ((s.getVolume() / time) / 20);
var sId = setInterval(function () {
s.setVolume(s.getVolume() - step);
if (s.getVolume() <= 0) {
s.stop();
clearInterval(sId);
}
}, 20);
}
function fadeIn(soundId, time, vol) {
var vol = (vol ? (vol) : 100);
var s = playlist[soundId];
var step = ((vol / time) / 20);
s.setVolume(0);
s.start(0, 999);
var sId = setInterval(function () {
s.setVolume(s.getVolume() + step);
if (s.getVolume() >= vol) {
s.setVolume(vol);
clearInterval(sId);
}
}, 20);
}
}
Symbol 21 MovieClip Frame 1
function __com_mochibot__(swfid, mc, lv, trk) {
var x;
var g;
var s;
var fv;
var sb;
var u;
var res;
var mb;
var mbc;
mb = "__mochibot__";
mbc = "mochibot.com";
g = (_global ? (_global) : (_level0._root));
if (g[mb + swfid]) {
return(g[mb + swfid]);
}
s = System.security;
x = mc._root.getSWFVersion;
fv = (x ? (mc.getSWFVersion()) : ((_global ? 6 : 5)));
if (!s) {
s = {};
}
sb = s.sandboxType;
if (sb == "localWithFile") {
return(null);
}
x = s.allowDomain;
if (x) {
s.allowDomain(mbc);
}
x = s.allowInsecureDomain;
if (x) {
s.allowInsecureDomain(mbc);
}
u = (((((((((((("http://" + mbc) + "/my/core.swf?mv=7&fv=") + fv) + "&v=") + escape(getVersion())) + "&swfid=") + escape(swfid)) + "&l=") + lv) + "&f=") + mc) + (sb ? ("&sb=" + sb) : "")) + (trk ? "&t=1" : "");
lv = ((fv > 6) ? (mc.getNextHighestDepth()) : ((g[mb + "level"] ? (g[mb + "level"] + 1) : (lv))));
g[mb + "level"] = lv;
if (fv == 5) {
res = "_level" + lv;
if (!eval (res)) {
loadMovieNum (u, lv);
}
} else {
res = mc.createEmptyMovieClip(mb + swfid, lv);
res.loadMovie(u);
}
return(res);
}
__com_mochibot__("88fb4659", this, 10301, true);
Symbol 30 MovieClip Frame 1
function stepPlus() {
steps++;
}
steps = 0;
Symbol 35 Button
on (release) {
_parent.infoBtn._visible = true;
}
Symbol 44 MovieClip Frame 1
stop();
time = Math.random() * 400;
go = function () {
clearInterval(id);
play();
};
id = setInterval(go, time);
Instance of Symbol 38 MovieClip in Symbol 44 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 44 MovieClip Frame 20
stop();
Symbol 44 MovieClip Frame 32
_parent.gotoLevel();
Symbol 56 MovieClip Frame 1
type = 1;
onPress = function () {
_parent.beginDrag(this);
};
stop();
time = Math.random() * 200;
go = function () {
clearInterval(id);
play();
var _local1 = parts.length;
while (_local1--) {
parts[_local1].play();
}
};
id = setInterval(go, time);
Instance of Symbol 46 MovieClip in Symbol 56 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 56 MovieClip Frame 20
stop();
Symbol 56 MovieClip Frame 32
_parent.gotoLevel();
Symbol 66 MovieClip Frame 1
stop();
Instance of Symbol 58 MovieClip in Symbol 66 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 66 MovieClip Frame 20
stop();
Symbol 78 MovieClip Frame 1
type = 2;
onPress = function () {
_parent.beginDrag(this);
};
stop();
time = Math.random() * 400;
go = function () {
clearInterval(id);
play();
var _local1 = parts.length;
while (_local1--) {
parts[_local1].play();
}
};
id = setInterval(go, time);
Instance of Symbol 68 MovieClip in Symbol 78 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 78 MovieClip Frame 20
stop();
Symbol 78 MovieClip Frame 32
_parent.gotoLevel();
Symbol 88 MovieClip Frame 1
stop();
Instance of Symbol 80 MovieClip in Symbol 88 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 88 MovieClip Frame 20
stop();
Symbol 97 MovieClip Frame 1
onPress = function () {
_parent.beginDrag(this);
};
stop();
time = Math.random() * 400;
go = function () {
clearInterval(id);
play();
};
id = setInterval(go, time);
Instance of Symbol 90 MovieClip in Symbol 97 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 97 MovieClip Frame 20
stop();
Symbol 97 MovieClip Frame 32
_parent.gotoLevel();
Symbol 108 MovieClip Frame 1
gotoAndStop(_parent.type);
Symbol 109 MovieClip Frame 1
function init() {
all = [];
lev = 0;
dot._visible = false;
zone._visible = false;
onEnterFrame = function () {
lev++;
var _local3 = dot.duplicateMovieClip("d" + lev, lev);
_local3._x = zone._x + (Math.random() * zone._width);
_local3._y = zone._y + (Math.random() * zone._height);
_local3.speedX = (_local3.speedY = 4 + (Math.random() * 3));
_local3.onEnterFrame = function () {
this._x = this._x - this.speedX;
this._y = this._y - this.speedY;
this._xscale = (this._yscale = this._yscale - 2);
if (this._xscale < 5) {
var _local2 = all.length;
while (_local2--) {
if (all[_local2] == this) {
all.splice(_local2, 1);
}
}
if (all.length <= 1) {
this._parent.removeMovieClip();
}
this.removeMovieClip();
}
};
all.push(_local3);
};
}
function stopFly() {
delete onEnterFrame;
}
init();
Symbol 128 MovieClip Frame 1
type = 5;
onPress = function () {
_parent.beginDrag(this);
};
stop();
time = Math.random() * 400;
go = function () {
clearInterval(id);
play();
var _local1 = parts.length;
while (_local1--) {
parts[_local1].play();
}
};
id = setInterval(go, time);
Instance of Symbol 122 MovieClip in Symbol 128 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 128 MovieClip Frame 20
stop();
Symbol 128 MovieClip Frame 32
_parent.gotoLevel();
Symbol 135 MovieClip Frame 1
stop();
Instance of Symbol 130 MovieClip in Symbol 135 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 135 MovieClip Frame 20
stop();
Symbol 142 MovieClip Frame 1
stop();
Instance of Symbol 137 MovieClip in Symbol 142 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 142 MovieClip Frame 20
stop();
Symbol 149 MovieClip Frame 1
stop();
Instance of Symbol 144 MovieClip in Symbol 149 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 149 MovieClip Frame 20
stop();
Symbol 158 MovieClip Frame 1
type = 6;
onPress = function () {
_parent.beginDrag(this);
};
stop();
time = Math.random() * 400;
go = function () {
clearInterval(id);
play();
var _local1 = parts.length;
while (_local1--) {
parts[_local1].play();
}
};
id = setInterval(go, time);
Instance of Symbol 151 MovieClip in Symbol 158 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 158 MovieClip Frame 20
stop();
Symbol 158 MovieClip Frame 32
_parent.gotoLevel();
Symbol 165 MovieClip Frame 1
stop();
Instance of Symbol 160 MovieClip in Symbol 165 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 165 MovieClip Frame 20
stop();
Symbol 172 MovieClip Frame 1
stop();
Instance of Symbol 167 MovieClip in Symbol 172 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 172 MovieClip Frame 20
stop();
Symbol 179 MovieClip Frame 1
stop();
Instance of Symbol 174 MovieClip in Symbol 179 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 179 MovieClip Frame 20
stop();
Symbol 195 MovieClip Frame 1
type = 5;
onPress = function () {
_parent.beginDrag(this);
};
stop();
time = Math.random() * 400;
go = function () {
clearInterval(id);
play();
var _local1 = parts.length;
while (_local1--) {
parts[_local1].play();
}
};
id = setInterval(go, time);
Instance of Symbol 188 MovieClip in Symbol 195 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 195 MovieClip Frame 20
stop();
Symbol 195 MovieClip Frame 32
_parent.gotoLevel();
Symbol 202 MovieClip Frame 1
stop();
Instance of Symbol 197 MovieClip in Symbol 202 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 202 MovieClip Frame 20
stop();
Symbol 209 MovieClip Frame 1
stop();
Instance of Symbol 204 MovieClip in Symbol 209 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 209 MovieClip Frame 20
stop();
Symbol 216 MovieClip Frame 1
type = 6;
onPress = function () {
_parent.beginDrag(this);
};
stop();
time = Math.random() * 400;
go = function () {
clearInterval(id);
play();
var _local1 = parts.length;
while (_local1--) {
parts[_local1].play();
}
};
id = setInterval(go, time);
Instance of Symbol 68 MovieClip in Symbol 216 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 216 MovieClip Frame 20
stop();
Symbol 216 MovieClip Frame 32
_parent.gotoLevel();
Symbol 233 MovieClip Frame 1
type = 3;
onPress = function () {
_parent.beginDrag(this);
};
stop();
time = Math.random() * 400;
go = function () {
clearInterval(id);
play();
var _local1 = parts.length;
while (_local1--) {
parts[_local1].play();
}
};
id = setInterval(go, time);
Instance of Symbol 219 MovieClip in Symbol 233 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 233 MovieClip Frame 20
stop();
Symbol 233 MovieClip Frame 32
_parent.gotoLevel();
Symbol 243 MovieClip Frame 1
stop();
Instance of Symbol 235 MovieClip in Symbol 243 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 243 MovieClip Frame 20
stop();
Symbol 259 MovieClip Frame 1
stop();
Instance of Symbol 245 MovieClip in Symbol 259 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 259 MovieClip Frame 20
stop();
Symbol 276 MovieClip Frame 1
stop();
Instance of Symbol 262 MovieClip in Symbol 276 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 276 MovieClip Frame 20
stop();
Symbol 291 MovieClip Frame 1
type = 4;
onPress = function () {
_parent.beginDrag(this);
};
stop();
time = Math.random() * 400;
go = function () {
clearInterval(id);
play();
var _local1 = parts.length;
while (_local1--) {
parts[_local1].play();
}
};
id = setInterval(go, time);
Instance of Symbol 278 MovieClip in Symbol 291 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 291 MovieClip Frame 20
stop();
Symbol 291 MovieClip Frame 32
_parent.gotoLevel();
Symbol 307 MovieClip Frame 1
stop();
Instance of Symbol 293 MovieClip in Symbol 307 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 307 MovieClip Frame 20
stop();
Symbol 318 MovieClip Frame 1
type = 7;
onPress = function () {
_parent.beginDrag(this);
};
stop();
time = Math.random() * 200;
go = function () {
clearInterval(id);
play();
var _local1 = parts.length;
while (_local1--) {
parts[_local1].play();
}
};
id = setInterval(go, time);
Instance of Symbol 46 MovieClip in Symbol 318 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 318 MovieClip Frame 20
stop();
Symbol 318 MovieClip Frame 32
_parent.gotoLevel();
Symbol 323 MovieClip Frame 1
function initLevel(ic, jc) {
iCount = ic;
jCount = jc;
matrix = new Array(iCount);
var _local2 = iCount;
while (_local2--) {
matrix[_local2] = new Array(jCount);
}
trace("initLevel Function: " + _parent.gameLevel);
}
function init(mc) {
mc.dLev = lev++;
placeInMatrix(mc);
if (mc.parts) {
var _local3 = mc.parts.length;
while (_local3--) {
var _local1 = mc.parts[_local3];
_local1.dx = _local1._x - mc._x;
_local1.dy = _local1._y - mc._y;
}
}
}
function addFigure(mc) {
all.push(mc);
init(mc);
if (mc.parts) {
var _local1 = mc.parts.length;
while (_local1--) {
all.push(mc.parts[_local1]);
init(mc.parts[_local1]);
}
}
}
function addTarget(mc) {
targets.push(mc);
}
function checkTargetPlace() {
var _local2 = targets.length;
while (_local2--) {
var _local1 = targets[_local2];
if ((_local1.tgt.i != _local1.posI) || (_local1.tgt.j != _local1.posJ)) {
return(false);
}
}
return(true);
}
function placeInMatrix(mc) {
var _local6 = Math.floor(mc._x / cell);
var _local5 = Math.floor(mc._y / cell);
mc.posI = _local6;
mc.posJ = _local5;
matrix[_local6][_local5] = mc;
setDepths(mc);
if (mc.parts) {
var _local2 = mc.parts.length;
while (_local2--) {
var _local4 = Math.floor(mc.parts[_local2]._x / cell);
var _local3 = Math.floor(mc.parts[_local2]._y / cell);
mc.parts[_local2].posI = _local4;
mc.parts[_local2].posJ = _local3;
matrix[_local4][_local3] = mc.parts[_local2];
setDepths(mc.parts[_local2]);
}
}
}
function setDepths(mc) {
var _local2 = ((mc._x * 100) + (mc._y * 100)) + mc.dLev;
mc.swapDepths(_local2);
}
function removeFromMatrix(mc) {
matrix[mc.posI][mc.posJ] = undefined;
if (mc.parts) {
var _local1 = mc.parts.length;
while (_local1--) {
matrix[mc.parts[_local1].posI][mc.parts[_local1].posJ] = undefined;
}
}
}
function getTopSpace(mc) {
var _local2 = 0;
if (mc.posJ != 0) {
var _local1 = mc.posJ - 1;
while (_local1 >= 0) {
if (matrix[mc.posI][_local1] == undefined) {
_local2 = _local2 + cell;
} else {
break;
}
_local1--;
}
}
return(_local2);
}
function getBotSpace(mc) {
var _local3 = 0;
if (mc.posJ != (jCount - 1)) {
var _local1 = mc.posJ + 1;
while (_local1 < jCount) {
if (matrix[mc.posI][_local1] == undefined) {
_local3 = _local3 + cell;
} else {
break;
}
_local1++;
}
}
return(_local3);
}
function getLeftSpace(mc) {
var _local2 = 0;
if (mc.posI != 0) {
var _local1 = mc.posI - 1;
while (_local1 >= 0) {
if (matrix[_local1][mc.posJ] == undefined) {
_local2 = _local2 + cell;
} else {
break;
}
_local1--;
}
}
return(_local2);
}
function getRightSpace(mc) {
var _local3 = 0;
if (mc.posI != (iCount - 1)) {
var _local1 = mc.posI + 1;
while (_local1 < iCount) {
if (matrix[_local1][mc.posJ] == undefined) {
_local3 = _local3 + cell;
} else {
break;
}
_local1++;
}
}
return(_local3);
}
function getLeftMin(mc) {
if (mc.parts) {
var _local2 = Number.POSITIVE_INFINITY;
var _local3 = mc.leftSide.length;
while (_local3--) {
var _local1 = getLeftSpace(mc.leftSide[_local3]);
if (_local1 < _local2) {
_local2 = _local1;
}
}
return(_local2);
}
return(getLeftSpace(mc));
}
function getRightMin(mc) {
if (mc.parts) {
var _local2 = Number.POSITIVE_INFINITY;
var _local3 = mc.rightSide.length;
while (_local3--) {
var _local1 = getRightSpace(mc.rightSide[_local3]);
if (_local1 < _local2) {
_local2 = _local1;
}
}
return(_local2);
}
return(getRightSpace(mc));
}
function getTopMin(mc) {
if (mc.parts) {
var _local2 = Number.POSITIVE_INFINITY;
var _local3 = mc.topSide.length;
while (_local3--) {
var _local1 = getTopSpace(mc.topSide[_local3]);
if (_local1 < _local2) {
_local2 = _local1;
}
}
return(_local2);
}
return(getTopSpace(mc));
}
function getBotMin(mc) {
if (mc.parts) {
var _local2 = Number.POSITIVE_INFINITY;
var _local3 = mc.botSide.length;
while (_local3--) {
var _local1 = getBotSpace(mc.botSide[_local3]);
if (_local1 < _local2) {
_local2 = _local1;
}
}
return(_local2);
}
return(getBotSpace(mc));
}
function beginDrag(mc) {
if (isGame) {
if (!clicked) {
pos0 = {x:mc._x, y:mc._y};
tgt0 = mc;
}
clicked = true;
tgt = mc;
tData.left = tgt._x - getLeftMin(tgt);
tData.right = tgt._x + getRightMin(tgt);
tData.bot = tgt._y + getBotMin(tgt);
tData.top = tgt._y - getTopMin(tgt);
tData.x0 = tgt._x;
tData.y0 = tgt._y;
tgt.onEnterFrame = function () {
var _local3 = this._x - tData.x0;
var _local2 = this._y - tData.y0;
if (Math.abs(_local3) > Math.abs(_local2)) {
this.startDrag(0, tData.left, tData.y0, tData.right, tData.y0);
if (((this._x == tData.left) || (this._x == tData.right)) && (this._x != tData.x0)) {
endDrag();
beginDrag(this);
}
} else if (Math.abs(_local3) < Math.abs(_local2)) {
this.startDrag(0, tData.x0, tData.top, tData.x0, tData.bot);
if (((this._y == tData.top) || (this._y == tData.bot)) && (this._y != tData.y0)) {
endDrag();
beginDrag(this);
}
} else {
this.startDrag(0, tData.left, tData.top, tData.right, tData.bot);
}
setDepths(this);
if (this.parts) {
correctParts(this);
}
};
}
}
function correctParts(mc) {
var _local3 = mc.parts.length;
while (_local3--) {
var _local1 = mc.parts[_local3];
_local1._x = mc._x + _local1.dx;
_local1._y = mc._y + _local1.dy;
setDepths(_local1);
}
}
function endDrag() {
tgt.stopDrag();
delete tgt.onEnterFrame;
tgt._x = tData.x0 + (Math.round((tgt._x - tData.x0) / cell) * cell);
tgt._y = tData.y0 + (Math.round((tgt._y - tData.y0) / cell) * cell);
correctParts(tgt);
setDepths(tgt);
removeFromMatrix(tgt);
placeInMatrix(tgt);
tgt = null;
}
function placeFly(x, y, type) {
lev++;
var _local1 = fly.duplicateMovieClip("f" + lev, lev + 100000);
_local1._x = x;
_local1._y = y;
_local1.type = type;
_local1.init();
allFly.push(_local1);
return(_local1);
}
function finishAnimation() {
var _local3 = targets.length;
while (_local3--) {
targets[_local3].fly = placeFly(targets[_local3]._x, targets[_local3]._y, targets[_local3].type);
targets[_local3].path = 0;
targets[_local3].onEnterFrame = function () {
this._y = this._y - 2;
this._x = this._x - 2;
this.fly._y = this.fly._y - 2;
this.fly._x = this.fly._x - 2;
this.path = this.path + 2;
if (this.path > 150) {
ind.steps = 0;
_parent.gameLevel++;
if (_parent.gameLevel > 10) {
_parent.gameLevel = "";
} else {
_parent.maxLevel = Math.max(_parent.maxLevel, _parent.gameLevel);
}
_parent.so.data.maxLevel = _parent.maxLevel;
_parent.indLevel.btnPrev.enabled = true;
_parent.indLevel.btnPrev._alpha = 100;
allOut();
}
};
var _local4 = targets[_local3].parts.length;
while (_local4--) {
targets[_local3].parts[_local4].fly = placeFly(targets[_local3].parts[_local4]._x, targets[_local3].parts[_local4]._y, targets[_local3].type);
targets[_local3].parts[_local4].onEnterFrame = function () {
this._y = this._y - 2;
this._x = this._x - 2;
this.fly._y = this.fly._y - 2;
this.fly._x = this.fly._x - 2;
};
}
}
trace("finishAnimation Function");
}
function checkReady() {
var _local1 = all.length;
while (_local1--) {
if (all[_local1]._currentframe < 20) {
return(false);
}
}
return(true);
}
function allOut() {
var _local1 = all.length;
while (_local1--) {
delete all[_local1].onEnterFrame;
all[_local1].play();
}
isGame = true;
trace("allOut Function");
}
function gotoLevel() {
clearLevel();
gotoAndPlay("l" + _parent.gameLevel);
trace("gotoLevel Function");
}
function clearLevel() {
var _local4 = iCount;
while (_local4--) {
var _local3 = jCount;
while (_local3--) {
var _local1 = matrix[_local4][_local3];
if (_local1.parts) {
var _local2 = _local1.parts.length;
while (_local2--) {
_local1.parts[_local2].removeMovieClip();
}
}
_local1.removeMovieClip();
}
}
_local4 = allFly.length;
while (_local4--) {
allFly[_local4].stopFly();
}
targets = [];
trace("clearLevel Function");
}
cell = 40;
zoneW = iCount * cell;
zoneH = jCount * cell;
all = new Array();
var tgt = null;
clicked = false;
isGame = true;
targets = [];
allFly = [];
lev = 0;
lev = 0;
tData = {};
fly._visible = false;
onMouseUp = function () {
if (isGame) {
endDrag();
if ((pos0.x != tgt0._x) || (pos0.y != tgt0._y)) {
if (clicked) {
ind.stepPlus();
_parent.soundMan.playSound("put", 0.01, 1);
}
if (checkTargetPlace()) {
isGame = false;
finishAnimation();
}
}
clicked = false;
}
};
Instance of Symbol 36 MovieClip in Symbol 323 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(10000000);
}
Instance of Symbol 56 MovieClip "r1" in Symbol 323 MovieClip Frame 3
onClipEvent (load) {
parts = [_parent.r2];
topSide = [this];
leftSide = [this, _parent.r2];
rightSide = [this, _parent.r2];
botSide = [_parent.r2];
}
Instance of Symbol 78 MovieClip "b1" in Symbol 323 MovieClip Frame 3
onClipEvent (load) {
tgt = {i:0, j:4};
parts = [_parent.b2];
topSide = [this, _parent.b2];
leftSide = [this];
rightSide = [_parent.b2];
botSide = [this, _parent.b2];
}
Instance of Symbol 56 MovieClip "r3" in Symbol 323 MovieClip Frame 3
onClipEvent (load) {
parts = [_parent.r4];
topSide = [this];
leftSide = [this, _parent.r4];
rightSide = [this, _parent.r4];
botSide = [_parent.r4];
}
Instance of Symbol 56 MovieClip "r5" in Symbol 323 MovieClip Frame 3
onClipEvent (load) {
parts = [_parent.r6];
topSide = [this];
leftSide = [this, _parent.r6];
rightSide = [this, _parent.r6];
botSide = [_parent.r6];
}
Instance of Symbol 56 MovieClip "r7" in Symbol 323 MovieClip Frame 3
onClipEvent (load) {
parts = [_parent.r8];
topSide = [this];
leftSide = [this, _parent.r8];
rightSide = [this, _parent.r8];
botSide = [_parent.r8];
}
Instance of Symbol 120 MovieClip in Symbol 323 MovieClip Frame 3
onClipEvent (load) {
this.swapDepths(10000010);
}
Symbol 323 MovieClip Frame 4
stop();
initLevel(5, 5);
addFigure(w1);
addFigure(w2);
addFigure(w3);
addFigure(w4);
addFigure(w5);
addFigure(w6);
addFigure(w7);
addFigure(w8);
addFigure(w9);
addFigure(b1);
addFigure(r1);
addFigure(r3);
addFigure(r5);
addFigure(r7);
addFigure(n1);
addFigure(n2);
addFigure(n3);
addFigure(n4);
addTarget(b1);
Instance of Symbol 78 MovieClip "b1" in Symbol 323 MovieClip Frame 6
onClipEvent (load) {
tgt = {i:0, j:4};
parts = [_parent.b2];
topSide = [this, _parent.b2];
leftSide = [this];
rightSide = [_parent.b2];
botSide = [this, _parent.b2];
}
Instance of Symbol 128 MovieClip "p1" in Symbol 323 MovieClip Frame 6
onClipEvent (load) {
tgt = {i:3, j:3};
parts = [_parent.p2, _parent.p3, _parent.p4];
topSide = [this, _parent.p2];
leftSide = [this, _parent.p3];
rightSide = [_parent.p2, _parent.p4];
botSide = [_parent.p3, _parent.p4];
}
Instance of Symbol 56 MovieClip "r1" in Symbol 323 MovieClip Frame 6
onClipEvent (load) {
tgt = {i:4, j:0};
parts = [_parent.r2];
topSide = [this];
leftSide = [this, _parent.r2];
rightSide = [this, _parent.r2];
botSide = [_parent.r2];
}
Instance of Symbol 158 MovieClip "c1" in Symbol 323 MovieClip Frame 6
onClipEvent (load) {
tgt = {i:0, j:0};
parts = [_parent.c2, _parent.c3, _parent.c4];
topSide = [this, _parent.c2];
leftSide = [this, _parent.c3];
rightSide = [_parent.c2, _parent.c4];
botSide = [_parent.c3, _parent.c4];
}
Instance of Symbol 186 MovieClip in Symbol 323 MovieClip Frame 6
onClipEvent (load) {
this.swapDepths(10000010);
}
Symbol 323 MovieClip Frame 7
stop();
initLevel(5, 5);
addFigure(w1);
addFigure(w2);
addFigure(w3);
addFigure(w4);
addFigure(w5);
addFigure(w6);
addFigure(w7);
addFigure(w8);
addFigure(w9);
addFigure(w10);
addFigure(w11);
addFigure(r1);
addFigure(b1);
addFigure(c1);
addFigure(p1);
addTarget(r1);
addTarget(b1);
addTarget(c1);
addTarget(p1);
Instance of Symbol 195 MovieClip "p1" in Symbol 323 MovieClip Frame 9
onClipEvent (load) {
tgt = {i:1, j:0};
parts = [_parent.p2, _parent.p3, _parent.p4];
topSide = [this, _parent.p2, _parent.p3, _parent.p4];
leftSide = [this];
rightSide = [_parent.p4];
botSide = [this, _parent.p2, _parent.p3, _parent.p4];
}
Instance of Symbol 216 MovieClip "b1" in Symbol 323 MovieClip Frame 9
onClipEvent (load) {
tgt = {i:1, j:1};
parts = [_parent.b2];
topSide = [this, _parent.b2];
leftSide = [this];
rightSide = [_parent.b2];
botSide = [this, _parent.b2];
}
Instance of Symbol 56 MovieClip "r1" in Symbol 323 MovieClip Frame 9
onClipEvent (load) {
tgt = {i:0, j:0};
parts = [_parent.r2];
topSide = [this];
leftSide = [this, _parent.r2];
rightSide = [this, _parent.r2];
botSide = [_parent.r2];
}
Instance of Symbol 78 MovieClip "b3" in Symbol 323 MovieClip Frame 9
onClipEvent (load) {
tgt = {i:3, j:1};
parts = [_parent.b4];
topSide = [this, _parent.b4];
leftSide = [this];
rightSide = [_parent.b4];
botSide = [this, _parent.b4];
}
Instance of Symbol 217 MovieClip in Symbol 323 MovieClip Frame 9
onClipEvent (load) {
this.swapDepths(10000010);
}
Symbol 323 MovieClip Frame 10
stop();
initLevel(5, 5);
addFigure(w1);
addFigure(w2);
addFigure(w3);
addFigure(w4);
addFigure(w5);
addFigure(w6);
addFigure(w7);
addFigure(w8);
addFigure(w9);
addFigure(w10);
addFigure(w11);
addFigure(b1);
addFigure(b3);
addFigure(p1);
addFigure(r1);
addFigure(n1);
addFigure(n2);
addTarget(r1);
addTarget(p1);
addTarget(b1);
addTarget(b3);
Instance of Symbol 56 MovieClip "r1" in Symbol 323 MovieClip Frame 12
onClipEvent (load) {
tgt = {i:3, j:3};
parts = [_parent.r2];
topSide = [this];
leftSide = [this, _parent.r2];
rightSide = [this, _parent.r2];
botSide = [_parent.r2];
}
Instance of Symbol 233 MovieClip "g4" in Symbol 323 MovieClip Frame 12
onClipEvent (load) {
parts = [_parent.g5, _parent.g6];
topSide = [this, _parent.g5, _parent.g6];
leftSide = [this];
rightSide = [_parent.g6];
botSide = [this, _parent.g5, _parent.g6];
}
Instance of Symbol 78 MovieClip "b1" in Symbol 323 MovieClip Frame 12
onClipEvent (load) {
parts = [_parent.b2];
topSide = [this, _parent.b2];
leftSide = [this];
rightSide = [_parent.b2];
botSide = [this, _parent.b2];
}
Instance of Symbol 78 MovieClip "b3" in Symbol 323 MovieClip Frame 12
onClipEvent (load) {
parts = [_parent.b4];
topSide = [this, _parent.b4];
leftSide = [this];
rightSide = [_parent.b4];
botSide = [this, _parent.b4];
}
Instance of Symbol 260 MovieClip in Symbol 323 MovieClip Frame 12
onClipEvent (load) {
this.swapDepths(10000010);
}
Symbol 323 MovieClip Frame 13
stop();
initLevel(5, 5);
addFigure(r1);
addFigure(w1);
addFigure(w2);
addFigure(w3);
addFigure(w4);
addFigure(w5);
addFigure(w6);
addFigure(w7);
addFigure(w8);
addFigure(w9);
addFigure(w10);
addFigure(w11);
addFigure(w12);
addFigure(g4);
addFigure(b1);
addFigure(b3);
addFigure(d1);
addFigure(d2);
addTarget(r1);
Instance of Symbol 78 MovieClip "b1" in Symbol 323 MovieClip Frame 15
onClipEvent (load) {
parts = [_parent.b2];
topSide = [this, _parent.b2];
leftSide = [this];
rightSide = [_parent.b2];
botSide = [this, _parent.b2];
}
Instance of Symbol 56 MovieClip "r1" in Symbol 323 MovieClip Frame 15
onClipEvent (load) {
parts = [_parent.r2];
topSide = [this];
leftSide = [this, _parent.r2];
rightSide = [this, _parent.r2];
botSide = [_parent.r2];
}
Instance of Symbol 291 MovieClip "y1" in Symbol 323 MovieClip Frame 15
onClipEvent (load) {
tgt = {i:1, j:3};
parts = [_parent.y2, _parent.y3];
topSide = [this, _parent.y2];
leftSide = [this, _parent.y2];
rightSide = [this, _parent.y3];
botSide = [_parent.y2, _parent.y3];
}
Instance of Symbol 56 MovieClip "r3" in Symbol 323 MovieClip Frame 15
onClipEvent (load) {
parts = [_parent.r4];
topSide = [this];
leftSide = [this, _parent.r4];
rightSide = [this, _parent.r4];
botSide = [_parent.r4];
}
Instance of Symbol 56 MovieClip "r5" in Symbol 323 MovieClip Frame 15
onClipEvent (load) {
parts = [_parent.r6];
topSide = [this];
leftSide = [this, _parent.r6];
rightSide = [this, _parent.r6];
botSide = [_parent.r6];
}
Instance of Symbol 56 MovieClip "r7" in Symbol 323 MovieClip Frame 15
onClipEvent (load) {
parts = [_parent.r8];
topSide = [this];
leftSide = [this, _parent.r8];
rightSide = [this, _parent.r8];
botSide = [_parent.r8];
}
Instance of Symbol 310 MovieClip in Symbol 323 MovieClip Frame 15
onClipEvent (load) {
this.swapDepths(10000010);
}
Symbol 323 MovieClip Frame 16
stop();
initLevel(5, 5);
addFigure(w1);
addFigure(w2);
addFigure(w3);
addFigure(w4);
addFigure(w5);
addFigure(w6);
addFigure(w7);
addFigure(w8);
addFigure(w9);
addFigure(w10);
addFigure(b1);
addFigure(y1);
addFigure(r1);
addFigure(r3);
addFigure(r5);
addFigure(r7);
addTarget(y1);
Instance of Symbol 56 MovieClip "r1" in Symbol 323 MovieClip Frame 18
onClipEvent (load) {
parts = [_parent.r2];
topSide = [this];
leftSide = [this, _parent.r2];
rightSide = [this, _parent.r2];
botSide = [_parent.r2];
}
Instance of Symbol 78 MovieClip "c1" in Symbol 323 MovieClip Frame 18
onClipEvent (load) {
parts = [_parent.c2];
topSide = [this, _parent.c2];
leftSide = [this];
rightSide = [_parent.c2];
botSide = [this, _parent.c2];
}
Instance of Symbol 56 MovieClip "g1" in Symbol 323 MovieClip Frame 18
onClipEvent (load) {
parts = [_parent.g2];
topSide = [this];
leftSide = [this, _parent.g2];
rightSide = [this, _parent.g2];
botSide = [_parent.g2];
}
Instance of Symbol 291 MovieClip "y1" in Symbol 323 MovieClip Frame 18
onClipEvent (load) {
tgt = {i:1, j:3};
parts = [_parent.y2, _parent.y3];
topSide = [this, _parent.y2];
leftSide = [this, _parent.y2];
rightSide = [this, _parent.y3];
botSide = [_parent.y2, _parent.y3];
}
Instance of Symbol 78 MovieClip "f1" in Symbol 323 MovieClip Frame 18
onClipEvent (load) {
parts = [_parent.f2];
topSide = [this, _parent.f2];
leftSide = [this];
rightSide = [_parent.f2];
botSide = [this, _parent.f2];
}
Instance of Symbol 78 MovieClip "b1" in Symbol 323 MovieClip Frame 18
onClipEvent (load) {
parts = [_parent.b2];
topSide = [this, _parent.b2];
leftSide = [this];
rightSide = [_parent.b2];
botSide = [this, _parent.b2];
}
Instance of Symbol 310 MovieClip in Symbol 323 MovieClip Frame 18
onClipEvent (load) {
this.swapDepths(10000010);
}
Symbol 323 MovieClip Frame 19
stop();
initLevel(5, 5);
addFigure(w1);
addFigure(w2);
addFigure(w3);
addFigure(w4);
addFigure(w5);
addFigure(w6);
addFigure(w7);
addFigure(w8);
addFigure(w9);
addFigure(w10);
addFigure(y1);
addFigure(r1);
addFigure(g1);
addFigure(c1);
addFigure(f1);
addFigure(b1);
addTarget(y1);
Instance of Symbol 158 MovieClip "c1" in Symbol 323 MovieClip Frame 21
onClipEvent (load) {
tgt = {i:3, j:3};
parts = [_parent.c2, _parent.c3, _parent.c4];
topSide = [this, _parent.c2];
leftSide = [this, _parent.c3];
rightSide = [_parent.c2, _parent.c4];
botSide = [_parent.c3, _parent.c4];
}
Instance of Symbol 56 MovieClip "r3" in Symbol 323 MovieClip Frame 21
onClipEvent (load) {
parts = [_parent.r4];
topSide = [this];
leftSide = [this, _parent.r4];
rightSide = [this, _parent.r4];
botSide = [_parent.r4];
}
Instance of Symbol 56 MovieClip "r1" in Symbol 323 MovieClip Frame 21
onClipEvent (load) {
parts = [_parent.r2];
topSide = [this];
leftSide = [this, _parent.r2];
rightSide = [this, _parent.r2];
botSide = [_parent.r2];
}
Instance of Symbol 78 MovieClip "b1" in Symbol 323 MovieClip Frame 21
onClipEvent (load) {
parts = [_parent.b2];
topSide = [this, _parent.b2];
leftSide = [this];
rightSide = [_parent.b2];
botSide = [this, _parent.b2];
}
Instance of Symbol 78 MovieClip "b3" in Symbol 323 MovieClip Frame 21
onClipEvent (load) {
parts = [_parent.b4];
topSide = [this, _parent.b4];
leftSide = [this];
rightSide = [_parent.b4];
botSide = [this, _parent.b4];
}
Instance of Symbol 78 MovieClip "b5" in Symbol 323 MovieClip Frame 21
onClipEvent (load) {
parts = [_parent.b6];
topSide = [this, _parent.b6];
leftSide = [this];
rightSide = [_parent.b6];
botSide = [this, _parent.b6];
}
Instance of Symbol 311 MovieClip in Symbol 323 MovieClip Frame 21
onClipEvent (load) {
this.swapDepths(10000010);
}
Symbol 323 MovieClip Frame 22
stop();
initLevel(5, 5);
addFigure(w1);
addFigure(w2);
addFigure(w3);
addFigure(w4);
addFigure(w5);
addFigure(w6);
addFigure(w7);
addFigure(w8);
addFigure(w9);
addFigure(r1);
addFigure(r3);
addFigure(b1);
addFigure(b3);
addFigure(b5);
addFigure(c1);
addTarget(c1);
Instance of Symbol 56 MovieClip "p1" in Symbol 323 MovieClip Frame 24
onClipEvent (load) {
parts = [_parent.p2];
topSide = [this];
leftSide = [this, _parent.p2];
rightSide = [this, _parent.p2];
botSide = [_parent.p2];
}
Instance of Symbol 56 MovieClip "g1" in Symbol 323 MovieClip Frame 24
onClipEvent (load) {
parts = [_parent.g2];
topSide = [this];
leftSide = [this, _parent.g2];
rightSide = [this, _parent.g2];
botSide = [_parent.g2];
}
Instance of Symbol 318 MovieClip "o1" in Symbol 323 MovieClip Frame 24
onClipEvent (load) {
tgt = {i:4, j:1};
parts = [_parent.o2];
topSide = [this];
leftSide = [this, _parent.o2];
rightSide = [this, _parent.o2];
botSide = [_parent.o2];
}
Instance of Symbol 56 MovieClip "r1" in Symbol 323 MovieClip Frame 24
onClipEvent (load) {
parts = [_parent.r2];
topSide = [this];
leftSide = [this, _parent.r2];
rightSide = [this, _parent.r2];
botSide = [_parent.r2];
}
Instance of Symbol 321 MovieClip in Symbol 323 MovieClip Frame 24
onClipEvent (load) {
this.swapDepths(10000010);
}
Symbol 323 MovieClip Frame 25
stop();
initLevel(5, 5);
addFigure(w1);
addFigure(w2);
addFigure(w3);
addFigure(w4);
addFigure(w5);
addFigure(w6);
addFigure(w7);
addFigure(w8);
addFigure(w9);
addFigure(w10);
addFigure(n1);
addFigure(n2);
addFigure(n3);
addFigure(n4);
addFigure(n5);
addFigure(r1);
addFigure(g1);
addFigure(p1);
addFigure(o1);
addTarget(o1);
Instance of Symbol 158 MovieClip "c1" in Symbol 323 MovieClip Frame 27
onClipEvent (load) {
tgt = {i:3, j:3};
parts = [_parent.c2, _parent.c3, _parent.c4];
topSide = [this, _parent.c2];
leftSide = [this, _parent.c3];
rightSide = [_parent.c2, _parent.c4];
botSide = [_parent.c3, _parent.c4];
}
Instance of Symbol 78 MovieClip "b1" in Symbol 323 MovieClip Frame 27
onClipEvent (load) {
parts = [_parent.b2];
topSide = [this, _parent.b2];
leftSide = [this];
rightSide = [_parent.b2];
botSide = [this, _parent.b2];
}
Instance of Symbol 56 MovieClip "r3" in Symbol 323 MovieClip Frame 27
onClipEvent (load) {
parts = [_parent.r4];
topSide = [this];
leftSide = [this, _parent.r4];
rightSide = [this, _parent.r4];
botSide = [_parent.r4];
}
Instance of Symbol 56 MovieClip "r1" in Symbol 323 MovieClip Frame 27
onClipEvent (load) {
parts = [_parent.r2];
topSide = [this];
leftSide = [this, _parent.r2];
rightSide = [this, _parent.r2];
botSide = [_parent.r2];
}
Instance of Symbol 78 MovieClip "b5" in Symbol 323 MovieClip Frame 27
onClipEvent (load) {
parts = [_parent.b6];
topSide = [this, _parent.b6];
leftSide = [this];
rightSide = [_parent.b6];
botSide = [this, _parent.b6];
}
Instance of Symbol 78 MovieClip "b3" in Symbol 323 MovieClip Frame 27
onClipEvent (load) {
parts = [_parent.b4];
topSide = [this, _parent.b4];
leftSide = [this];
rightSide = [_parent.b4];
botSide = [this, _parent.b4];
}
Instance of Symbol 56 MovieClip "r5" in Symbol 323 MovieClip Frame 27
onClipEvent (load) {
parts = [_parent.r6];
topSide = [this];
leftSide = [this, _parent.r6];
rightSide = [this, _parent.r6];
botSide = [_parent.r6];
}
Instance of Symbol 311 MovieClip in Symbol 323 MovieClip Frame 27
onClipEvent (load) {
this.swapDepths(10000010);
}
Symbol 323 MovieClip Frame 28
stop();
initLevel(5, 5);
addFigure(c1);
addFigure(r1);
addFigure(r3);
addFigure(r5);
addFigure(b1);
addFigure(b3);
addFigure(b5);
addFigure(w3);
addFigure(w4);
addFigure(w5);
addFigure(w6);
addFigure(w7);
addFigure(w8);
addFigure(w9);
addTarget(c1);
Instance of Symbol 233 MovieClip "g1" in Symbol 323 MovieClip Frame 30
onClipEvent (load) {
parts = [_parent.g2, _parent.g3];
topSide = [this, _parent.g2, _parent.g3];
leftSide = [this];
rightSide = [_parent.g3];
botSide = [this, _parent.g2, _parent.g3];
}
Instance of Symbol 78 MovieClip "b1" in Symbol 323 MovieClip Frame 30
onClipEvent (load) {
parts = [_parent.b2];
topSide = [this, _parent.b2];
leftSide = [this];
rightSide = [_parent.b2];
botSide = [this, _parent.b2];
}
Instance of Symbol 291 MovieClip "y1" in Symbol 323 MovieClip Frame 30
onClipEvent (load) {
tgt = {i:4, j:0};
parts = [_parent.y2, _parent.y3];
topSide = [this, _parent.y2];
leftSide = [this, _parent.y2];
rightSide = [this, _parent.y3];
botSide = [_parent.y2, _parent.y3];
}
Instance of Symbol 56 MovieClip "r1" in Symbol 323 MovieClip Frame 30
onClipEvent (load) {
tgt = {i:0, j:3};
parts = [_parent.r2];
topSide = [this];
leftSide = [this, _parent.r2];
rightSide = [this, _parent.r2];
botSide = [_parent.r2];
}
Instance of Symbol 78 MovieClip "b3" in Symbol 323 MovieClip Frame 30
onClipEvent (load) {
parts = [_parent.b4];
topSide = [this, _parent.b4];
leftSide = [this];
rightSide = [_parent.b4];
botSide = [this, _parent.b4];
}
Instance of Symbol 322 MovieClip in Symbol 323 MovieClip Frame 30
onClipEvent (load) {
this.swapDepths(10000010);
}
Symbol 323 MovieClip Frame 31
stop();
initLevel(5, 5);
addFigure(w1);
addFigure(w2);
addFigure(w3);
addFigure(w4);
addFigure(w5);
addFigure(w6);
addFigure(w7);
addFigure(w8);
addFigure(w9);
addFigure(w10);
addFigure(w11);
addFigure(g1);
addFigure(r1);
addFigure(b1);
addFigure(b3);
addFigure(y1);
addTarget(y1);
addTarget(r1);
Symbol 323 MovieClip Frame 32
stop();
_parent.gameLevel = 1;
_parent.winBtn._visible = true;
Symbol 328 MovieClip Frame 7
stop();
Symbol 329 Button
on (release) {
if (_parent.game.checkReady()) {
_parent.game.ind.steps = 0;
if (!btnPrev.enabled) {
btnPrev.enabled = true;
btnPrev._alpha = 100;
}
_parent.gameLevel++;
if ((_parent.gameLevel >= _parent.lastLevel) || (_parent.gameLevel >= _parent.maxLevel)) {
btnNext.enabled = false;
btnNext._alpha = 25;
}
_parent.game.allOut();
}
}
Symbol 330 Button
on (release) {
if (_parent.game.checkReady()) {
_parent.game.ind.steps = 0;
if (!btnNext.enabled) {
btnNext.enabled = true;
btnNext._alpha = 100;
}
_parent.gameLevel--;
if (_parent.gameLevel <= 1) {
_parent.gameLevel = 1;
btnPrev.enabled = false;
btnPrev._alpha = 25;
}
_parent.game.allOut();
}
}
Symbol 332 Button
on (release) {
if (_parent.game.checkReady()) {
_parent.game.ind.steps = 0;
_parent.game.allOut();
}
}
Symbol 333 MovieClip Frame 1
function init() {
btnPrev.enabled = false;
btnPrev._alpha = 25;
if (_parent.maxLevel == 1) {
btnNext.enabled = false;
btnNext._alpha = 25;
} else {
btnNext.enabled = true;
btnNext._alpha = 100;
}
}
setTimeout(init, 10);
Symbol 335 Button
on (release) {
_parent.soundMan.fadeOut("bgSound", 2);
play();
}
Symbol 338 Button
on (release) {
_parent.soundMan.fadeIn("bgSound", 2);
gotoAndStop (1);
}
Symbol 339 MovieClip Frame 1
stop();
Symbol 339 MovieClip Frame 20
stop();
Symbol 350 Button
on (release) {
getURL ("http://secure-us.imrworldwide.com/cgi-bin/b?cg=ugoplayer_flash_games&ci=us-ugclicks&tu=http://www.ugoplayer.com", "_blank");
}
Symbol 366 MovieClip Frame 1
if (!_f) {
_f = true;
this.swapDepths(_parent.getNextHighestDepth());
}
Symbol 369 MovieClip Frame 1
if (!_f) {
_f = true;
this.swapDepths(_parent.getNextHighestDepth());
}
Instance of Symbol 366 MovieClip "arrow2" in Symbol 386 MovieClip Frame 1
onClipEvent (load) {
onMouseDown = function () {
_visible = false;
};
}
Instance of Symbol 369 MovieClip "arrow1" in Symbol 386 MovieClip Frame 1
onClipEvent (load) {
onMouseDown = function () {
_visible = false;
};
}
Symbol 386 MovieClip Frame 20
arrow1.removeMovieClip();
arrow2.removeMovieClip();
Instance of Symbol 109 MovieClip "fly" in Symbol 386 MovieClip Frame 377
onClipEvent (load) {
type = 1;
}
Instance of Symbol 109 MovieClip "fly" in Symbol 386 MovieClip Frame 377
onClipEvent (load) {
type = 1;
}
Symbol 386 MovieClip Frame 407
_parent.play();
Symbol 386 MovieClip Frame 419
stop();
Symbol 392 MovieClip Frame 1
stop();
Symbol 392 MovieClip Frame 345
Symbol 392 MovieClip Frame 360
demo.gotoAndPlay(1);