Frame 1
function nextBack() {
backI++;
clearedZone_mc.backMV.gotoAndStop(backI);
}
function nextFront() {
trace("front: " + frontI);
frontI++;
_root.completed_mc.foreGroundMV.gotoAndStop(frontI);
}
var maxLev = 15;
var levelNo = 1;
var picTime = 3500;
var backI = 0;
var frontI = 1;
var isOver = 0;
Stage.showMenu = false;
status_mc.onEnterFrame = function () {
var _local3 = Math.round((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
this.gotoAndStop(_local3);
this._parent.per1_txt.text = (this._parent.per2_txt.text = (this._parent.per3_txt.text = _local3 + "%"));
if (_local3 == 100) {
delete this.onEnterFrame;
_root.gotoAndStop("intro");
}
};
stop();
Frame 2
function easeOutQuad(t, b, c, d) {
t = t / d;
return((((-c) * t) * (t - 2)) + b);
}
function roPoint(mc_mc) {
_root.ballPointer_mc._y = mc_mc._y + 1;
_root.ballPointer_mc._x = mc_mc._x - 38;
mc_mc.gotoAndStop(2);
}
function pressPoint(id) {
_root.gotoAndStop(id);
_root.attachMovie("change", "change_mc", _root.getNextHighestDepth());
_root.change_mc.timeCounter = 0;
_root.change_mc.onRollOver = function () {
this.useHandCursor = false;
};
_root.change_mc.onEnterFrame = function () {
var _local6 = this.timeCounter;
var _local3 = 100;
var _local4 = -100;
var _local7 = 25;
var _local5 = _root.easeOutQuad(_local6, _local3, _local4, _local7);
this._alpha = _local5;
if (this._alpha == (_local3 + _local4)) {
this.removeMovieClip();
}
this.timeCounter++;
};
}
stop();
introMV.gotoAndStop(2);
var menuEnter_snd = new Sound(_root);
var menuMove_snd = new Sound(_root);
var destroy_snd = new Sound(_root);
menuEnter_snd.attachSound("menuEnter");
menuMove_snd.attachSound("menuMove");
destroy_snd.attachSound("destroy");
Frame 3
delete _root.field;
Instance of Symbol 196 MovieClip in Frame 3
on (rollOver) {
_root.menuMove_snd.start(0, 1);
_root.roPoint(this);
}
on (rollOut) {
this.gotoAndStop(1);
}
on (press) {
_root.menuEnter_snd.start(0, 1);
_root.pressPoint(5);
}
Instance of Symbol 190 MovieClip "info_mc" in Frame 4
on (rollOver) {
this.useHandCursor = false;
}
Frame 5
function go(_Level) {
field = new Field();
if (_Level != undefined) {
field.setLevel(_Level);
} else {
field = new Field();
}
field.createField(32, 20, 16, 16, 19, 40, 100, 2);
field.addBalls();
field.setPause(true);
field.setLevel(_Level);
lives_txt.text = field.getLives();
points_txt.text = field.getPoints();
time_txt.text = field.getTime();
cleared_txt.text = field.getCleared() + "%";
if (_root.levelN_mc == undefined) {
_root.attachMovie("levelNWin", "levelN_mc", _root.getNextHighestDepth());
} else {
_root.levelN_mc._visible = true;
}
_root.levelN_mc.level_mc.level_txt.text = field.getLevel();
_root.change_mc.swapDepths(_root.levelN_mc.getDepth());
_root.mouse_mc.swapDepths(_root.levelN_mc.getDepth());
var _local3 = _root.createEmptyMovieClip("gameListener_mc", _root.getNextHighestDepth());
_local3.counter = 0;
_local3.onEnterFrame = function () {
if (!_root.field.getPause()) {
this.counter++;
}
if (this.counter == _root.field.fps) {
this.counter = 0;
_root.field.setTime(_root.field.getTime() - 1);
_root.time_txt.text = _root.field.getTime();
}
_root.lives_txt.text = _root.field.getLives();
_root.points_txt.text = _root.field.getPoints();
_root.cleared_txt.text = _root.field.getCleared() + "%";
if ((_root.field.getLives() <= 0) || (_root.field.getTime() <= 0)) {
delete _root.mouse_mc.onEnterFrame;
_root.field.setGameOver();
}
var _local3 = 15;
if (((_root.field.getCleared() >= 75) && (!_root.field.getPause())) && (_root.field.getLevel() < _local3)) {
delete _root.mouse_mc.onEnterFrame;
_root.field.setCompleted();
} else if (((_root.field.getCleared() >= 75) && (!_root.field.getPause())) && (_root.field.getLevel() >= _local3)) {
delete this.onEnterFrame;
_root.field.setFinish();
}
};
}
stop();
var field = null;
go(1);
Key.addListener(_root);
_root.onKeyDown = function () {
trace(Key.getAscii());
if (Key.getAscii() == 112) {
if (!_root.field.getPause()) {
if (_root.pause_mc == undefined) {
_root.attachMovie("pauseWin", "pause_mc", _root.getNextHighestDepth());
} else {
_root.pause_mc._visible = true;
}
_root.field.stopBalls();
_root.field.setPause(true);
} else {
_root.pause_mc._visible = false;
_root.field.startBalls();
_root.field.setPause(false);
}
} else if ((((Key.getAscii() == 32) || (Key.getAscii() == 13)) && (_root.mouse_mc != undefined)) && (this.mouse_mc._visible)) {
if (this.mouse_mc.pos == 1) {
this.mouse_mc._rotation = -90;
this.mouse_mc.pos = 2;
} else {
this.mouse_mc._rotation = 0;
this.mouse_mc.pos = 1;
}
updateAfterEvent();
}
};
Symbol 69 MovieClip [ball] Frame 1
#initclip 3
Object.registerClass("ball", Ball);
#endinitclip
Symbol 78 MovieClip [place] Frame 1
stop();
Symbol 84 MovieClip Frame 1
stop();
Symbol 207 MovieClip [__Packages.Ball] Frame 0
class Ball extends MovieClip
{
var hitArea, startAngle, curAngle, defSpeed, startSpeed, step, _width, hitTestBalls, isFirst, borderArray, borderFactorsArray, _height, onEnterFrame, _x, _y, hitTest;
function Ball () {
super();
var hitArea_mc = eval (this + ".ballMask_mc");
hitArea = hitArea_mc;
startAngle = 0.7853982;
curAngle = startAngle;
defSpeed = 1;
startSpeed = defSpeed;
step = _width * startSpeed;
hitTestBalls = new Array();
isFirst = false;
borderArray = new Array(0, 0, Stage.width, Stage.height);
borderFactorsArray = new Array();
borderFactorsArray[0] = borderArray[0] + (_width / 2);
borderFactorsArray[1] = (borderArray[0] + borderArray[2]) - (_width / 2);
borderFactorsArray[2] = borderArray[1] + (_height / 2);
borderFactorsArray[3] = (borderArray[1] + borderArray[3]) - (_height / 2);
}
function setOptions(_StartAngle, _StartSpeed, _HitTestBalls, _BorderArray) {
if ((_StartAngle == undefined) || (_StartAngle == null)) {
startAngle = 0.7853982;
} else {
startAngle = (_StartAngle * 3.141593) / 180;
startAngle = absAngle(startAngle);
}
curAngle = startAngle;
var _local5 = 10;
var _local4 = -10;
if ((_StartSpeed == undefined) || (_StartSpeed == null)) {
startSpeed = defSpeed;
} else if (_StartSpeed > _local5) {
startSpeed = _local5;
} else if (_StartSpeed < _local4) {
startSpeed = _local4;
} else {
startSpeed = _StartSpeed;
}
step = _width * startSpeed;
if ((_HitTestBalls != undefined) && (_HitTestBalls.length > 0)) {
hitTestBalls = _HitTestBalls;
}
if ((((_BorderArray != undefined) && (_BorderArray.length == 4)) && (_BorderArray[0] < _BorderArray[2])) && (_BorderArray[1] < _BorderArray[3])) {
borderArray = _BorderArray;
}
setPosition();
}
function startBall() {
trace("ball started");
onEnterFrame = function () {
var _local16 = this._x + (this.step * Math.cos(this.curAngle));
var _local17 = this._y + (this.step * Math.sin(this.curAngle));
var _local4 = 0.5;
var _local18 = -5;
var _local19 = 5;
var _local8 = ((_local19 - _local18) * Math.random()) + _local18;
_local8 = (_local8 * 3.141593) / 180;
if (_local16 < this.borderFactorsArray[0]) {
this.curAngle = this.mirrorAngle(this.curAngle, 1.570796);
_local16 = this.borderFactorsArray[0];
} else if (_local16 > this.borderFactorsArray[1]) {
this.curAngle = this.mirrorAngle(this.curAngle, 4.712389);
_local16 = this.borderFactorsArray[1];
}
_local8 = ((_local19 - _local18) * Math.random()) + _local18;
_local8 = (_local8 * 3.141593) / 180;
if (_local17 < this.borderFactorsArray[2]) {
this.curAngle = this.mirrorAngle(this.curAngle, 3.141593);
_local17 = this.borderFactorsArray[2];
} else if (_local17 > this.borderFactorsArray[3]) {
this.curAngle = this.mirrorAngle(this.curAngle, 0);
_local17 = this.borderFactorsArray[3];
}
this._x = _local16;
this._y = _local17;
var _local3 = 0;
while (_local3 < this.hitLinesArray.length) {
if (this.hitTest(this.hitLinesArray[_local3]) && (this.isClearing)) {
this.hitLinesArray[_local3].removeMovieClip();
_root.field.setLives(_root.field.getLives() - 1);
}
_local3++;
}
var _local15 = _root.clearedZone_mc.hitTest(this._x - (this._width / 2), this._y - (this._height / 2), true) && (_root.clearedZone_mc.hitTest(this._x + (this._width / 2), this._y - (this._height / 2), true));
var _local12 = _root.clearedZone_mc.hitTest(this._x + (this._width / 2), this._y - (this._height / 2), true) && (_root.clearedZone_mc.hitTest(this._x + (this._width / 2), this._y + (this._height / 2), true));
var _local13 = _root.clearedZone_mc.hitTest(this._x - (this._width / 2), this._y + (this._height / 2), true) && (_root.clearedZone_mc.hitTest(this._x + (this._width / 2), this._y + (this._height / 2), true));
var _local14 = _root.clearedZone_mc.hitTest(this._x - (this._width / 2), this._y - (this._height / 2), true) && (_root.clearedZone_mc.hitTest(this._x - (this._width / 2), this._y + (this._height / 2), true));
if (_local15) {
this.curAngle = this.mirrorAngle(this.curAngle, 3.141593);
do {
this._y = this._y + _local4;
_local15 = _root.clearedZone_mc.hitTest(this._x - (this._width / 2), this._y - (this._height / 2), true) && (_root.clearedZone_mc.hitTest(this._x + (this._width / 2), this._y - (this._height / 2), true));
} while (_local15);
return(undefined);
}
if (_local12) {
this.curAngle = this.mirrorAngle(this.curAngle, 4.712389);
do {
this._x = this._x - _local4;
_local12 = _root.clearedZone_mc.hitTest(this._x + (this._width / 2), this._y - (this._height / 2), true) && (_root.clearedZone_mc.hitTest(this._x + (this._width / 2), this._y + (this._height / 2), true));
} while (_local12);
return(undefined);
}
if (_local13) {
this.curAngle = this.mirrorAngle(this.curAngle, 0);
do {
this._y = this._y - _local4;
_local13 = _root.clearedZone_mc.hitTest(this._x - (this._width / 2), this._y + (this._height / 2), true) && (_root.clearedZone_mc.hitTest(this._x + (this._width / 2), this._y + (this._height / 2), true));
} while (_local13);
return(undefined);
}
if (_local14) {
this.curAngle = this.mirrorAngle(this.curAngle, 1.570796);
do {
this._x = this._x + _local4;
_local14 = _root.clearedZone_mc.hitTest(this._x - (this._width / 2), this._y - (this._height / 2), true) && (_root.clearedZone_mc.hitTest(this._x - (this._width / 2), this._y + (this._height / 2), true));
} while (_local14);
return(undefined);
}
_local3 = 0;
while (_local3 < this.hitTestBalls.length) {
if (this == this.hitTestBalls[_local3]) {
} else if (this.hitTest(this.hitTestBalls[_local3])) {
if (!this.hitTestBalls[_local3].isFirst) {
this.isFirst = true;
return(undefined);
}
var _local10 = 1000000 /* 0x0F4240 */;
var _local9 = Math.max(this._x, this.hitTestBalls[_local3]._x) - Math.min(this._x, this.hitTestBalls[_local3]._x);
var _local11 = Math.max(this._y, this.hitTestBalls[_local3]._y) - Math.min(this._y, this.hitTestBalls[_local3]._y);
_local8 = Math.pow((_local9 * _local9) + (_local11 * _local11), 0.5);
var _local5 = Math.acos(Math.round((_local9 / _local8) * _local10) / _local10);
var _local7 = (this._width - _local8) * Math.cos(_local5);
var _local6 = (this._width - _local8) * Math.sin(_local5);
if (this._x > this.hitTestBalls[_local3]._x) {
this._x = this._x + (_local7 / 2);
this.hitTestBalls[_local3]._x = this.hitTestBalls[_local3]._x - (_local7 / 2);
} else if (this._x < this.hitTestBalls[_local3]._x) {
this._x = this._x - (_local7 / 2);
this.hitTestBalls[_local3]._x = this.hitTestBalls[_local3]._x + (_local7 / 2);
}
if (this._y > this.hitTestBalls[_local3]._y) {
this._y = this._y + (_local6 / 2);
this.hitTestBalls[_local3]._y = this.hitTestBalls[_local3]._y - (_local6 / 2);
} else if (this._y < this.hitTestBalls[_local3]._y) {
this._y = this._y - (_local6 / 2);
}
this.hitTestBalls[_local3]._y = this.hitTestBalls[_local3]._y + (_local6 / 2);
while (this.hitTest(this.hitTestBalls[_local3])) {
if (this._x > this.hitTestBalls[_local3]._x) {
this._x = this._x + _local4;
this.hitTestBalls[_local3]._x = this.hitTestBalls[_local3]._x - _local4;
} else if (this._x < this.hitTestBalls[_local3]._x) {
this._x = this._x - _local4;
this.hitTestBalls[_local3]._x = this.hitTestBalls[_local3]._x + _local4;
}
if (this._y > this.hitTestBalls[_local3]._y) {
this._y = this._y + _local4;
this.hitTestBalls[_local3]._y = this.hitTestBalls[_local3]._y - _local4;
} else if (this._y < this.hitTestBalls[_local3]._y) {
this._y = this._y - _local4;
}
this.hitTestBalls[_local3]._y = this.hitTestBalls[_local3]._y + _local4;
}
if (this.curAngle > this.hitTestBalls[_local3].curAngle) {
_local5 = ((this.curAngle - this.hitTestBalls[_local3].curAngle) / 2) + this.hitTestBalls[_local3].curAngle;
} else if (this.curAngle < this.hitTestBalls[_local3].curAngle) {
_local5 = ((this.hitTestBalls[_local3].curAngle - this.curAngle) / 2) + this.curAngle;
}
this.curAngle = this.mirrorAngle(this.curAngle, this.absAngle(_local5));
this.hitTestBalls[_local3].curAngle = this.mirrorAngle(this.hitTestBalls[_local3].curAngle, this.absAngle(_local5));
this.hitTestBalls[_local3].isFirst = false;
}
_local3++;
}
};
}
function stopBall() {
delete onEnterFrame;
}
function mirrorAngle(_Angle, _DirectAngle) {
var _local2 = absAngle(_Angle);
var _local3 = absAngle(_DirectAngle);
var _local4 = null;
if (_local3 != _local2) {
_local4 = (2 * _local3) - _local2;
return(absAngle(_local4));
}
return(_local2);
}
function absAngle(_Angle) {
if ((_Angle == 0) || (_Angle == 3.141593)) {
return(_Angle);
}
var _local1 = null;
var _local3 = (_Angle * 180) / 3.141593;
var _local4 = _Angle / Math.abs(_Angle);
_local1 = Math.abs(_local3 % 360);
if (_local4 == -1) {
_local1 = 360 - _local1;
}
_local1 = (_local1 * 3.141593) / 180;
return(_local1);
}
function getQ(_Angle) {
var _local3 = null;
var _local2 = absAngle(_Angle);
if ((_local2 > 0) && (_local2 < 1.570796)) {
_local3 = 1;
} else if ((_local2 > 1.570796) && (_local2 < 3.141593)) {
_local3 = 2;
} else if ((_local2 < 0) && (Math.abs(_local2) < 1.570796)) {
_local3 = 4;
} else if (((_local2 < 0) && (Math.abs(_local2) > 1.570796)) && (Math.abs(_local2) < 3.141593)) {
_local3 = 3;
} else if (Math.abs(_local2) == 1.570796) {
_local3 = 0;
} else if ((Math.abs(_local2) == 0) || (Math.abs(_local2) == 3.141593)) {
_local3 = -1;
}
return(_local3);
}
function showArrow(_Arrow, _Angle) {
_Arrow._alpha = 100;
_Arrow._xscale = (_Arrow._yscale = 100);
_Arrow._rotation = _Angle;
}
function setPosition() {
var _local3 = borderArray[0] + (_width / 2);
var _local5 = (borderArray[0] + borderArray[2]) - (_width / 2);
var _local4 = borderArray[1] + (_height / 2);
var _local6 = (borderArray[1] + borderArray[3]) - (_height / 2);
if ((((_x < _local3) || (_y < _local4)) || (_x > _local5)) || (_y > _local6)) {
do {
var isHit = false;
_x = Math.round(((_local5 - _local3) * Math.random()) + _local3);
_y = Math.round(((_local6 - _local4) * Math.random()) + _local4);
var _local2 = 0;
while (_local2 < hitTestBalls.length) {
if (this == hitTestBalls[_local2]) {
} else if (hitTest(hitTestBalls[_local2])) {
isHit = true;
}
_local2++;
}
} while (isHit);
}
borderFactorsArray = [_local3, _local5, _local4, _local6];
}
function setHitLinesArray(_HitLinesArray) {
hitLinesArray = _HitLinesArray;
}
function setIsClearing(_isClearing) {
isClearing = _isClearing;
}
var hitLinesArray = new Array();
var isClearing = false;
}
Symbol 208 MovieClip [__Packages.Field] Frame 0
class Field
{
function Field () {
numbOfBallsInLevel = level + 1;
lives = numbOfBallsInLevel;
time = 1500 + (level * 250);
Mouse.hide();
_root.attachMovie("mouse", "mouse_mc", _root.getNextHighestDepth());
_root.mouse_mc._x = _root._xmouse;
_root.mouse_mc._y = _root._ymouse;
_root.mouse_mc.pos = 1;
_root.mouse_mc.fieldObject = this;
_root.onMouseWheel = function () {
if (!this.mouse_mc._visible) {
return(undefined);
}
if (this.mouse_mc.pos == 1) {
this.mouse_mc._rotation = -90;
this.mouse_mc.pos = 2;
} else {
this.mouse_mc._rotation = 0;
this.mouse_mc.pos = 1;
}
updateAfterEvent();
};
_root.onMouseMove = function () {
var _local2 = this.clearedZone_mc._xmouse >= 0;
var _local3 = this.clearedZone_mc._xmouse <= this.clearedZone_mc._width;
var _local4 = this.clearedZone_mc._ymouse >= 0;
var _local5 = this.clearedZone_mc._ymouse <= this.clearedZone_mc._height;
if (((_local2 && (_local3)) && (_local4)) && (_local5)) {
Mouse.hide();
this.mouse_mc._visible = true;
this.mouse_mc._x = this._xmouse;
this.mouse_mc._y = this._ymouse;
} else {
Mouse.show();
this.mouse_mc._visible = false;
}
updateAfterEvent();
};
Mouse.addListener(_root);
}
function createField(_XSteps, _YSteps, _Xstep, _Ystep, _Xcoord, _Ycoord, _AlphaField, _ClearingSpeed) {
if (field_mc != undefined) {
field_mc.removeMovieClip();
}
XSteps = _XSteps;
YSteps = _YSteps;
Xstep = _Xstep;
Ystep = _Ystep;
x = _Xcoord;
y = _Ycoord;
alpha = _AlphaField;
clearingSpeed = _ClearingSpeed;
var placeName = "";
var place_mc = null;
field_mc = _root.createEmptyMovieClip("field_mc", _root.getNextHighestDepth());
field_mc.swapDepths(_root.mouse_mc.getDepth());
(field_mc._x = x);
(field_mc._y = y);
var i = 1;
while (i <= YSteps) {
var j = 1;
while (j <= XSteps) {
placeName = (("place_X" + j) + "Y") + i;
field_mc.attachMovie("place", placeName, field_mc.getNextHighestDepth());
placeName = (field_mc + ".") + placeName;
place_mc = eval (placeName);
place_mc._height = Ystep;
place_mc._width = Xstep;
place_mc._x = Xstep * (j - 1);
place_mc._y = Ystep * (YSteps - i);
place_mc._alpha = alpha;
place_mc.X = j;
place_mc.Y = i;
place_mc.fieldObject = this;
place_mc.isCleared = false;
place_mc.onPress = function () {
this.fieldObject.clearing(this, _root.mouse_mc);
};
j++;
}
i++;
}
fieldMask_mc = _root.createEmptyMovieClip("fieldMask_mc", _root.getNextHighestDepth());
_root.clearedZone_mc.setMask(fieldMask_mc);
fieldMask_mc._x = field_mc._x;
fieldMask_mc._y = field_mc._y;
}
function zeroField() {
var placeName = "";
var place_mc = null;
var i = 1;
while (i <= YSteps) {
var j = 1;
while (j <= XSteps) {
placeName = (("place_X" + j) + "Y") + i;
placeName = (_root.field_mc + ".") + placeName;
place_mc = eval (placeName);
place_mc.gotoAndStop(1);
delete place_mc.pos;
j++;
}
i++;
}
}
function addBalls() {
_root.balls_mc.removeMovieClip();
ballsArray = new Array();
_root.createEmptyMovieClip("balls_mc", _root.getNextHighestDepth());
_root.balls_mc.swapDepths(_root.mouse_mc.getDepth());
_root.balls_mc.swapDepths(_root.change_mc.getDepth());
if (_root.clearedZone_mc.oldDepth == undefined) {
_root.clearedZone_mc.oldDepth = _root.clearedZone_mc.getDepth();
}
var _local5 = [45, 60, 30, 135, 120, 150];
var _local7 = [-1, 1];
var _local11 = 0.44;
var _local8 = null;
var _local6 = null;
var _local10 = [19, 40, 512, 320];
var _local12 = null;
var _local4 = null;
var _local9 = 0;
var _local3 = 0;
while (_local3 < numbOfBallsInLevel) {
_local4 = _root.balls_mc.attachMovie("ball", ("ball" + _local9) + "_mc", _root.balls_mc.getNextHighestDepth());
ballsArray.push(_local4);
_local4._x = (_local4._y = -100);
_local9++;
_local3++;
}
_local3 = 0;
while (_local3 < ballsArray.length) {
_local8 = _local5[Math.round((_local5.length - 1) * Math.random())];
_local6 = _local7[Math.round((_local7.length - 1) * Math.random())];
ballsArray[_local3].setOptions(_local8 * _local6, _local11, ballsArray, _local10);
_local3++;
}
}
function removeBalls() {
_root.balls_mc.removeMovieClip();
}
function startBalls() {
trace(ballsArray.length);
var _local2 = 0;
while (_local2 < ballsArray.length) {
trace(_local2);
ballsArray[_local2].startBall();
_local2++;
}
}
function stopBalls() {
var _local2 = 0;
while (_local2 < ballsArray.length) {
ballsArray[_local2].stopBall();
_local2++;
}
}
function clearing(place_mc, mouse_mc) {
if ((place_mc._currentframe != 1) || (isClearing)) {
return(undefined);
}
isClearing = true;
mouse_mc.place = place_mc;
mouse_mc.drawRect = drawRect;
mouse_mc.checkField = checkField;
mouse_mc.stopBalls = stopBalls;
mouse_mc.startBalls = startBalls;
mouse_mc.isInArray = isInArray;
mouse_mc.XSteps = XSteps;
mouse_mc.YSteps = YSteps;
mouse_mc.Xstep = Xstep;
mouse_mc.Ystep = Ystep;
mouse_mc.fieldMask_mc = fieldMask_mc;
mouse_mc.topPlace = eval ((((place_mc._parent + ".place_X") + place_mc.X) + "Y") + (place_mc.Y + 1));
mouse_mc.bottomPlace = eval ((((place_mc._parent + ".place_X") + place_mc.X) + "Y") + (place_mc.Y - 1));
mouse_mc.leftPlace = eval ((((place_mc._parent + ".place_X") + (place_mc.X - 1)) + "Y") + place_mc.Y);
mouse_mc.rightPlace = eval ((((place_mc._parent + ".place_X") + (place_mc.X + 1)) + "Y") + place_mc.Y);
mouse_mc.clearingSpeed = clearingSpeed;
mouse_mc.counter = 0;
mouse_mc.ballsArray = ballsArray;
mouse_mc.isFirstChanged = false;
delete mouse_mc.onEnterFrame;
mouse_mc.onEnterFrame = function () {
if (_root.field.getPause()) {
return(undefined);
}
if ((this.place._currentframe == 1) && (!this.isFirstChanged)) {
this.isFirstChanged = true;
var hitLinesArray = new Array();
this.place.gotoAndStop(2);
this.retObject = new Object();
this.retObject.retTopArray = new Array();
this.retObject.retBottomArray = new Array(this.place);
this.retObject.pos = this.pos;
this.curPos = this.pos;
this.fieldMask_mc.first_mc.removeMovieClip();
this.fieldMask_mc.second_mc.removeMovieClip();
this.fieldMask_mc.attachMovie("hitPlace", "first_mc", this.fieldMask_mc.getNextHighestDepth());
hitLinesArray.push(this.fieldMask_mc.first_mc);
this.fieldMask_mc.first_mc._alpha = 0;
if (this.curPos == 1) {
this.fieldMask_mc.first_mc._x = this.place._x;
this.fieldMask_mc.first_mc._width = this.place._width;
this.fieldMask_mc.first_mc._y = this.place._y;
this.fieldMask_mc.first_mc._height = 0;
} else if (this.curPos == 2) {
this.fieldMask_mc.first_mc._x = this.place._x;
this.fieldMask_mc.first_mc._width = 0;
this.fieldMask_mc.first_mc._y = this.place._y;
this.fieldMask_mc.first_mc._height = this.place._height;
}
this.fieldMask_mc.attachMovie("hitPlace", "second_mc", this.fieldMask_mc.getNextHighestDepth());
hitLinesArray.push(this.fieldMask_mc.second_mc);
this.fieldMask_mc.second_mc._alpha = 0;
this.fieldMask_mc.second_mc._x = this.place._x;
this.fieldMask_mc.second_mc._width = this.place._width;
this.fieldMask_mc.second_mc._y = this.place._y;
this.fieldMask_mc.second_mc._height = this.place._height;
var i = 0;
while (i < this.ballsArray.length) {
this.ballsArray[i].setHitLinesArray(hitLinesArray);
this.ballsArray[i].setIsClearing(true);
i++;
}
return(undefined);
}
this.counter++;
if (this.counter < this.clearingSpeed) {
return(undefined);
}
this.counter = 0;
var error1 = false;
var error2 = false;
switch (this.curPos) {
case 1 :
if (((this.topPlace != undefined) && (this.topPlace._currentframe == 1)) && (this.fieldMask_mc.first_mc != undefined)) {
this.topPlace.gotoAndStop(3);
this.retObject.retTopArray.push(this.topPlace);
this.fieldMask_mc.first_mc._y = this.topPlace._y;
this.fieldMask_mc.first_mc._height = this.fieldMask_mc.first_mc._height + this.topPlace._height;
this.topPlace = eval ((((this.topPlace._parent + ".place_X") + this.topPlace.X) + "Y") + (this.topPlace.Y + 1));
} else if (((this.topPlace != undefined) && (this.fieldMask_mc.first_mc == undefined)) && (this.retObject.retTopArray.length > 0)) {
var i = 0;
while (i < this.retObject.retTopArray.length) {
this.retObject.retTopArray[i].gotoAndStop(1);
i++;
}
this.retObject.retTopArray = [];
}
if (((this.topPlace == undefined) || (this.topPlace._currentframe != 1)) && (this.fieldMask_mc.first_mc != undefined)) {
this.drawRect(this.fieldMask_mc, this.fieldMask_mc.first_mc._x, this.fieldMask_mc.first_mc._y, this.fieldMask_mc.first_mc._width, this.fieldMask_mc.first_mc._height);
this.fieldMask_mc.first_mc.removeMovieClip();
var clearedPlaces = 0;
var i = 0;
while (i < this.retObject.retTopArray.length) {
this.retObject.retTopArray[i].gotoAndStop(4);
clearedPlaces++;
i++;
}
_root.field.setCleared(_root.field.getCleared() + Math.round((clearedPlaces / (this.XSteps * this.YSteps)) * 100));
_root.field.setPoints(clearedPlaces);
this.retObject.retTopArray = [];
} else if (((this.topPlace != undefined) && (this.topPlace._currentframe == 1)) && (this.fieldMask_mc.first_mc == undefined)) {
error1 = true;
}
if (((this.bottomPlace != undefined) && (this.bottomPlace._currentframe == 1)) && (this.fieldMask_mc.second_mc != undefined)) {
this.bottomPlace.gotoAndStop(2);
this.retObject.retBottomArray.push(this.bottomPlace);
this.fieldMask_mc.second_mc._height = this.fieldMask_mc.second_mc._height + this.bottomPlace._height;
this.bottomPlace = eval ((((this.bottomPlace._parent + ".place_X") + this.bottomPlace.X) + "Y") + (this.bottomPlace.Y - 1));
} else if (((this.bottomPlace != undefined) && (this.fieldMask_mc.second_mc == undefined)) && (this.retObject.retBottomArray.length > 0)) {
var i = 0;
while (i < this.retObject.retBottomArray.length) {
this.retObject.retBottomArray[i].gotoAndStop(1);
i++;
}
this.retObject.retBottomArray = [];
}
if (((this.bottomPlace == undefined) || (this.bottomPlace._currentframe != 1)) && (this.fieldMask_mc.second_mc != undefined)) {
this.drawRect(this.fieldMask_mc, this.fieldMask_mc.second_mc._x, this.fieldMask_mc.second_mc._y, this.fieldMask_mc.second_mc._width, this.fieldMask_mc.second_mc._height);
this.fieldMask_mc.second_mc.removeMovieClip();
var clearedPlaces = 0;
var i = 0;
while (i < this.retObject.retBottomArray.length) {
this.retObject.retBottomArray[i].gotoAndStop(4);
clearedPlaces++;
i++;
}
_root.field.setCleared(_root.field.getCleared() + Math.round((clearedPlaces / (this.XSteps * this.YSteps)) * 100));
_root.field.setPoints(clearedPlaces);
this.retObject.retBottomArray = [];
} else if (((this.bottomPlace != undefined) && (this.bottomPlace._currentframe == 1)) && (this.fieldMask_mc.second_mc == undefined)) {
error2 = true;
}
var bool = ((this.fieldMask_mc.second_mc == undefined) && (this.fieldMask_mc.first_mc == undefined));
if (bool) {
this.fieldObject.isClearing = false;
delete this.onEnterFrame;
delete this.topPlace;
delete this.bottomPlace;
delete this.leftPlace;
delete this.rightPlace;
delete this.counter;
delete this.place;
delete this.clearingSpeed;
var i = 0;
while (i < this.ballsArray.length) {
this.ballsArray[i].setHitLinesArray([]);
this.ballsArray[i].setIsClearing(false);
i++;
}
if ((!error1) || (!error2)) {
delete this.onEnterFrame;
this.checkField(_root.field_mc, this.ballsArray);
}
}
return;
case 2 :
if (((this.leftPlace != undefined) && (this.leftPlace._currentframe == 1)) && (this.fieldMask_mc.first_mc != undefined)) {
this.leftPlace.gotoAndStop(3);
this.retObject.retTopArray.push(this.leftPlace);
this.fieldMask_mc.first_mc._x = this.leftPlace._x;
this.fieldMask_mc.first_mc._width = this.fieldMask_mc.first_mc._width + this.leftPlace._width;
this.leftPlace = eval ((((this.leftPlace._parent + ".place_X") + (this.leftPlace.X - 1)) + "Y") + this.leftPlace.Y);
} else if (((this.leftPlace != undefined) && (this.fieldMask_mc.first_mc == undefined)) && (this.retObject.retTopArray.length > 0)) {
var i = 0;
while (i < this.retObject.retTopArray.length) {
this.retObject.retTopArray[i].gotoAndStop(1);
i++;
}
this.retObject.retTopArray = [];
}
if (((this.leftPlace == undefined) || (this.leftPlace._currentframe != 1)) && (this.fieldMask_mc.first_mc != undefined)) {
this.drawRect(this.fieldMask_mc, this.fieldMask_mc.first_mc._x, this.fieldMask_mc.first_mc._y, this.fieldMask_mc.first_mc._width, this.fieldMask_mc.first_mc._height);
this.fieldMask_mc.first_mc.removeMovieClip();
var clearedPlaces = 0;
var i = 0;
while (i < this.retObject.retTopArray.length) {
this.retObject.retTopArray[i].gotoAndStop(4);
clearedPlaces++;
i++;
}
_root.field.setCleared(_root.field.getCleared() + Math.round((clearedPlaces / (this.XSteps * this.YSteps)) * 100));
_root.field.setPoints(clearedPlaces);
this.retObject.retTopArray = [];
} else if (((this.leftPlace != undefined) && (this.leftPlace._currentframe == 1)) && (this.fieldMask_mc.first_mc == undefined)) {
error1 = true;
}
if (((this.rightPlace != undefined) && (this.rightPlace._currentframe == 1)) && (this.fieldMask_mc.second_mc != undefined)) {
this.rightPlace.gotoAndStop(2);
this.retObject.retBottomArray.push(this.rightPlace);
this.fieldMask_mc.second_mc._width = this.fieldMask_mc.second_mc._width + this.rightPlace._width;
this.rightPlace = eval ((((this.rightPlace._parent + ".place_X") + (this.rightPlace.X + 1)) + "Y") + this.rightPlace.Y);
} else if (((this.rightPlace != undefined) && (this.fieldMask_mc.second_mc == undefined)) && (this.retObject.retBottomArray.length > 0)) {
var i = 0;
while (i < this.retObject.retBottomArray.length) {
this.retObject.retBottomArray[i].gotoAndStop(1);
i++;
}
this.retObject.retBottomArray = [];
}
if (((this.rightPlace == undefined) || (this.rightPlace._currentframe != 1)) && (this.fieldMask_mc.second_mc != undefined)) {
this.drawRect(this.fieldMask_mc, this.fieldMask_mc.second_mc._x, this.fieldMask_mc.second_mc._y, this.fieldMask_mc.second_mc._width, this.fieldMask_mc.second_mc._height);
this.fieldMask_mc.second_mc.removeMovieClip();
var clearedPlaces = 0;
var i = 0;
while (i < this.retObject.retBottomArray.length) {
this.retObject.retBottomArray[i].gotoAndStop(4);
clearedPlaces++;
i++;
}
_root.field.setCleared(_root.field.getCleared() + Math.round((clearedPlaces / (this.XSteps * this.YSteps)) * 100));
_root.field.setPoints(clearedPlaces);
this.retObject.retBottomArray = [];
} else if (((this.rightPlace != undefined) && (this.rightPlace._currentframe == 1)) && (this.fieldMask_mc.second_mc == undefined)) {
error2 = true;
}
var bool = ((this.fieldMask_mc.second_mc == undefined) && (this.fieldMask_mc.first_mc == undefined));
if (!bool) {
break;
}
this.fieldObject.isClearing = false;
delete this.onEnterFrame;
delete this.topPlace;
delete this.bottomPlace;
delete this.leftPlace;
delete this.rightPlace;
delete this.counter;
delete this.place;
delete this.clearingSpeed;
var i = 0;
while (i < this.ballsArray.length) {
this.ballsArray[i].setHitLinesArray([]);
this.ballsArray[i].setIsClearing(false);
i++;
}
if (!((!error1) || (!error2))) {
break;
}
delete this.onEnterFrame;
this.checkField(_root.field_mc, this.ballsArray);
}
};
}
function getCoeff() {
}
function checkField(mc_mc, ballsArray) {
var curPlace_mc = null;
var newPlace_mc = null;
var curArray = new Array();
var chessArray = new Array();
var curX = null;
var curY = null;
var counter = 0;
var cycle = null;
var YS = 1;
while (YS <= YSteps) {
var XS = 1;
while (XS <= XSteps) {
curPlace_mc = eval ((((mc_mc + ".place_X") + XS) + "Y") + YS);
if (curPlace_mc._currentframe == 4) {
curPlace_mc.pos = 2;
} else {
curPlace_mc.pos = 0;
}
XS++;
}
YS++;
}
var YS = 1;
while (YS <= YSteps) {
var XS = 1;
while (XS <= XSteps) {
curPlace_mc = eval ((((mc_mc + ".place_X") + XS) + "Y") + YS);
if (curPlace_mc.pos != 0) {
} else if (curPlace_mc.pos == 0) {
curArray = new Array();
curArray.push(curPlace_mc);
curPlace_mc.pos = 1;
cycle = curArray.length;
var i = 0;
while (i < cycle) {
curX = curArray[i].X;
curY = curArray[i].Y;
var counter = 0;
while (counter <= 3) {
switch (counter) {
case 0 :
newPlace_mc = eval ((((mc_mc + ".place_X") + curX) + "Y") + (curY + 1));
break;
case 1 :
newPlace_mc = eval ((((mc_mc + ".place_X") + (curX + 1)) + "Y") + curY);
break;
case 2 :
newPlace_mc = eval ((((mc_mc + ".place_X") + curX) + "Y") + (curY - 1));
break;
case 3 :
newPlace_mc = eval ((((mc_mc + ".place_X") + (curX - 1)) + "Y") + curY);
}
if ((newPlace_mc.pos == 0) && (newPlace_mc != undefined)) {
newPlace_mc.pos = 1;
curArray.push(newPlace_mc);
cycle = curArray.length;
}
counter++;
}
i++;
}
_root.createEmptyMovieClip("check_mc", _root.getNextHighestDepth());
_root.check_mc._x = _root.field_mc._x;
_root.check_mc._y = _root.field_mc._y;
var j = 0;
while (j < curArray.length) {
drawRect(_root.check_mc, curArray[j]._x, curArray[j]._y, curArray[j]._width, curArray[j]._height);
j++;
}
var isHited = false;
var ind = 0;
while (ind < ballsArray.length) {
if (_root.check_mc.hitTest(ballsArray[ind]._x, ballsArray[ind]._y, true)) {
isHited = true;
}
ind++;
}
var clearedPlaces = 0;
if (!isHited) {
var j = 0;
while (j < curArray.length) {
drawRect(_root.fieldMask_mc, curArray[j]._x, curArray[j]._y, curArray[j]._width, curArray[j]._height);
curArray[j].gotoAndStop(4);
clearedPlaces++;
j++;
}
}
_root.field.setCleared(_root.field.getCleared() + Math.round((clearedPlaces / (XSteps * YSteps)) * 100));
_root.field.setPoints(clearedPlaces);
_root.check_mc.clear();
}
XS++;
}
YS++;
}
_root.check_mc.removeMovieClip();
_root.destroy_snd.start(0, 1);
}
function isInArray(_Item, _Arr) {
var _local1 = "- ";
_local1 = _Arr.join(" - ");
_local1 = _local1 + " -";
if (_local1.indexOf(String(_Item), 0) == -1) {
return(false);
}
return(true);
}
function drawRect(mc_mc, x0, y0, width, height) {
mc_mc.lineStyle(0, 0, 0);
mc_mc.moveTo(x0, y0);
mc_mc.beginFill(16776960, 60);
mc_mc.lineTo(x0 + width, y0);
mc_mc.lineTo(x0 + width, y0 + height);
mc_mc.lineTo(x0, y0 + height);
mc_mc.lineTo(x0, y0);
mc_mc.endFill();
}
function drawForm(mc_mc, coordsArray) {
mc_mc.lineStyle(0, 0, 0);
mc_mc.moveTo(coordsArray[0][0], coordsArray[0][1]);
mc_mc.beginFill(16776960, 60);
var _local1 = 1;
while (_local1 < coordsArray.length) {
mc_mc.lineTo(coordsArray[_local1][0], coordsArray[_local1][1]);
_local1++;
}
mc_mc.lineTo(coordsArray[0][0], coordsArray[0][1]);
mc_mc.endFill();
}
function mirrorAngle(_Angle, _DirectAngle) {
return((-_Angle) + _DirectAngle);
}
function getLevel() {
return(level);
}
function setLevel(_Level) {
level = _Level;
setNumbOfBallsInLevel(level + 1);
setCleared(0);
setLives(numbOfBallsInLevel);
setTime(1500 + (level * 250));
}
function getPause() {
return(isPause);
}
function setPause(_Pause) {
isPause = _Pause;
}
function setGameOver() {
if (_root.completed_mc == undefined) {
_root.attachMovie("completedWin", "completed_mc", _root.getNextHighestDepth());
} else {
_root.completed_mc._visible = true;
}
_root.completed_mc.gotoAndStop("restart");
_root.field.stopBalls();
_root.field.setPause(true);
}
function setFinish() {
_root.attachMovie("finishWin", "finish_mc", _root.getNextHighestDepth());
_root.mouse_mc.removeMovieClip();
delete _root.onMouseMove;
delete _root.onMouseWheel;
Mouse.show();
}
function setCompleted() {
if (_root.completed_mc == undefined) {
_root.attachMovie("completedWin", "completed_mc", _root.getNextHighestDepth());
} else {
_root.completed_mc._visible = true;
}
trace("cacao cu lapte");
_root.nextFront();
_root.completed_mc.gotoAndPlay(1);
_root.field.stopBalls();
_root.field.setPause(true);
}
function getPoints() {
return(points);
}
function setPoints(_numbOfClearingPlaces) {
var _local2 = null;
switch (getLevel()) {
case 1 :
case 2 :
case 3 :
_local2 = 1;
break;
case 4 :
case 5 :
case 6 :
_local2 = 2;
break;
case 7 :
case 8 :
case 9 :
_local2 = 3;
break;
case 10 :
case 11 :
case 12 :
_local2 = 4;
break;
case 13 :
case 14 :
case 15 :
_local2 = 5;
}
points = points + (_local2 * _numbOfClearingPlaces);
}
function getLives() {
return(lives);
}
function setLives(_Lives) {
lives = _Lives;
}
function setIsClearing(_IsClearing) {
isClearing = _IsClearing;
}
function getTime() {
return(time);
}
function setTime(_Time) {
time = _Time;
}
function getCleared() {
return(cleared);
}
function setCleared(_Cleared) {
cleared = _Cleared;
}
function getNumbOfBallsInLevel() {
return(numbOfBallsInLevel);
}
function setNumbOfBallsInLevel(_Numb) {
_root.nextBack();
trace("kkt?!?");
if (_Numb == undefined) {
numbOfBallsInLevel = level;
} else {
numbOfBallsInLevel = _Numb;
}
}
function destructor() {
_root.mouse_mc.removeMovieClip();
delete _root.onMouseMove;
delete _root.onMouseWheel;
Mouse.show();
_root.clearedZone_mc.swapDepths(_root.clearedZone_mc.oldDepth);
_root.gameListener_mc.removeMovieClip();
removeBalls();
field_mc.removeMovieClip();
fieldMask_mc.removeMovieClip();
}
var fps = 25;
var field_mc = null;
var fieldMask_mc = null;
var XSteps = null;
var YSteps = null;
var Xstep = null;
var Ystep = null;
var x = null;
var y = null;
var alpha = null;
var clearingSpeed = null;
var isClearing = false;
var ballsArray = new Array();
var level = 1;
var points = 0;
var numbOfBallsInLevel = 0;
var cleared = 0;
var clearedPlaces = 0;
var lives = 0;
var time = 0;
var isPause = false;
var gameOver = false;
}
Instance of Symbol 71 MovieClip [change] in Symbol 103 MovieClip [goWin] Frame 1
on (rollOver) {
this.useHandCursor = false;
}
Symbol 103 MovieClip [goWin] Frame 14
stop();
Instance of Symbol 71 MovieClip [change] in Symbol 103 MovieClip [goWin] Frame 14
on (rollOver) {
this.useHandCursor = false;
}
on (press) {
_root.field.fieldMask_mc.clear();
_root.field.zeroField();
_root.field.setLevel(_root.field.getLevel());
_root.field.addBalls();
if (_root.levelN_mc == undefined) {
_root.attachMovie("levelNWin", "levelN_mc", _root.getNextHighestDepth());
} else {
_root.levelN_mc._visible = true;
}
_root.levelN_mc.gotoAndPlay(1);
_root.levelN_mc.level_mc.level_txt.text = _root.field.getLevel();
_root.lives_txt.text = _root.field.getLives();
_root.points_txt.text = _root.field.getPoints();
_root.time_txt.text = _root.field.getTime();
_root.cleared_txt.text = _root.field.getCleared() + "%";
this._parent.removeMovieClip();
}
Symbol 149 MovieClip Frame 1
Symbol 149 MovieClip Frame 2
stop();
Symbol 149 MovieClip Frame 3
stop();
Symbol 149 MovieClip Frame 4
stop();
Symbol 149 MovieClip Frame 5
stop();
Symbol 149 MovieClip Frame 6
stop();
Symbol 149 MovieClip Frame 7
stop();
Symbol 149 MovieClip Frame 8
stop();
Symbol 149 MovieClip Frame 9
stop();
Symbol 149 MovieClip Frame 10
stop();
Symbol 149 MovieClip Frame 11
stop();
Symbol 149 MovieClip Frame 12
stop();
Symbol 149 MovieClip Frame 13
stop();
Symbol 149 MovieClip Frame 14
stop();
Symbol 149 MovieClip Frame 15
stop();
Symbol 149 MovieClip Frame 16
stop();
Instance of Symbol 71 MovieClip [change] in Symbol 154 MovieClip [completedWin] Frame 1
on (rollOver) {
this.useHandCursor = false;
}
Symbol 154 MovieClip [completedWin] Frame 14
stop();
Instance of Symbol 71 MovieClip [change] in Symbol 154 MovieClip [completedWin] Frame 14
on (rollOver) {
this.useHandCursor = false;
}
on (press) {
_root.level++;
_root.field.fieldMask_mc.clear();
_root.field.zeroField();
_root.field.setLevel(_root.field.getLevel() + 1);
_root.field.addBalls();
if (_root.levelN_mc == undefined) {
_root.attachMovie("levelNWin", "levelN_mc", _root.getNextHighestDepth());
} else {
_root.levelN_mc._visible = true;
}
_root.levelN_mc.gotoAndPlay(1);
_root.levelN_mc.level_mc.level_txt.text = _root.field.getLevel();
_root.lives_txt.text = _root.field.getLives();
_root.points_txt.text = _root.field.getPoints();
_root.time_txt.text = _root.field.getTime();
_root.cleared_txt.text = _root.field.getCleared() + "%";
this._parent.removeMovieClip();
}
Symbol 154 MovieClip [completedWin] Frame 15
stop();
Instance of Symbol 71 MovieClip [change] in Symbol 154 MovieClip [completedWin] Frame 15
on (rollOver) {
this.useHandCursor = false;
}
on (press) {
_root.backI--;
trace(_root.frontI);
_root.field.fieldMask_mc.clear();
_root.field.zeroField();
_root.field.setLevel(_root.field.getLevel());
_root.field.addBalls();
if (_root.levelN_mc == undefined) {
_root.attachMovie("levelNWin", "levelN_mc", _root.getNextHighestDepth());
} else {
_root.levelN_mc._visible = true;
}
_root.levelN_mc.gotoAndPlay(1);
_root.levelN_mc.level_mc.level_txt.text = _root.field.getLevel();
_root.lives_txt.text = _root.field.getLives();
_root.points_txt.text = _root.field.getPoints();
_root.time_txt.text = _root.field.getTime();
_root.cleared_txt.text = _root.field.getCleared() + "%";
this._parent.removeMovieClip();
}
Instance of Symbol 71 MovieClip [change] in Symbol 158 MovieClip [pauseWin] Frame 1
on (rollOver) {
this.useHandCursor = false;
}
Instance of Symbol 71 MovieClip [change] "bg_mc" in Symbol 162 MovieClip [levelNWin] Frame 1
on (rollOver) {
this.useHandCursor = false;
}
Instance of Symbol 161 MovieClip "level_mc" in Symbol 162 MovieClip [levelNWin] Frame 1
on (rollOver) {
this.useHandCursor = false;
}
on (press) {
this._parent._parent.field.startBalls();
this._parent._parent.field.setPause(false);
this._parent._parent.field.setIsClearing(false);
this._parent.removeMovieClip();
}
Symbol 162 MovieClip [levelNWin] Frame 15
stop();
Instance of Symbol 71 MovieClip [change] "bg_mc" in Symbol 162 MovieClip [levelNWin] Frame 15
on (rollOver) {
this.useHandCursor = false;
}
on (press) {
this._parent._parent.field.startBalls();
this._parent._parent.field.setPause(false);
this._parent._parent.field.setIsClearing(false);
this._parent.removeMovieClip();
}
Instance of Symbol 71 MovieClip [change] in Symbol 168 MovieClip [finishWin] Frame 1
on (rollOver) {
this.useHandCursor = false;
}
Symbol 168 MovieClip [finishWin] Frame 14
_root.backI = 0;
_root.frontI = 1;
stop();
Instance of Symbol 167 MovieClip in Symbol 168 MovieClip [finishWin] Frame 14
on (release) {
getURL ("http://www.justfreegames.com?WT.mc_id=FlashJBall", "_blank");
}
Instance of Symbol 71 MovieClip [change] in Symbol 168 MovieClip [finishWin] Frame 14
on (rollOver) {
this.useHandCursor = false;
}
on (press) {
_root.field.destructor();
_root.gotoAndStop(3);
_root.finish_mc.removeMovieClip();
}
Symbol 172 MovieClip Frame 1
stop();
Symbol 177 MovieClip Frame 20
function playMovie() {
clearInterval(myInt);
nextFrame();
gotoAndPlay;
}
var myInt;
myInt = setInterval(playMovie, _root.picTime);
stop();
Symbol 177 MovieClip Frame 21
play();
Symbol 177 MovieClip Frame 30
_parent.gotoAndStop(3);
stop();
Symbol 180 MovieClip Frame 24
stop();
Symbol 184 MovieClip Frame 30
function playMovie() {
clearInterval(myInt);
nextFrame();
gotoAndPlay;
}
var myInt;
myInt = setInterval(playMovie, _root.picTime);
stop();
Symbol 184 MovieClip Frame 31
play();
Symbol 184 MovieClip Frame 40
stop();
_root.gotoAndStop("cover");
Symbol 185 MovieClip Frame 1
stop();
Symbol 185 MovieClip Frame 2
stop();
Symbol 185 MovieClip Frame 3
stop();
Symbol 190 MovieClip Frame 20
stop();
Symbol 196 MovieClip Frame 1
stop();
Symbol 201 MovieClip Frame 1
stop();
Symbol 201 MovieClip Frame 2
stop();
Symbol 201 MovieClip Frame 3
stop();
Symbol 201 MovieClip Frame 4
stop();
Symbol 201 MovieClip Frame 5
stop();
Symbol 201 MovieClip Frame 6
stop();
Symbol 201 MovieClip Frame 7
stop();
Symbol 201 MovieClip Frame 8
stop();
Symbol 201 MovieClip Frame 9
stop();
Symbol 201 MovieClip Frame 10
stop();
Symbol 201 MovieClip Frame 11
stop();
Symbol 201 MovieClip Frame 12
stop();
Symbol 201 MovieClip Frame 13
stop();
Symbol 201 MovieClip Frame 14
stop();
Symbol 201 MovieClip Frame 15
stop();
Symbol 201 MovieClip Frame 16
stop();