Frame 1
MochiAd.showPreGameAd({id:"8a3eb10a22f6d9dc", res:"690x500", background:6845841, color:788068, outline:12695210, no_bg:false});
Frame 3
if (_root.getBytesLoaded() < _root.getBytesTotal()) {
gotoAndStop ("Loading");
}
Instance of Symbol 14 MovieClip in Frame 4
//component parameters
onClipEvent (construct) {
bOpen = false;
}
Instance of Symbol 63 MovieClip in Frame 5
//component parameters
onClipEvent (construct) {
_game_name = "mazenetix";
score_var = "_root.fenshu";
}
Frame 6
onEnterFrame = function () {
credits.onPress = function () {
_global.cr = true;
_root.trans.play();
};
};
stop();
Instance of Symbol 85 MovieClip in Frame 6
on (release) {
getURL ("http://www.freeworldgroup.com/", _blank);
}
Frame 7
stop();
levelSelecter.init("mazenetix");
levelSelecter.onSelectLevel = function (levelNum) {
trace(" levelNum " + levelNum);
_root.level = levelNum;
trace(" \u4E3B\u65F6\u95F4\u8F74\u4E0A\u7684_root.level " + _root.level);
_root.trans.play();
};
Frame 8
return_mc._visible = false;
var score = 500;
var haha = true;
_global.weitanchu = true;
if (_global.first_entry) {
_global.first_entry = false;
_root.fenshu = 0;
}
mc.onEnterFrame = function () {
if (this.hitTest(_root.ball)) {
_root.trans.play();
if (haha) {
_root.levelSelecter.unlock(2);
_root.fenshu = (_root.fenshu + score) + Math.round(score * (1 / _root.tm.ttg));
haha = false;
}
}
};
bc = 100;
prs = 0;
stop();
yyy = 0;
xxx = 0;
Mouse.hide();
onMouseDown = function () {
prs = 1;
};
onEnterFrame = function () {
yyy = _root._ymouse - _root.ball._y;
xxx = _root._xmouse - _root.ball._x;
if (prs == 1) {
bc++;
duplicateMovieClip ("part", "p" + bc, bc);
if (_root.magnet._alpha == 100) {
if ((_root._ymouse + 30) > _root.ball._y) {
_root.ball.yv = _root.ball.yv + (yyy / 2000);
}
if ((_root._ymouse - 30) < _root.ball._y) {
_root.ball.yv = _root.ball.yv + (yyy / 2000);
}
if ((_root._xmouse + 30) > _root.ball._x) {
_root.ball.xv = _root.ball.xv + (xxx / 2000);
}
if ((_root._xmouse - 30) < _root.ball._x) {
_root.ball.xv = _root.ball.xv + (xxx / 2000);
}
}
} else {
if (_root.ball.xv > 0) {
if (_root.ball.xv < 0.1) {
_root.ball.xv = 0;
}
} else if (_root.ball.xv > -0.1) {
_root.ball.xv = 0;
}
if (_root.ball.yv > 0) {
if (_root.ball.yv < 0.1) {
_root.ball.yv = 0;
}
} else if (_root.ball.yv > -0.1) {
_root.ball.yv = 0;
}
_root.ball.xv = _root.ball.xv * 0.9;
_root.ball.yv = _root.ball.yv * 0.9;
}
};
Instance of Symbol 172 MovieClip "ball" in Frame 8
onClipEvent (load) {
xv = 0;
radius = 15;
yv = 0;
xx = 166;
yy = 245;
_x = xx;
_y = yy;
}
on (releaseOutside) {
_root.prs = 0;
}
on (release) {
_root.prs = 0;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.wall.hitTest(X, Y, true)) {
_root.prs = 0;
_x = xx;
_y = yy;
xv = 0;
yv = 0;
}
if (_root.boost.hitTest(X, Y, true)) {
}
i++;
}
_x = (_x + xv);
_y = (_y + yv);
}
Instance of Symbol 174 MovieClip "tm" in Frame 8
onClipEvent (load) {
var s_num = 0;
var s_num_1 = 0;
var m_num = 0;
var m_num_1 = 0;
ttg = 0;
tttt = 30;
}
onClipEvent (enterFrame) {
_root.second = s_num;
_root.second_1 = s_num_1;
_root.minute = m_num;
_root.minute_1 = m_num_1;
tttt = tttt - 1;
if (tttt == 0) {
ttg++;
s_num_1++;
tttt = 30;
}
if (s_num_1 >= 10) {
s_num_1 = 0;
s_num++;
}
if (s_num >= 6) {
s_num = 0;
m_num_1++;
}
if (m_num_1 >= 10) {
m_num_1 = 0;
m_num++;
}
}
Instance of Symbol 180 MovieClip in Frame 8
on (release) {
_root.prs = 0;
}
Instance of Symbol 216 MovieClip "magnet" in Frame 8
onClipEvent (enterFrame) {
Xd = _root.ball._x - _x;
Yd = _root.ball._y - _y;
radAngle = Math.atan2(Yd, Xd);
_rotation = int(((radAngle * 360) / (Math.PI*2)) + 90);
updateAfterEvent();
if (_global.weitanchu) {
if (!_root.wall.hitTest(_x, _y, true)) {
Mouse.hide();
_alpha = 30;
} else if (_root.topbar.hitTest(this)) {
_alpha = 0;
Mouse.show();
} else {
Mouse.hide();
_alpha = 100;
}
}
_x = _root._xmouse;
_y = _root._ymouse;
}
Frame 9
return_mc._visible = false;
var score = 600;
var haha = true;
_global.weitanchu = true;
if (_global.first_entry) {
_global.first_entry = false;
_root.fenshu = 0;
}
mc.onEnterFrame = function () {
_root.level_no = _root._currentframe - 7;
if (this.hitTest(_root.ball)) {
_root.trans.play();
if (haha) {
_root.fenshu = (_root.fenshu + score) + Math.round(score * (1 / _root.tm.ttg));
_root.levelSelecter.unlock(3);
haha = false;
}
}
};
prs = 0;
stop();
yyy = 0;
xxx = 0;
Mouse.hide();
onMouseDown = function () {
prs = 1;
};
onEnterFrame = function () {
yyy = _root._ymouse - _root.ball._y;
xxx = _root._xmouse - _root.ball._x;
if (prs == 1) {
bc++;
duplicateMovieClip ("part", "p" + bc, bc);
if (_root.magnet._alpha == 100) {
if ((_root._ymouse + 30) > _root.ball._y) {
_root.ball.yv = _root.ball.yv + (yyy / 2000);
}
if ((_root._ymouse - 30) < _root.ball._y) {
_root.ball.yv = _root.ball.yv + (yyy / 2000);
}
if ((_root._xmouse + 30) > _root.ball._x) {
_root.ball.xv = _root.ball.xv + (xxx / 2000);
}
if ((_root._xmouse - 30) < _root.ball._x) {
_root.ball.xv = _root.ball.xv + (xxx / 2000);
}
}
} else {
if (_root.ball.xv > 0) {
if (_root.ball.xv < 0.1) {
_root.ball.xv = 0;
}
} else if (_root.ball.xv > -0.1) {
_root.ball.xv = 0;
}
if (_root.ball.yv > 0) {
if (_root.ball.yv < 0.1) {
_root.ball.yv = 0;
}
} else if (_root.ball.yv > -0.1) {
_root.ball.yv = 0;
}
_root.ball.xv = _root.ball.xv * 0.9;
_root.ball.yv = _root.ball.yv * 0.9;
}
};
Instance of Symbol 172 MovieClip "ball" in Frame 9
onClipEvent (load) {
xv = 0;
radius = 15;
yv = 0;
xx = 134;
yy = 174;
_x = xx;
_y = yy;
}
on (releaseOutside) {
_root.prs = 0;
}
on (release) {
_root.prs = 0;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.wall.hitTest(X, Y, true)) {
_root.prs = 0;
_x = xx;
_y = yy;
xv = 0;
yv = 0;
}
if (_root.boost.hitTest(X, Y, true)) {
if (yv > (-xv)) {
xv = 4;
yv = 0;
}
if (yv < (-xv)) {
xv = 0;
yv = -4;
}
}
i++;
}
_x = (_x + xv);
_y = (_y + yv);
}
Frame 10
return_mc._visible = false;
var score = 700;
var haha = true;
_global.weitanchu = true;
if (_global.first_entry) {
_global.first_entry = false;
_root.fenshu = 0;
}
mc.onEnterFrame = function () {
_root.level_no = _root._currentframe - 7;
if (this.hitTest(_root.ball)) {
_root.trans.play();
if (haha) {
_root.fenshu = (_root.fenshu + score) + Math.round(score * (1 / _root.tm.ttg));
_root.levelSelecter.unlock(4);
haha = false;
}
}
};
prs = 0;
stop();
yyy = 0;
xxx = 0;
Mouse.hide();
onMouseDown = function () {
prs = 1;
};
onEnterFrame = function () {
yyy = _root._ymouse - _root.ball._y;
xxx = _root._xmouse - _root.ball._x;
if (prs == 1) {
bc++;
duplicateMovieClip ("part", "p" + bc, bc);
if (_root.magnet._alpha == 100) {
if ((_root._ymouse + 30) > _root.ball._y) {
_root.ball.yv = _root.ball.yv + (yyy / 2000);
}
if ((_root._ymouse - 30) < _root.ball._y) {
_root.ball.yv = _root.ball.yv + (yyy / 2000);
}
if ((_root._xmouse + 30) > _root.ball._x) {
_root.ball.xv = _root.ball.xv + (xxx / 2000);
}
if ((_root._xmouse - 30) < _root.ball._x) {
_root.ball.xv = _root.ball.xv + (xxx / 2000);
}
}
} else {
if (_root.ball.xv > 0) {
if (_root.ball.xv < 0.1) {
_root.ball.xv = 0;
}
} else if (_root.ball.xv > -0.1) {
_root.ball.xv = 0;
}
if (_root.ball.yv > 0) {
if (_root.ball.yv < 0.1) {
_root.ball.yv = 0;
}
} else if (_root.ball.yv > -0.1) {
_root.ball.yv = 0;
}
_root.ball.xv = _root.ball.xv * 0.9;
_root.ball.yv = _root.ball.yv * 0.9;
}
};
Instance of Symbol 168 MovieClip "mc" in Frame 10
/* no clip actions */
Instance of Symbol 172 MovieClip "ball" in Frame 10
onClipEvent (load) {
xv = 0;
radius = 15;
yv = 0;
xx = 107;
yy = 248;
_x = xx;
_y = yy;
}
on (releaseOutside) {
_root.prs = 0;
}
on (release) {
_root.prs = 0;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.wall.hitTest(X, Y, true)) {
_root.prs = 0;
_x = xx;
_y = yy;
xv = 0;
yv = 0;
}
if (_root.boost.hitTest(X, Y, true)) {
if (yv > (-xv)) {
xv = 4;
yv = 0;
}
if (yv < (-xv)) {
xv = 0;
yv = -4;
}
}
i++;
}
_x = (_x + xv);
_y = (_y + yv);
}
Frame 11
return_mc._visible = false;
var score = 800;
var haha = true;
_global.weitanchu = true;
if (_global.first_entry) {
_global.first_entry = false;
_root.fenshu = 0;
}
mc.onEnterFrame = function () {
_root.level_no = _root._currentframe - 7;
if (this.hitTest(_root.ball)) {
_root.trans.play();
if (haha) {
_root.fenshu = (_root.fenshu + score) + Math.round(score * (1 / _root.tm.ttg));
_root.levelSelecter.unlock(5);
haha = false;
}
}
};
prs = 0;
stop();
yyy = 0;
xxx = 0;
Mouse.hide();
onMouseDown = function () {
prs = 1;
};
onEnterFrame = function () {
yyy = _root._ymouse - _root.ball._y;
xxx = _root._xmouse - _root.ball._x;
if (prs == 1) {
bc++;
duplicateMovieClip ("part", "p" + bc, bc);
if (_root.magnet._alpha == 100) {
if ((_root._ymouse + 30) > _root.ball._y) {
_root.ball.yv = _root.ball.yv + (yyy / 2000);
}
if ((_root._ymouse - 30) < _root.ball._y) {
_root.ball.yv = _root.ball.yv + (yyy / 2000);
}
if ((_root._xmouse + 30) > _root.ball._x) {
_root.ball.xv = _root.ball.xv + (xxx / 2000);
}
if ((_root._xmouse - 30) < _root.ball._x) {
_root.ball.xv = _root.ball.xv + (xxx / 2000);
}
}
} else {
if (_root.ball.xv > 0) {
if (_root.ball.xv < 0.1) {
_root.ball.xv = 0;
}
} else if (_root.ball.xv > -0.1) {
_root.ball.xv = 0;
}
if (_root.ball.yv > 0) {
if (_root.ball.yv < 0.1) {
_root.ball.yv = 0;
}
} else if (_root.ball.yv > -0.1) {
_root.ball.yv = 0;
}
_root.ball.xv = _root.ball.xv * 0.9;
_root.ball.yv = _root.ball.yv * 0.9;
}
};
Instance of Symbol 172 MovieClip "ball" in Frame 11
onClipEvent (load) {
xv = 0;
radius = 15;
yv = 0;
xx = 527;
yy = 416;
_x = xx;
_y = yy;
}
on (releaseOutside) {
_root.prs = 0;
}
on (release) {
_root.prs = 0;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.wall.hitTest(X, Y, true)) {
_root.prs = 0;
_x = xx;
_y = yy;
xv = 0;
yv = 0;
}
if (_root.boost.hitTest(X, Y, true)) {
if (yv > (-xv)) {
xv = 4;
yv = 0;
}
if (yv < (-xv)) {
xv = 0;
yv = -4;
}
}
i++;
}
_x = (_x + xv);
_y = (_y + yv);
}
Frame 12
return_mc._visible = false;
var score = 900;
var haha = true;
_global.weitanchu = true;
if (_global.first_entry) {
_global.first_entry = false;
_root.fenshu = 0;
}
mc.onEnterFrame = function () {
_root.level_no = _root._currentframe - 7;
if (this.hitTest(_root.ball)) {
_root.trans.play();
if (haha) {
_root.fenshu = (_root.fenshu + score) + Math.round(score * (1 / _root.tm.ttg));
_root.levelSelecter.unlock(6);
haha = false;
}
}
};
prs = 0;
stop();
yyy = 0;
xxx = 0;
Mouse.hide();
onMouseDown = function () {
prs = 1;
};
onEnterFrame = function () {
yyy = _root._ymouse - _root.ball._y;
xxx = _root._xmouse - _root.ball._x;
if (prs == 1) {
bc++;
duplicateMovieClip ("part", "p" + bc, bc);
if (_root.magnet._alpha == 100) {
if ((_root._ymouse + 30) > _root.ball._y) {
_root.ball.yv = _root.ball.yv + (yyy / 2000);
}
if ((_root._ymouse - 30) < _root.ball._y) {
_root.ball.yv = _root.ball.yv + (yyy / 2000);
}
if ((_root._xmouse + 30) > _root.ball._x) {
_root.ball.xv = _root.ball.xv + (xxx / 2000);
}
if ((_root._xmouse - 30) < _root.ball._x) {
_root.ball.xv = _root.ball.xv + (xxx / 2000);
}
}
} else {
if (_root.ball.xv > 0) {
if (_root.ball.xv < 0.1) {
_root.ball.xv = 0;
}
} else if (_root.ball.xv > -0.1) {
_root.ball.xv = 0;
}
if (_root.ball.yv > 0) {
if (_root.ball.yv < 0.1) {
_root.ball.yv = 0;
}
} else if (_root.ball.yv > -0.1) {
_root.ball.yv = 0;
}
_root.ball.xv = _root.ball.xv * 0.9;
_root.ball.yv = _root.ball.yv * 0.9;
}
};
Instance of Symbol 172 MovieClip "ball" in Frame 12
onClipEvent (load) {
xv = 0;
radius = 15;
yv = 0;
xx = 101;
yy = 246;
_x = xx;
_y = yy;
}
on (releaseOutside) {
_root.prs = 0;
}
on (release) {
_root.prs = 0;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.wall.hitTest(X, Y, true)) {
_root.prs = 0;
_x = xx;
_y = yy;
xv = 0;
yv = 0;
}
if (_root.boost.hitTest(X, Y, true)) {
if (yv > (-xv)) {
xv = 4;
yv = 0;
}
if (yv < (-xv)) {
xv = 0;
yv = -4;
}
}
i++;
}
_x = (_x + xv);
_y = (_y + yv);
}
Frame 13
return_mc._visible = false;
var score = 1000;
var haha = true;
_global.weitanchu = true;
if (_global.first_entry) {
_global.first_entry = false;
_root.fenshu = 0;
}
mc.onEnterFrame = function () {
_root.level_no = _root._currentframe - 7;
if (this.hitTest(_root.ball)) {
_root.trans.play();
if (haha) {
_root.fenshu = (_root.fenshu + score) + Math.round(score * (1 / _root.tm.ttg));
_root.levelSelecter.unlock(7);
haha = false;
}
}
};
prs = 0;
stop();
yyy = 0;
xxx = 0;
Mouse.hide();
onMouseDown = function () {
prs = 1;
};
onEnterFrame = function () {
yyy = _root._ymouse - _root.ball._y;
xxx = _root._xmouse - _root.ball._x;
if (prs == 1) {
bc++;
duplicateMovieClip ("part", "p" + bc, bc);
if (_root.magnet._alpha == 100) {
if ((_root._ymouse + 30) > _root.ball._y) {
_root.ball.yv = _root.ball.yv + (yyy / 2000);
}
if ((_root._ymouse - 30) < _root.ball._y) {
_root.ball.yv = _root.ball.yv + (yyy / 2000);
}
if ((_root._xmouse + 30) > _root.ball._x) {
_root.ball.xv = _root.ball.xv + (xxx / 2000);
}
if ((_root._xmouse - 30) < _root.ball._x) {
_root.ball.xv = _root.ball.xv + (xxx / 2000);
}
}
} else {
if (_root.ball.xv > 0) {
if (_root.ball.xv < 0.1) {
_root.ball.xv = 0;
}
} else if (_root.ball.xv > -0.1) {
_root.ball.xv = 0;
}
if (_root.ball.yv > 0) {
if (_root.ball.yv < 0.1) {
_root.ball.yv = 0;
}
} else if (_root.ball.yv > -0.1) {
_root.ball.yv = 0;
}
_root.ball.xv = _root.ball.xv * 0.9;
_root.ball.yv = _root.ball.yv * 0.9;
}
};
Instance of Symbol 172 MovieClip "ball" in Frame 13
onClipEvent (load) {
xv = 0;
radius = 15;
yv = 0;
xx = 101;
yy = 415;
_x = xx;
_y = yy;
}
on (releaseOutside) {
_root.prs = 0;
}
on (release) {
_root.prs = 0;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.wall.hitTest(X, Y, true)) {
_root.prs = 0;
_x = xx;
_y = yy;
xv = 0;
yv = 0;
}
if (_root.boost.hitTest(X, Y, true)) {
if (yv > (-xv)) {
xv = 4;
yv = 0;
}
if (yv < (-xv)) {
xv = 0;
yv = -4;
}
}
if (_root.key.hitTest(X, Y, true)) {
_root.wall.lock.play();
_root.key._y = _root.key._y + 1000;
}
i++;
}
_x = (_x + xv);
_y = (_y + yv);
}
Frame 14
return_mc._visible = false;
var score = 1100;
var haha = true;
_global.weitanchu = true;
if (_global.first_entry) {
_global.first_entry = false;
_root.fenshu = 0;
}
mc.onEnterFrame = function () {
_root.level_no = _root._currentframe - 7;
if (this.hitTest(_root.ball)) {
_root.trans.play();
if (haha) {
_root.fenshu = (_root.fenshu + score) + Math.round(score * (1 / _root.tm.ttg));
_root.levelSelecter.unlock(8);
haha = false;
}
}
};
prs = 0;
stop();
yyy = 0;
xxx = 0;
Mouse.hide();
onMouseDown = function () {
prs = 1;
};
onEnterFrame = function () {
yyy = _root._ymouse - _root.ball._y;
xxx = _root._xmouse - _root.ball._x;
if (prs == 1) {
bc++;
duplicateMovieClip ("part", "p" + bc, bc);
if (_root.magnet._alpha == 100) {
if ((_root._ymouse + 30) > _root.ball._y) {
_root.ball.yv = _root.ball.yv + (yyy / 2000);
}
if ((_root._ymouse - 30) < _root.ball._y) {
_root.ball.yv = _root.ball.yv + (yyy / 2000);
}
if ((_root._xmouse + 30) > _root.ball._x) {
_root.ball.xv = _root.ball.xv + (xxx / 2000);
}
if ((_root._xmouse - 30) < _root.ball._x) {
_root.ball.xv = _root.ball.xv + (xxx / 2000);
}
}
} else {
if (_root.ball.xv > 0) {
if (_root.ball.xv < 0.1) {
_root.ball.xv = 0;
}
} else if (_root.ball.xv > -0.1) {
_root.ball.xv = 0;
}
if (_root.ball.yv > 0) {
if (_root.ball.yv < 0.1) {
_root.ball.yv = 0;
}
} else if (_root.ball.yv > -0.1) {
_root.ball.yv = 0;
}
_root.ball.xv = _root.ball.xv * 0.9;
_root.ball.yv = _root.ball.yv * 0.9;
}
};
Instance of Symbol 172 MovieClip "ball" in Frame 14
onClipEvent (load) {
xv = 0;
radius = 15;
yv = 0;
xx = 112;
yy = 95;
_x = xx;
_y = yy;
}
on (releaseOutside) {
_root.prs = 0;
}
on (release) {
_root.prs = 0;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.wall.hitTest(X, Y, true)) {
_root.prs = 0;
_x = xx;
_y = yy;
xv = 0;
yv = 0;
}
if (_root.boost.hitTest(X, Y, true)) {
if (yv > (-xv)) {
xv = 4;
yv = 0;
}
if (yv < (-xv)) {
xv = 0;
yv = -4;
}
}
i++;
}
_x = (_x + xv);
_y = (_y + yv);
}
Frame 15
return_mc._visible = false;
var haha = true;
var score = 1200;
_global.weitanchu = true;
if (_global.first_entry) {
_global.first_entry = false;
_root.fenshu = 0;
}
mc.onEnterFrame = function () {
_root.level_no = _root._currentframe - 7;
if (this.hitTest(_root.ball)) {
_root.trans.play();
if (haha) {
_root.fenshu = (_root.fenshu + score) + Math.round(score * (1 / _root.tm.ttg));
_root.levelSelecter.unlock(9);
haha = false;
}
}
};
prs = 0;
stop();
yyy = 0;
xxx = 0;
Mouse.hide();
onMouseDown = function () {
prs = 1;
};
onEnterFrame = function () {
yyy = _root._ymouse - _root.ball._y;
xxx = _root._xmouse - _root.ball._x;
if (prs == 1) {
bc++;
duplicateMovieClip ("part", "p" + bc, bc);
if (_root.magnet._alpha == 100) {
if ((_root._ymouse + 30) > _root.ball._y) {
_root.ball.yv = _root.ball.yv + (yyy / 2000);
}
if ((_root._ymouse - 30) < _root.ball._y) {
_root.ball.yv = _root.ball.yv + (yyy / 2000);
}
if ((_root._xmouse + 30) > _root.ball._x) {
_root.ball.xv = _root.ball.xv + (xxx / 2000);
}
if ((_root._xmouse - 30) < _root.ball._x) {
_root.ball.xv = _root.ball.xv + (xxx / 2000);
}
}
} else {
if (_root.ball.xv > 0) {
if (_root.ball.xv < 0.1) {
_root.ball.xv = 0;
}
} else if (_root.ball.xv > -0.1) {
_root.ball.xv = 0;
}
if (_root.ball.yv > 0) {
if (_root.ball.yv < 0.1) {
_root.ball.yv = 0;
}
} else if (_root.ball.yv > -0.1) {
_root.ball.yv = 0;
}
_root.ball.xv = _root.ball.xv * 0.9;
_root.ball.yv = _root.ball.yv * 0.9;
}
};
Instance of Symbol 172 MovieClip "ball" in Frame 15
onClipEvent (load) {
xv = 0;
radius = 15;
yv = 0;
xx = 119;
yy = 93;
_x = xx;
_y = yy;
}
on (releaseOutside) {
_root.prs = 0;
}
on (release) {
_root.prs = 0;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.wall.hitTest(X, Y, true)) {
_root.prs = 0;
_x = xx;
_y = yy;
xv = 0;
yv = 0;
}
if (_root.boost.hitTest(X, Y, true)) {
if (yv > (-xv)) {
xv = 4;
yv = 0;
}
if (yv < (-xv)) {
xv = 0;
yv = -4;
}
}
i++;
}
_x = (_x + xv);
_y = (_y + yv);
}
Frame 16
return_mc._visible = false;
var haha = true;
var score = 1300;
_global.weitanchu = true;
if (_global.first_entry) {
_global.first_entry = false;
_root.fenshu = 0;
}
mc.onEnterFrame = function () {
_root.level_no = _root._currentframe - 7;
if (this.hitTest(_root.ball)) {
_root.trans.play();
if (haha) {
_root.fenshu = (_root.fenshu + score) + Math.round(score * (1 / _root.tm.ttg));
_root.levelSelecter.unlock(10);
haha = false;
}
}
};
prs = 0;
stop();
yyy = 0;
xxx = 0;
Mouse.hide();
onMouseDown = function () {
prs = 1;
};
onEnterFrame = function () {
yyy = _root._ymouse - _root.ball._y;
xxx = _root._xmouse - _root.ball._x;
if (prs == 1) {
bc++;
duplicateMovieClip ("part", "p" + bc, bc);
if (_root.magnet._alpha == 100) {
if ((_root._ymouse + 30) > _root.ball._y) {
_root.ball.yv = _root.ball.yv + (yyy / 2000);
}
if ((_root._ymouse - 30) < _root.ball._y) {
_root.ball.yv = _root.ball.yv + (yyy / 2000);
}
if ((_root._xmouse + 30) > _root.ball._x) {
_root.ball.xv = _root.ball.xv + (xxx / 2000);
}
if ((_root._xmouse - 30) < _root.ball._x) {
_root.ball.xv = _root.ball.xv + (xxx / 2000);
}
}
} else {
if (_root.ball.xv > 0) {
if (_root.ball.xv < 0.1) {
_root.ball.xv = 0;
}
} else if (_root.ball.xv > -0.1) {
_root.ball.xv = 0;
}
if (_root.ball.yv > 0) {
if (_root.ball.yv < 0.1) {
_root.ball.yv = 0;
}
} else if (_root.ball.yv > -0.1) {
_root.ball.yv = 0;
}
_root.ball.xv = _root.ball.xv * 0.9;
_root.ball.yv = _root.ball.yv * 0.9;
}
};
Instance of Symbol 172 MovieClip "ball" in Frame 16
onClipEvent (load) {
xv = 0;
radius = 15;
yv = 0;
xx = 112;
yy = 84;
_x = xx;
_y = yy;
}
on (releaseOutside) {
_root.prs = 0;
}
on (release) {
_root.prs = 0;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.wall.hitTest(X, Y, true)) {
_root.prs = 0;
_x = xx;
_y = yy;
xv = 0;
yv = 0;
}
if (_root.boost.hitTest(X, Y, true)) {
if (yv > (-xv)) {
xv = 4;
yv = 0;
}
if (yv < (-xv)) {
xv = 0;
yv = -4;
}
}
i++;
}
_x = (_x + xv);
_y = (_y + yv);
}
Frame 17
return_mc._visible = false;
var haha = true;
var score = 1400;
_global.weitanchu = true;
if (_global.first_entry) {
_global.first_entry = false;
_root.fenshu = 0;
}
mc.onEnterFrame = function () {
_root.level_no = _root._currentframe - 7;
if (this.hitTest(_root.ball)) {
_root.trans.play();
if (haha) {
_root.fenshu = (_root.fenshu + score) + Math.round(score * (1 / _root.tm.ttg));
_root.levelSelecter.unlock(11);
haha = false;
}
}
};
prs = 0;
stop();
yyy = 0;
xxx = 0;
Mouse.hide();
onMouseDown = function () {
prs = 1;
};
onEnterFrame = function () {
yyy = _root._ymouse - _root.ball._y;
xxx = _root._xmouse - _root.ball._x;
if (prs == 1) {
bc++;
duplicateMovieClip ("part", "p" + bc, bc);
if (_root.magnet._alpha == 100) {
if ((_root._ymouse + 30) > _root.ball._y) {
_root.ball.yv = _root.ball.yv + (yyy / 2000);
}
if ((_root._ymouse - 30) < _root.ball._y) {
_root.ball.yv = _root.ball.yv + (yyy / 2000);
}
if ((_root._xmouse + 30) > _root.ball._x) {
_root.ball.xv = _root.ball.xv + (xxx / 2000);
}
if ((_root._xmouse - 30) < _root.ball._x) {
_root.ball.xv = _root.ball.xv + (xxx / 2000);
}
}
} else {
if (_root.ball.xv > 0) {
if (_root.ball.xv < 0.1) {
_root.ball.xv = 0;
}
} else if (_root.ball.xv > -0.1) {
_root.ball.xv = 0;
}
if (_root.ball.yv > 0) {
if (_root.ball.yv < 0.1) {
_root.ball.yv = 0;
}
} else if (_root.ball.yv > -0.1) {
_root.ball.yv = 0;
}
_root.ball.xv = _root.ball.xv * 0.9;
_root.ball.yv = _root.ball.yv * 0.9;
}
};
Instance of Symbol 172 MovieClip "ball" in Frame 17
onClipEvent (load) {
xv = 0;
radius = 15;
yv = 0;
xx = 108;
yy = 80;
_x = xx;
_y = yy;
}
on (releaseOutside) {
_root.prs = 0;
}
on (release) {
_root.prs = 0;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.wall.hitTest(X, Y, true)) {
_root.prs = 0;
_x = xx;
_y = yy;
xv = 0;
yv = 0;
}
if (_root.boost.hitTest(X, Y, true)) {
if (yv > (-xv)) {
xv = 4;
yv = 0;
}
if (yv < (-xv)) {
xv = 0;
yv = -4;
}
}
i++;
}
_x = (_x + xv);
_y = (_y + yv);
}
Frame 18
return_mc._visible = false;
var haha = true;
var score = 1500;
_global.weitanchu = true;
if (_global.first_entry) {
_global.first_entry = false;
_root.fenshu = 0;
}
mc.onEnterFrame = function () {
_root.level_no = _root._currentframe - 7;
if (this.hitTest(_root.ball)) {
_root.trans.play();
if (haha) {
_root.fenshu = (_root.fenshu + score) + Math.round(score * (1 / _root.tm.ttg));
_root.levelSelecter.unlock(12);
haha = false;
}
}
};
prs = 0;
stop();
yyy = 0;
xxx = 0;
Mouse.hide();
onMouseDown = function () {
prs = 1;
};
onEnterFrame = function () {
yyy = _root._ymouse - _root.ball._y;
xxx = _root._xmouse - _root.ball._x;
if (prs == 1) {
bc++;
duplicateMovieClip ("part", "p" + bc, bc);
if (_root.magnet._alpha == 100) {
if ((_root._ymouse + 30) > _root.ball._y) {
_root.ball.yv = _root.ball.yv + (yyy / 2000);
}
if ((_root._ymouse - 30) < _root.ball._y) {
_root.ball.yv = _root.ball.yv + (yyy / 2000);
}
if ((_root._xmouse + 30) > _root.ball._x) {
_root.ball.xv = _root.ball.xv + (xxx / 2000);
}
if ((_root._xmouse - 30) < _root.ball._x) {
_root.ball.xv = _root.ball.xv + (xxx / 2000);
}
}
} else {
if (_root.ball.xv > 0) {
if (_root.ball.xv < 0.1) {
_root.ball.xv = 0;
}
} else if (_root.ball.xv > -0.1) {
_root.ball.xv = 0;
}
if (_root.ball.yv > 0) {
if (_root.ball.yv < 0.1) {
_root.ball.yv = 0;
}
} else if (_root.ball.yv > -0.1) {
_root.ball.yv = 0;
}
_root.ball.xv = _root.ball.xv * 0.9;
_root.ball.yv = _root.ball.yv * 0.9;
}
};
Instance of Symbol 172 MovieClip "ball" in Frame 18
onClipEvent (load) {
xv = 0;
radius = 15;
yv = 0;
xx = 133;
yy = 338;
_x = xx;
_y = yy;
}
on (releaseOutside) {
_root.prs = 0;
}
on (release) {
_root.prs = 0;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.wall.hitTest(X, Y, true)) {
_root.prs = 0;
_x = xx;
_y = yy;
xv = 0;
yv = 0;
}
if (_root.boost.hitTest(X, Y, true)) {
if (yv > (-xv)) {
xv = 4;
yv = 0;
}
if (yv < (-xv)) {
xv = 0;
yv = -4;
}
}
i++;
}
_x = (_x + xv);
_y = (_y + yv);
}
Frame 19
return_mc._visible = false;
var haha = true;
var score = 1600;
_global.weitanchu = true;
if (_global.first_entry) {
_global.first_entry = false;
_root.fenshu = 0;
}
mc.onEnterFrame = function () {
_root.level_no = _root._currentframe - 7;
if (this.hitTest(_root.ball)) {
_root.trans.play();
if (haha) {
_root.fenshu = (_root.fenshu + score) + Math.round(score * (1 / _root.tm.ttg));
haha = false;
}
}
};
prs = 0;
stop();
yyy = 0;
xxx = 0;
Mouse.hide();
onMouseDown = function () {
prs = 1;
};
onEnterFrame = function () {
yyy = _root._ymouse - _root.ball._y;
xxx = _root._xmouse - _root.ball._x;
if (prs == 1) {
bc++;
duplicateMovieClip ("part", "p" + bc, bc);
if (_root.magnet._alpha == 100) {
if ((_root._ymouse + 30) > _root.ball._y) {
_root.ball.yv = _root.ball.yv + (yyy / 2000);
}
if ((_root._ymouse - 30) < _root.ball._y) {
_root.ball.yv = _root.ball.yv + (yyy / 2000);
}
if ((_root._xmouse + 30) > _root.ball._x) {
_root.ball.xv = _root.ball.xv + (xxx / 2000);
}
if ((_root._xmouse - 30) < _root.ball._x) {
_root.ball.xv = _root.ball.xv + (xxx / 2000);
}
}
} else {
if (_root.ball.xv > 0) {
if (_root.ball.xv < 0.1) {
_root.ball.xv = 0;
}
} else if (_root.ball.xv > -0.1) {
_root.ball.xv = 0;
}
if (_root.ball.yv > 0) {
if (_root.ball.yv < 0.1) {
_root.ball.yv = 0;
}
} else if (_root.ball.yv > -0.1) {
_root.ball.yv = 0;
}
_root.ball.xv = _root.ball.xv * 0.9;
_root.ball.yv = _root.ball.yv * 0.9;
}
};
Instance of Symbol 309 MovieClip "logo_mc" in Frame 19
onClipEvent (load) {
var xdis;
var ydis;
var hudu;
var shun = true;
var ni = false;
var shunshizhen = (random(60) + 60);
var nishizhen = (random(60) + 60);
}
onClipEvent (enterFrame) {
if (shun) {
this._rotation = this._rotation + 5;
} else {
this._rotation = this._rotation - 5;
}
trace(" shunshizhen " + shunshizhen);
if ((--shunshizhen) <= 0) {
shunshizhen = random(60) + 30;
shun = !shun;
trace(" shun " + shun);
}
var xdis = (_root.ball._x - this._x);
var ydis = (_root.ball._y - this._y);
var xsudu = (1.5 * Math.cos(Math.atan2(ydis, xdis)));
var ysudu = (1.5 * Math.sin(Math.atan2(ydis, xdis)));
this._x = this._x + xsudu;
this._y = this._y + ysudu;
}
Instance of Symbol 172 MovieClip "ball" in Frame 19
onClipEvent (load) {
xv = 0;
radius = 15;
yv = 0;
xx = 139;
yy = 118;
_x = xx;
_y = yy;
oldx = _root.logo_mc._x;
oldy = _root.logo_mc._y;
}
on (releaseOutside) {
_root.prs = 0;
}
on (release) {
_root.prs = 0;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.wall.hitTest(X, Y, true) || (_root.logo_mc.hitTest(X, Y, true))) {
_root.prs = 0;
_x = xx;
_y = yy;
xv = 0;
yv = 0;
_root.logo_mc._x = oldx;
_root.logo_mc._y = oldy;
}
if (_root.boost.hitTest(X, Y, true)) {
if (yv > (-xv)) {
xv = 4;
yv = 0;
}
if (yv < (-xv)) {
xv = 0;
yv = -4;
}
}
i++;
}
_x = (_x + xv);
_y = (_y + yv);
}
Frame 20
Mouse.show();
Frame 22
Mouse.show();
Instance of Symbol 63 MovieClip in Frame 22
//component parameters
onClipEvent (construct) {
_game_name = "mazenetix";
score_var = "_root.fenshu";
}
Symbol 4 MovieClip Frame 1
onPress = function () {
FWGURL();
};
this.cacheAsBitmap = true;
Symbol 7 MovieClip Frame 1
onEnterFrame = function () {
var _local4 = _root.getBytesLoaded();
var _local3 = _root.getBytesTotal();
var _local5 = int((_local4 / _local3) * 100);
num_txt.text = _local5 + "%";
if (_local4 == _local3) {
delete this.onEnterFrame;
if ((_root._mochiad instanceof MovieClip) != true) {
_root.play();
}
}
};
Symbol 11 MovieClip Frame 1
_x = (Stage.width / 2);
_y = ((Stage.height / 2) - 30);
Symbol 11 MovieClip Frame 39
stop();
var rate;
var all = _root.getBytesTotal();
onEnterFrame = function () {
var _local3 = _root.getBytesLoaded();
rate = int((_local3 / all) * 100) + "%";
mLoading._alpha = Math.round(SFM.linearCycle(getTimer(), 1000, 100));
if (_local3 == all) {
delete this.onEnterFrame;
if ((_root._mochiad instanceof MovieClip) != true) {
_root.play();
}
}
};
Symbol 332 MovieClip [__Packages.MochiAd] Frame 0
class MochiAd
{
function MochiAd () {
}
static function getVersion() {
return("2.3");
}
static function showPreGameAd(options) {
var _local27 = {clip:_root, ad_timeout:3000, fadeout_time:250, regpt:"o", method:"showPreloaderAd", color:16747008, background:16777161, outline:13994812, ad_started:function () {
this.clip.stop();
}, ad_finished:function () {
this.clip.play();
}, ad_failed:function () {
trace("[MochAd] Couldn't load an ad, make sure that your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software");
}, ad_loaded:function (width, height) {
}};
options = _parseOptions(options, _local27);
if ("5cc6f7dfb67f2f08341c831480f7c2a7".length == 0) {
options.ad_started();
options.ad_finished();
return(undefined);
}
var clip = options.clip;
var _local23 = 11000;
var _local26 = options.ad_timeout;
delete options.ad_timeout;
var fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!load(options)) {
options.ad_failed();
options.ad_finished();
return(undefined);
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var _local14 = _getRes(options);
var _local4 = _local14[0];
var _local13 = _local14[1];
mc._x = _local4 * 0.5;
mc._y = _local13 * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk._x = _local4 * -0.5;
chk._y = _local13 * -0.5;
var _local7 = chk.createEmptyMovieClip("_mochiad_bar", 4);
_local7._x = -2;
_local7._y = _local13 - 20;
var _local22 = options.color;
delete options.color;
var _local19 = options.background;
delete options.background;
var _local24 = options.outline;
delete options.outline;
var _local5 = _local7.createEmptyMovieClip("_outline", 1);
_local5.beginFill(_local19);
_local5.moveTo(0, 0);
_local5.lineTo(_local4 - 20, 0);
_local5.lineTo(_local4 - 20, 10);
_local5.lineTo(0, 10);
_local5.lineTo(0, 0);
_local5.endFill();
var _local3 = _local7.createEmptyMovieClip("_inside", 2);
_local3.beginFill(_local22);
_local3.moveTo(0, 0);
_local3.lineTo(_local4 - 20, 0);
_local3.lineTo(_local4 - 20, 10);
_local3.lineTo(0, 10);
_local3.lineTo(0, 0);
_local3.endFill();
_local3._xscale = 0;
var _local6 = _local7.createEmptyMovieClip("_outline", 3);
_local6.lineStyle(0, _local24, 100);
_local6.moveTo(0, 0);
_local6.lineTo(_local4 - 20, 0);
_local6.lineTo(_local4 - 20, 10);
_local6.lineTo(0, 10);
_local6.lineTo(0, 0);
chk.ad_msec = _local23;
chk.ad_timeout = _local26;
chk.started = getTimer();
chk.showing = false;
chk.last_pcnt = 0;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function () {
var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time));
if (_local2 > 0) {
this._parent._alpha = _local2;
} else {
var _local3 = this._parent._parent;
MochiAd.unload(_local3);
delete this.onEnterFrame;
}
};
mc.lc.adLoaded = options.ad_loaded;
mc.lc.adjustProgress = function (msec) {
var _local2 = this.mc._mochiad_wait;
_local2.server_control = true;
_local2.started = getTimer();
_local2.ad_msec = msec;
};
chk.onEnterFrame = function () {
var _local6 = this._parent._parent;
var _local12 = this._parent._mochiad_ctr;
var _local5 = getTimer() - this.started;
var _local3 = false;
var _local4 = _local6.getBytesTotal();
var _local8 = _local6.getBytesLoaded();
var _local10 = (100 * _local8) / _local4;
var _local11 = (100 * _local5) / chk.ad_msec;
var _local9 = this._mochiad_bar._inside;
var _local2 = Math.min(100, Math.min(_local10 || 0, _local11));
_local2 = Math.max(this.last_pcnt, _local2);
this.last_pcnt = _local2;
_local9._xscale = _local2;
if (!chk.showing) {
var _local7 = _local12.getBytesTotal();
if ((_local7 > 0) || (typeof(_local7) == "undefined")) {
chk.showing = true;
chk.started = getTimer();
} else if (_local5 > chk.ad_timeout) {
options.ad_failed();
_local3 = true;
}
}
if (_local5 > chk.ad_msec) {
_local3 = true;
}
if (((_local4 > 0) && (_local8 >= _local4)) && (_local3)) {
if (this.server_control) {
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = chk.fadeFunction;
}
}
};
}
static function showInterLevelAd(options) {
var _local13 = {clip:_root, ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showTimedAd", ad_started:function () {
this.clip.stop();
}, ad_finished:function () {
this.clip.play();
}, ad_failed:function () {
trace("[MochAd] Couldn't load an ad, make sure that your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software");
}, ad_loaded:function (width, height) {
}};
options = _parseOptions(options, _local13);
var clip = options.clip;
var _local10 = 11000;
var _local12 = options.ad_timeout;
delete options.ad_timeout;
var fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!load(options)) {
options.ad_failed();
options.ad_finished();
return(undefined);
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var _local5 = _getRes(options);
var _local14 = _local5[0];
var _local11 = _local5[1];
mc._x = _local14 * 0.5;
mc._y = _local11 * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk.ad_msec = _local10;
chk.ad_timeout = _local12;
chk.started = getTimer();
chk.showing = false;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function () {
var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time));
if (_local2 > 0) {
this._parent._alpha = _local2;
} else {
var _local3 = this._parent._parent;
MochiAd.unload(_local3);
delete this.onEnterFrame;
}
};
mc.lc.adLoaded = options.ad_loaded;
mc.lc.adjustProgress = function (msec) {
var _local2 = this.mc._mochiad_wait;
_local2.server_control = true;
_local2.started = getTimer();
_local2.ad_msec = msec - 250;
};
chk.onEnterFrame = function () {
var _local5 = this._parent._mochiad_ctr;
var _local4 = getTimer() - this.started;
var _local2 = false;
if (!chk.showing) {
var _local3 = _local5.getBytesTotal();
if ((_local3 > 0) || (typeof(_local3) == "undefined")) {
chk.showing = true;
chk.started = getTimer();
} else if (_local4 > chk.ad_timeout) {
options.ad_failed();
_local2 = true;
}
}
if (_local4 > chk.ad_msec) {
_local2 = true;
}
if (_local2) {
if (this.server_control) {
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = this.fadeFunction;
}
}
};
}
static function showTimedAd(options) {
trace("[MochiAd] DEPRECATED: showTimedAd was renamed to showInterLevelAd in 2.0");
showInterLevelAd(options);
}
static function showPreloaderAd(options) {
trace("[MochiAd] DEPRECATED: showPreloaderAd was renamed to showPreGameAd in 2.0");
showPreGameAd(options);
}
static function _allowDomains(server) {
var _local1 = server.split("/")[2].split(":")[0];
if (System.security) {
if (System.security.allowDomain) {
System.security.allowDomain("*");
System.security.allowDomain(_local1);
}
if (System.security.allowInsecureDomain) {
System.security.allowInsecureDomain("*");
System.security.allowInsecureDomain(_local1);
}
}
return(_local1);
}
static function _loadCommunicator(options) {
var _local26 = {clip:_root, com_server:"http://x.mochiads.com/com/1/", method:"loadCommunicator", depth:10337, id:"_UNKNOWN_"};
options = _parseOptions(options, _local26);
options.swfv = options.clip.getSWFVersion() || 6;
options.mav = getVersion();
var _local18 = options.clip;
var _local20 = "_mochiad_com_" + options.id;
if (!_isNetworkAvailable()) {
return(null);
}
if (_local18[_local20]) {
return(_local18[_local20].lc);
}
var _local21 = options.com_server + options.id;
_allowDomains(_local21);
delete options.id;
delete options.com_server;
var _local25 = options.depth;
delete options.depth;
var _local17 = _local18.createEmptyMovieClip(_local20, _local25);
var _local11 = _local17.createEmptyMovieClip("_mochiad_com", 1);
for (var _local15 in options) {
_local11[_local15] = options[_local15];
}
var _local6 = new LocalConnection();
var _local16 = ["", Math.floor(new Date().getTime()), random(999999)].join("_");
_local6.mc = _local17;
_local6.name = _local16;
_local6.allowDomain = function (d) {
return(true);
};
_local6.allowInsecureDomain = _local6.allowDomain;
_local6.connect(_local16);
_local17.lc = _local6;
_local11.lc = _local16;
_local6._id = 0;
_local6._queue = [];
_local6.rpcResult = function (cb_arg) {
var _local8 = parseInt(cb_arg);
var _local4 = this._callbacks[_local8];
if (!_local4) {
return(undefined);
}
delete this._callbacks[_local8];
var _local5 = [];
var _local3 = 2;
while (_local3 < _local4.length) {
_local5.push(_local4[_local3]);
_local3++;
}
_local3 = 1;
while (_local3 < arguments.length) {
_local5.push(arguments[_local3]);
_local3++;
}
var _local6 = _local4[1];
var _local7 = _local4[0];
if (_local7 && (typeof(_local6) == "string")) {
_local6 = _local7[_local6];
}
if (_local6) {
_local6.apply(_local7, _local5);
}
};
_local6._didConnect = function (endpoint) {
this._endpoint = endpoint;
var _local4 = this._queue;
delete this._queue;
var _local5 = this.doSend;
var _local2 = 0;
while (_local2 < _local4.length) {
var _local3 = _local4[_local2];
_local5.apply(this, _local3);
_local2++;
}
};
_local6.doSend = function (args, cbobj, cbfn) {
if (this._endpoint == null) {
var _local4 = [];
var _local3 = 0;
while (_local3 < arguments.length) {
_local4.push(arguments[_local3]);
_local3++;
}
this._queue.push(_local4);
return(undefined);
}
this._id = this._id + 1;
var _local5 = this._id;
if ((cbfn === undefined) || (cbfn === null)) {
cbfn = cbobj;
}
this._callbacks[_local5] = [cbobj, cbfn];
var _local7 = new LocalConnection();
var _local9 = _local7.send(this._endpoint, "rpc", _local5, args);
};
_local6._callbacks = {};
_local6._callbacks[0] = [_local6, "_didConnect"];
_local11.st = getTimer();
_local11.loadMovie(_local21 + ".swf", "POST");
return(_local6);
}
static function fetchHighScores(options, callbackObj, callbackMethod) {
var _local1 = _loadCommunicator({id:options.id});
if (!_local1) {
return(false);
}
var _local4 = ["fetchHighScores", options];
_local1.doSend(["fetchHighScores", options], callbackObj, callbackMethod);
return(true);
}
static function sendHighScore(options, callbackObj, callbackMethod) {
var _local1 = _loadCommunicator({id:options.id});
if (!_local1) {
return(false);
}
var _local4 = ["sendHighScore", options];
_local1.doSend(["sendHighScore", options], callbackObj, callbackMethod);
return(true);
}
static function load(options) {
var _local13 = {clip:_root, server:"http://x.mochiads.com/srv/1/", method:"load", depth:10333, id:"_UNKNOWN_"};
options = _parseOptions(options, _local13);
options.swfv = options.clip.getSWFVersion() || 6;
options.mav = getVersion();
var _local9 = options.clip;
if (!_isNetworkAvailable()) {
return(null);
}
if (_local9._mochiad_loaded) {
return(null);
}
var _local12 = options.depth;
delete options.depth;
var _local6 = _local9.createEmptyMovieClip("_mochiad", _local12);
var _local11 = _getRes(options);
options.res = (_local11[0] + "x") + _local11[1];
options.server = options.server + options.id;
delete options.id;
_local9._mochiad_loaded = true;
var _local4 = _local6.createEmptyMovieClip("_mochiad_ctr", 1);
for (var _local7 in options) {
_local4[_local7] = options[_local7];
}
var _local10 = _local4.server;
delete _local4.server;
var _local14 = _allowDomains(_local10);
_local6.onEnterFrame = function () {
if (this._mochiad_ctr._url != this._url) {
this.onEnterFrame = function () {
if (!this._mochiad_ctr) {
delete this.onEnterFrame;
MochiAd.unload(this._parent);
}
};
}
};
var _local5 = new LocalConnection();
var _local8 = ["", Math.floor(new Date().getTime()), random(999999)].join("_");
_local5.mc = _local6;
_local5.name = _local8;
_local5.hostname = _local14;
_local5.allowDomain = function (d) {
return(true);
};
_local5.allowInsecureDomain = _local5.allowDomain;
_local5.connect(_local8);
_local6.lc = _local5;
_local4.lc = _local8;
_local4.st = getTimer();
_local4.loadMovie(_local10 + ".swf", "POST");
return(_local6);
}
static function unload(clip) {
if (typeof(clip) == "undefined") {
clip = _root;
}
if (clip.clip && (clip.clip._mochiad)) {
clip = clip.clip;
}
if (!clip._mochiad) {
return(false);
}
clip._mochiad.removeMovieClip();
delete clip._mochiad_loaded;
delete clip._mochiad;
return(true);
}
static function _isNetworkAvailable() {
if (System.security) {
var _local1 = System.security;
if (_local1.sandboxType == "localWithFile") {
return(false);
}
}
return(true);
}
static function _getRes(options) {
var _local3 = options.clip.getBounds();
var _local2 = 0;
var _local1 = 0;
if (typeof(options.res) != "undefined") {
var _local4 = options.res.split("x");
_local2 = parseFloat(_local4[0]);
_local1 = parseFloat(_local4[1]);
} else {
_local2 = _local3.xMax - _local3.xMin;
_local1 = _local3.yMax - _local3.yMin;
}
if ((_local2 == 0) || (_local1 == 0)) {
_local2 = Stage.width;
_local1 = Stage.height;
}
return([_local2, _local1]);
}
static function _parseOptions(options, defaults) {
var _local4 = {};
for (var _local8 in defaults) {
_local4[_local8] = defaults[_local8];
}
if (options) {
for (var _local8 in options) {
_local4[_local8] = options[_local8];
}
}
if (_root.mochiad_options) {
var _local5 = _root.mochiad_options.split("&");
var _local2 = 0;
while (_local2 < _local5.length) {
var _local3 = _local5[_local2].split("=");
_local4[unescape(_local3[0])] = unescape(_local3[1]);
_local2++;
}
}
if (_local4.id == "test") {
trace("[MochiAd] WARNING: Using the MochiAds test identifier, make sure to use the code from your dashboard, not this example!");
}
return(_local4);
}
}
Symbol 333 MovieClip [__Packages.SFM] Frame 0
class SFM
{
function SFM () {
}
static function rdm_2(a, b) {
return((Math.random() * (b - a)) + a);
}
static function rdm_0(a, l) {
return(Math.round((a - (Math.random() * l)) + (l / 2)));
}
static function rdm_a(a1, a2, A) {
var _local3 = 0;
var _local5 = Math.random();
var _local4 = 0;
var _local2 = A.concat();
for (var _local6 in _local2) {
var _local1 = 0;
while (_local1 < Number(_local6)) {
_local2[_local6] = _local2[_local6] + _local2[_local1];
_local1++;
}
(_local3 < _local2[_local6]) && (_local3 = _local2[_local6]);
_local2[_local6] = _local2[_local6] / _local3;
if (_local5 >= _local2[_local6]) {
_local4 = Number(_local6) + 1;
break;
}
}
return(a1 + ((_local4 * (a2 - a1)) / (_local2.length - 1)));
}
static function formatNumber(_n, _d, _nMin, _nMax) {
_n = _n + _d;
if (_n < _nMin) {
_n = _nMin;
} else if (_n > _nMax) {
_n = _nMax;
}
return(_n);
}
static function distance(x0, y0, xt, yt) {
return(Math.sqrt(Math.pow(xt - x0, 2) + Math.pow(yt - y0, 2)));
}
static function side_min(x0, y0, xt, yt) {
return(Math.min(Math.abs(xt - x0), Math.abs(yt - y0)));
}
static function side_max(x0, y0, xt, yt) {
return(Math.max(Math.abs(xt - x0), Math.abs(yt - y0)));
}
static function Rfloor(r) {
if (r >= Math.PI) {
r = r - (Math.PI*2);
}
if (r <= -3.14159265358979) {
r = r + (Math.PI*2);
}
return(r);
}
static function Rfloor_n(r) {
if (r >= 180) {
r = r - 360;
}
if (r <= -180) {
r = r + 360;
}
return(r);
}
static function s_b(n, a, b) {
if ((a < n) && (n < b)) {
return(0);
}
if (n <= a) {
return(-1);
}
return(1);
}
static function vpNum(n, t) {
if (n == 0) {
return(0);
}
if (n > 0) {
return(((t != undefined) ? (t) : 1));
}
return(((t != undefined) ? (-t) : -1));
}
static function formatTime(n) {
var _local3;
var _local4;
var _local2;
if (n < 60) {
_local3 = 0;
_local4 = _local3;
_local2 = n;
} else if (n < 3600) {
_local3 = 0;
_local4 = Math.floor(n / 60);
_local2 = n % 60;
} else {
_local3 = Math.floor(n / 3600);
_local4 = Math.floor(n / 60) % 60;
_local2 = n % 60;
}
var _local7 = ((_local3 < 10) ? ("0" + _local3) : (_local3));
var _local6 = ((_local4 < 10) ? ("0" + _local4) : (_local4));
var _local5 = ((_local2 < 10) ? ("0" + _local2) : (_local2));
return((((_local7 + ":") + _local6) + ":") + _local5);
}
static function format_n(n, l) {
var _local1;
var _local3;
if (l != 0) {
if (l > 0) {
}
}
return(_local1);
}
static function nolinearCycle(x, T, r) {
var _local1 = T / 2;
var _local2 = (-r) / (_local1 * _local1);
return((_local2 * Math.pow((x % T) - _local1, 2)) + r);
}
static function linearCycle(x, T, r) {
var _local1 = T / 2;
if ((x % T) > _local1) {
return((1 - ((x % _local1) / _local1)) * r);
}
if ((x % T) < _local1) {
return(((x % _local1) / _local1) * r);
}
return(r);
}
static function coordinateConvert(mc1, mc2, x, y) {
var _local2 = new Object({x:((x != undefined) ? (x) : 0), y:((y != undefined) ? (y) : 0)});
mc1.localToGlobal(_local2);
if ((mc2 != undefined) && (mc2 != _root)) {
mc2.globalToLocal(_local2);
}
return(_local2);
}
static function addClip(sId, mC, oBject, nDepth) {
if (nDepth == undefined) {
nDepth = mC.getNextHighestDepth();
}
return(mC.attachMovie(sId, sId + nDepth, nDepth, oBject));
}
static function shield(_b, _m) {
if (_b) {
_m.createEmptyMovieClip("mEnabled", _m.getNextHighestDepth());
_m.mEnabled.hitArea = _root;
_m.mEnabled.enabled = false;
_m.mEnabled.onPress = function () {
};
} else {
delete _m.mEnabled.onPress;
_m.mEnabled.removeMovieClip();
}
updateAfterEvent();
}
static function parabolaRot(x0, y0, xt, yt, nV, nG) {
var _local5 = xt - x0;
var _local7 = yt - y0;
var _local2 = ((nG * _local5) * _local5) / ((2 * nV) * nV);
var _local1 = _local5;
var _local6 = _local2 - _local7;
var _local4 = (_local1 * _local1) - ((4 * _local2) * _local6);
if (_local4 < 0) {
return(undefined);
}
var _local3 = new Object();
if (_local5 > 0) {
_local3.x1 = Math.atan(((-_local1) - Math.sqrt(_local4)) / (2 * _local2));
_local3.x2 = Math.atan(((-_local1) + Math.sqrt(_local4)) / (2 * _local2));
} else {
_local3.x1 = Math.atan(((-_local1) - Math.sqrt(_local4)) / (2 * _local2)) - Math.PI;
_local3.x2 = Math.atan(((-_local1) + Math.sqrt(_local4)) / (2 * _local2)) - Math.PI;
}
return(_local3);
}
static function deepObjectCopy(obj) {
if ((((typeof(obj) != "object") || (obj instanceof Button)) || (obj instanceof TextField)) || (obj instanceof MovieClip)) {
return(obj);
}
var _local3;
if (obj instanceof Boolean) {
_local3 = new Boolean(Boolean.prototype.valueOf.call(obj));
} else if (obj instanceof Number) {
_local3 = new Number(Number.prototype.valueOf.call(obj));
} else if (obj instanceof String) {
_local3 = new String(String.prototype.valueOf.call(obj));
} else if (obj.__constructor__) {
if (typeof(obj.clone) == "function") {
_local3 = obj.clone();
if (_local3.__proto__ == obj.__proto__) {
return(_local3);
}
}
_local3 = new obj.__constructor__();
} else if (obj instanceof Array) {
_local3 = [];
} else {
_local3 = {};
}
for (var _local4 in obj) {
if (obj.hasOwnProperty(_local4)) {
_local3[_local4] = arguments.callee(obj[_local4]);
}
}
return(_local3);
}
static var R_PI = 57.2957795130823;
}
Symbol 334 MovieClip [__Packages._levelSelecter.LevelSelecter] Frame 0
class _levelSelecter.LevelSelecter extends MovieClip
{
static var levelSelecter, totalLevel, lso;
var dataArr;
function LevelSelecter () {
super();
levelSelecter = this;
}
function init(game_name) {
var levelNum = 0;
var _local2;
while (_local2 = this["btn" + (++levelNum)] , _local2) {
_local2.__set__levelNum(levelNum);
_local2.onSelectLevel = function () {
_levelSelecter.LevelSelecter.levelSelecter.onSelectLevel(this.levelNum);
};
}
totalLevel = --levelNum;
if (lso == null) {
lso = SharedObject.getLocal(game_name, "/");
if (!lso.data.dataArr) {
trace(game_name + " \u7B2C\u4E00\u6B21\u8BBE\u5B9A");
dataArr = new Array(totalLevel);
var _local3 = dataArr.length;
while (_local3-- , _local3 >= 0) {
dataArr[_local3] = true;
}
dataArr[0] = false;
lso.data.dataArr = dataArr;
}
}
dataArr = lso.data.dataArr;
while (levelNum > 0) {
this["btn" + levelNum].locked = isLocked(levelNum);
levelNum--;
}
}
function unlock(levelNum) {
if (levelNum > dataArr.length) {
trace("\u5173\u6570\u8D85\u51FA\u8303\u56F4");
return(undefined);
}
dataArr[levelNum - 1] = false;
lso.data.dataArr[levelNum - 1] = false;
}
function isLocked(levelNum) {
if (levelNum > dataArr.length) {
return(false);
}
return(dataArr[levelNum - 1]);
}
}
Symbol 335 MovieClip [__Packages._levelSelecter.Btn] Frame 0
class _levelSelecter.Btn extends MovieClip
{
var filters0, filters, btn, __levelNum, txt, __locked;
function Btn () {
super();
filters0 = filters;
locked = (true);
btn.onRelease = function () {
trace("???=================================");
this._parent.onSelectLevel(this.levelNum);
};
}
function get levelNum() {
return(__levelNum);
}
function set levelNum(_levelNum) {
txt.text = String((__levelNum = _levelNum));
//return(levelNum);
}
function set locked(_locked) {
if (__locked != _locked) {
__locked = _locked;
if (__locked) {
filters = filters0.concat([greyFilter]);
btn.enabled = false;
} else {
filters = filters0;
btn.enabled = true;
}
}
//return(locked);
}
function get locked() {
return(__locked);
}
static var greyFilter = new flash.filters.ColorMatrixFilter([0.15, 0.295, 0.055, 0, 0, 0.15, 0.295, 0.055, 0, 0, 0.15, 0.295, 0.055, 0, 0, 0, 0, 0, 1, 0]);
}
Symbol 14 MovieClip Frame 1
function isIn(domainName) {
return(((isInUrlFront(domainName) || (isInUrlFront("http://" + domainName))) || (isInUrlFront("http://www." + domainName))) || (isInUrlFront("www." + domainName)));
}
function isInUrlFront(str) {
var _local1 = _url;
_local1.toLowerCase();
str.toLowerCase();
return(_local1.indexOf(str) == 0);
}
_x = (Stage.width / 2);
_y = (Stage.height / 2);
this._visible = false;
if (((!bOpen) || (isIn("freeworldgroup.com"))) || (isIn("ifungames.com"))) {
_root.play();
} else {
this._visible = true;
_root.stop();
}
Symbol 36 MovieClip Frame 1
_x = (Stage.width / 2);
_y = (Stage.height / 2);
_root.stop();
onPress = function () {
getURL ("http://www.freeworldgroup.com/", "_blank");
};
Symbol 36 MovieClip Frame 145
Fade.start();
_root.gotoAndStop("frontpage");
Symbol 40 Button
on (press) {
gotoAndStop ("submit");
}
Symbol 45 Button
on (release) {
gotoAndStop ("submited");
}
Symbol 62 Button
on (release) {
viewHighscore();
}
Symbol 63 MovieClip Frame 1
stop();
_global.game_name = _game_name;
var highscore = eval (score_var);
_global.viewHighscore = function () {
getURL ("http://www.freeworldgroup.com/score/index.asp?game=" + game_name, "_blank");
};
if (highscore <= 0) {
this._visible = false;
}
trace(game_name);
trace(highscore);
trace("http://www.freeworldgroup.com/score/index.asp?game=" + game_name);
Symbol 63 MovieClip Frame 3
function sendData() {
send_var.game = game_name;
send_var.score = highscore;
send_var.name = name_txt.text;
if (send_var.name == "") {
send_var.name = "guest" + int(Math.random() * 1000);
}
send_var.sendAndLoad("http://www.freeworldgroup.com/score/score.asp", load_var, "POST");
gotoAndStop ("sending");
}
stop();
gold_txt.text = highscore;
send_var = new LoadVars();
load_var = new LoadVars();
ok_btn.onRelease = sendData;
load_var.onLoad = function () {
gotoAndStop ("done");
};
Symbol 74 Button
on (release) {
getURL ("http://www.freeworldgroup.com/koalafiles.htm", "_blank");
}
Symbol 75 Button
on (release) {
viewHighscore();
}
Symbol 77 Button
on (release) {
getURL ("http://www.ifungames.com", "_blank");
}
Symbol 79 Button
on (release) {
getURL ("http://www.freeworldgroup.com/", "_blank");
}
Symbol 84 Button
on (release) {
getURL ("http://www.freeworldgroup.com/", "_blank");
}
Symbol 87 Button
on (press) {
_global.pg = true;
_root.trans.play();
}
Symbol 96 Button
on (release) {
gotoAndPlay (2);
}
on (release) {
_root.soundstatus = "off";
}
on (release) {
_root.d01.gotoAndStop(1);
_root.d02.gotoAndStop(1);
}
Symbol 98 Button
on (release) {
gotoAndPlay (1);
}
on (release) {
_root.soundstatus = "on";
}
on (release) {
_root.d01.gotoAndPlay(1);
_root.d02.gotoAndPlay(1);
}
Symbol 99 MovieClip Frame 1
stop();
Symbol 99 MovieClip Frame 2
stop();
Symbol 105 MovieClip Frame 17
stop();
Symbol 106 MovieClip Frame 12
stop();
Symbol 109 MovieClip Frame 13
stop();
Symbol 110 MovieClip Frame 1
stop();
Symbol 110 MovieClip Frame 2
stop();
Instance of Symbol 115 MovieClip in Symbol 116 MovieClip Frame 1
onClipEvent (load) {
_root.soundstatus = "on";
_root.mySound = new Sound(_level0);
_root.mySound2 = new Sound(_level1);
_root.mySound3 = new Sound(_level2);
_root.mySound4 = new Sound(_level3);
_root.mySound5 = new Sound(_level4);
maxvolume = 100;
minvolume = 0;
}
onClipEvent (enterFrame) {
if (_root.soundstatus == "on") {
step = 5;
}
if (_root.soundstatus == "off") {
step = -5;
}
maxvolume = maxvolume + step;
if (maxvolume > 100) {
maxvolume = 100;
}
if (maxvolume < 0) {
maxvolume = 0;
}
_root.mySound.setVolume(maxvolume);
_root.mySound2.setVolume(maxvolume);
_root.mySound3.setVolume(maxvolume);
_root.mySound4.setVolume(maxvolume);
_root.mySound5.setVolume(maxvolume);
}
Symbol 118 MovieClip Frame 1
this.onRelease = function () {
getURL ("http://www.freeworldgroup.com", "_blank");
};
Symbol 153 MovieClip Frame 1
stop();
Symbol 153 MovieClip Frame 205
_root.gotoAndStop(_root._currentframe + 1);
Symbol 158 MovieClip Frame 15
stop();
Symbol 158 MovieClip Frame 30
if (_global.cr) {
_global.cr = false;
_root.gotoAndStop("credits");
} else if (_global.pg) {
_global.pg = false;
_root.gotoAndStop("selectlevel");
}
Symbol 163 MovieClip [_levelSelecter.Btn] Frame 1
#initclip 6
Object.registerClass("_levelSelecter.Btn", _levelSelecter.Btn);
#endinitclip
Symbol 164 MovieClip [_levelSelecter.LevelSelecter] Frame 1
#initclip 5
Object.registerClass("_levelSelecter.LevelSelecter", _levelSelecter.LevelSelecter);
#endinitclip
Symbol 165 MovieClip Frame 15
stop();
Symbol 165 MovieClip Frame 30
_global.first_entry = true;
trace(" \u663E\u793A\u5F53\u524D\u5E27 " + _root._currentframe);
trace(" \u663E\u793A_root.level " + _root.level);
trace(" _root.level+2 " + (_root.level + 2));
_root.gotoAndStop(_root.level + 7);
Symbol 193 Button
on (release) {
trace("\u6267\u884C\u4E86\u5417\uFF1F\uFF1F");
trace("_root.return_mc" + _root.return_mc._visible);
if (_root.return_mc._visible == false) {
_global.weitanchu = false;
Mouse.show();
_root.return_mc._visible = true;
_root.magnet._alpha = 0;
} else {
Mouse.hide();
_global.weitanchu = true;
_root.return_mc._visible = false;
}
}
Symbol 206 MovieClip Frame 1
this.useHandCursor = false;
Symbol 211 Button
on (release) {
Fade.start();
_global.weitanchu = true;
_root.gotoAndStop("frontpage");
}
Symbol 213 Button
on (release) {
_global.weitanchu = true;
this._visible = false;
}
Symbol 214 MovieClip Frame 1
stop();
Instance of Symbol 206 MovieClip in Symbol 214 MovieClip Frame 1
on (release) {
}
Symbol 218 MovieClip Frame 15
stop();
Symbol 218 MovieClip Frame 30
_root.gotoAndStop((_root._currentframe = _root._currentframe + 1));
Symbol 225 MovieClip Frame 15
stop();
Symbol 225 MovieClip Frame 30
_root.gotoAndStop((_root._currentframe = _root._currentframe + 1));
Instance of Symbol 228 MovieClip in Symbol 229 MovieClip Frame 1
onClipEvent (enterFrame) {
this._rotation = this._rotation + 1;
}
Symbol 272 MovieClip Frame 1
stop();
Symbol 272 MovieClip Frame 16
stop();
_root.wall.lock._y = _root.wall.lock._y + 1000;
Instance of Symbol 228 MovieClip in Symbol 273 MovieClip Frame 1
onClipEvent (enterFrame) {
this._rotation = this._rotation + 0.5;
}
Instance of Symbol 280 MovieClip in Symbol 281 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation + 2);
}
Instance of Symbol 288 MovieClip in Symbol 289 MovieClip Frame 1
onClipEvent (load) {
xv = random(5) + 5;
yv = random(5) + 5;
}
onClipEvent (enterFrame) {
_x = (_x + xv);
_y = (_y + yv);
if (_x > 250) {
xv = xv * -1;
_x = (_x - 5);
}
if (_x < -250) {
xv = xv * -1;
_x = (_x + 5);
}
if (_y > 200) {
yv = yv * -1;
_y = (_y - 5);
}
if (_y < -200) {
yv = yv * -1;
_y = (_y + 5);
}
}
Instance of Symbol 288 MovieClip in Symbol 289 MovieClip Frame 1
onClipEvent (load) {
xv = random(5) + 5;
yv = random(5) + 5;
}
onClipEvent (enterFrame) {
_x = (_x + xv);
_y = (_y + yv);
if (_x > 250) {
xv = xv * -1;
_x = (_x - 5);
}
if (_x < -250) {
xv = xv * -1;
_x = (_x + 5);
}
if (_y > 200) {
yv = yv * -1;
_y = (_y - 5);
}
if (_y < -200) {
yv = yv * -1;
_y = (_y + 5);
}
}
Instance of Symbol 288 MovieClip in Symbol 289 MovieClip Frame 1
onClipEvent (load) {
xv = random(5) + 5;
yv = random(5) + 5;
}
onClipEvent (enterFrame) {
_x = (_x + xv);
_y = (_y + yv);
if (_x > 250) {
xv = xv * -1;
_x = (_x - 5);
}
if (_x < -250) {
xv = xv * -1;
_x = (_x + 5);
}
if (_y > 200) {
yv = yv * -1;
_y = (_y - 5);
}
if (_y < -200) {
yv = yv * -1;
_y = (_y + 5);
}
}
Instance of Symbol 288 MovieClip in Symbol 289 MovieClip Frame 1
onClipEvent (load) {
xv = random(5) + 5;
yv = random(5) + 5;
}
onClipEvent (enterFrame) {
_x = (_x + xv);
_y = (_y + yv);
if (_x > 250) {
xv = xv * -1;
_x = (_x - 5);
}
if (_x < -250) {
xv = xv * -1;
_x = (_x + 5);
}
if (_y > 200) {
yv = yv * -1;
_y = (_y - 5);
}
if (_y < -200) {
yv = yv * -1;
_y = (_y + 5);
}
}
Instance of Symbol 288 MovieClip in Symbol 289 MovieClip Frame 1
onClipEvent (load) {
xv = random(5) + 5;
yv = random(5) + 5;
}
onClipEvent (enterFrame) {
_x = (_x + xv);
_y = (_y + yv);
if (_x > 250) {
xv = xv * -1;
_x = (_x - 5);
}
if (_x < -250) {
xv = xv * -1;
_x = (_x + 5);
}
if (_y > 200) {
yv = yv * -1;
_y = (_y - 5);
}
if (_y < -200) {
yv = yv * -1;
_y = (_y + 5);
}
}
Instance of Symbol 280 MovieClip in Symbol 297 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation + 0.2);
}
Symbol 314 MovieClip Frame 15
stop();
Symbol 314 MovieClip Frame 30
_root.gotoAndStop("youwin");
Symbol 319 Button
on (press) {
_root.trans.play();
}
Symbol 322 MovieClip Frame 15
stop();
Symbol 322 MovieClip Frame 30
_root.gotoAndStop("frontpage");
Symbol 327 Button
on (press) {
_root.trans.play();
}