Frame 1
stop();
Symbol 20 MovieClip Frame 1
function dup() {
maxi = 10;
i = maxi;
while (0 < i) {
duplicateMovieClip ("vg", "v" add i, i);
eval ("v" add i)._alpha = (40 / maxi) * i;
eval ("v" add i)._x = vg._x - i;
i--;
}
}
function effect() {
maxi = 10;
i = maxi;
while (0 < i) {
eval ("v" add i)._alpha = ((40 / maxi) * i) - (dx * 3);
eval ("v" add i)._x = eval ("v" add i)._x + (Math.random(4) - 1);
i--;
}
}
stop();
Instance of Symbol 19 MovieClip in Symbol 20 MovieClip Frame 1
onClipEvent (load) {
_parent.dup();
}
onClipEvent (load) {
if (_parent.dx < 30) {
_parent.effect();
_parent.dx++;
} else {
_parent.dx = 0;
}
}
Symbol 24 MovieClip Frame 1
function dup() {
maxi = 10;
i = maxi;
while (0 < i) {
duplicateMovieClip ("vg", "v" add i, i);
eval ("v" add i)._alpha = (40 / maxi) * i;
eval ("v" add i)._x = vg._x - i;
i--;
}
}
function effect() {
maxi = 10;
i = maxi;
while (0 < i) {
eval ("v" add i)._alpha = ((40 / maxi) * i) - (dx * 3);
eval ("v" add i)._x = eval ("v" add i)._x + (Math.random(4) - 1);
i--;
}
}
stop();
Instance of Symbol 19 MovieClip in Symbol 24 MovieClip Frame 1
onClipEvent (load) {
_parent.dup();
}
onClipEvent (load) {
if (_parent.dx < 30) {
_parent.effect();
_parent.dx++;
} else {
_parent.dx = 0;
}
}
Symbol 36 MovieClip Frame 1
_root.manmode = 0;
Symbol 36 MovieClip Frame 17
gotoAndPlay (1);
Symbol 36 MovieClip Frame 19
_root.manmode = 2;
Symbol 36 MovieClip Frame 26
_root.manmode = 1;
Symbol 36 MovieClip Frame 30
gotoAndPlay (1);
Symbol 36 MovieClip Frame 37
if (_parent.movelen < _parent.maxmove) {
_parent.movelen = _parent.movelen + 5;
_parent.nett();
}
Symbol 36 MovieClip Frame 41
gotoAndPlay (1);
Symbol 36 MovieClip Frame 57
_root.mmm.gotoAndStop("dear");
stop();
Symbol 38 MovieClip Frame 1
function bgdup() {
}
function level1() {
_root.level = 1;
vman.gotoAndPlay(1);
_root.kill.gotoAndStop(1);
init();
}
function level2() {
_root.level = 2;
vman.gotoAndPlay(1);
_root.kill.gotoAndStop(2);
init();
}
function level3() {
_root.level = 3;
vman.gotoAndPlay(1);
_root.kill.gotoAndStop(3);
init();
}
function init() {
_quality = "MEDIUM";
_root.sttime = getTimer();
_root.time = 0;
_root.score = 0;
bg._visible = 0;
movecx = 0;
maxmove = 90;
if (_root.level == 1) {
minimove = 30;
} else if (_root.level == 2) {
minimove = 40;
} else if (_root.level == 3) {
minimove = 50;
}
movelen = minimove + 0.1;
mcl = 1250;
maxi = 50;
_root.manmode = 0;
zobject = new Array();
i = maxi;
while (i >= 1) {
zobject[i] = random(_root.level + 1) + 1;
i--;
}
zobject[0] = 0;
duplicateMovieClip ("man", "vman", 1000);
i = maxi;
while (i >= 0) {
duplicateMovieClip ("bg", "b" add i, 200 - i);
duplicateMovieClip ("bbg", "bb" add i, 2000 - i);
eval ("b" add i)._x = bg._x + (i * mcl);
eval ("bb" add i)._x = bg._x + (i * mcl);
this.attachMovie("f" add zobject[i], "w" add i, 400 + i);
eval ("w" add i)._x = (((bg._x / 2) + (i * mcl)) + random(200)) - 100;
eval ("w" add i)._y = 120;
i--;
}
stopAllSounds();
soundplay();
man._visible = 0;
man.stop();
nett();
}
function soundplay() {
_root.bgsound = new Sound();
_root.bgsound.attachSound("bgsound");
_root.bgsound.start(0, 1000);
}
function bgmove() {
if ((_root.manmode == 0) && (Key.isDown(38))) {
vman.gotoAndPlay(18);
_root.manmode = 1;
} else if ((_root.manmode == 0) && (Key.isDown(39))) {
vman.gotoAndPlay(31);
_root.manmode = 1;
} else if ((_root.manmode == 0) && (Key.isDown(37))) {
if (minimove < movelen) {
movelen = movelen - 5;
nett();
}
vman.gotoAndPlay(2);
_root.manmode = 1;
}
movetime = getTimer();
i = maxi;
while (i >= 0) {
eval ("b" add i)._x = dabase[i] - (movecx * movelen);
eval ("bb" add i)._x = dabase[i] - (movecx * movelen);
d = wabase[i] - (movecx * movelen);
eval ("w" add i)._x = d;
cdr = zobject[i];
trace("d=" add d);
if ((((cdr == 4) && (-400 < d)) && (d < -170)) && (_root.manmode != 2)) {
dear();
} else if ((((0 < cdr) && (-220 < d)) && (d < -170)) && (_root.manmode != 2)) {
dear();
} else if ((((0 < cdr) && (-220 < d)) && (d < -170)) && (_root.manmode == 2)) {
acc();
}
i--;
}
if (minimove < movelen) {
movelen = movelen - 0.1;
nett();
}
movecx++;
_root.time = 50 - ((getTimer() - _root.sttime) / 1000);
if (_root.time < 0) {
dear();
_root.time = 0;
} else if (((5 < _root.score) && (_root.level == 1)) && (_root.manmode == 0)) {
win();
} else if (((8 < _root.score) && (_root.level == 2)) && (_root.manmode == 0)) {
win();
} else if (((12 < _root.score) && (_root.level == 3)) && (_root.manmode == 0)) {
win();
}
_root.speed = int(movelen);
}
function win() {
vman.gotoAndStop(1);
_root.sttime = getTimer();
_root.time = 0;
_root.score = 0;
_root.startmode = 0;
_root.speed = "";
_root.mmm.play();
}
function nett() {
dabase = new Array();
wabase = new Array();
i = maxi;
while (i >= 0) {
dabase[i] = eval ("b" add i)._x;
wabase[i] = eval ("w" add i)._x;
i--;
}
_root.biao.gotoAndStop(int(movelen));
movecx = 0;
}
function dear() {
_root.startmode = 0;
_root.speed = "";
vman.gotoAndPlay("dear");
}
function acc() {
_root.score++;
}
Instance of Symbol 37 MovieClip in Symbol 38 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.startmode == 1) {
_parent.bgmove();
}
}
Symbol 44 MovieClip Frame 1
stop();
Symbol 55 Button
on (release) {
_root.startmode = 1;
_root.game.level1();
gotoAndStop (7);
}
Symbol 59 MovieClip Frame 5
stop();
Symbol 62 Button
on (release) {
play();
}
Symbol 64 Button
on (release) {
play();
}
Symbol 68 Button
on (release) {
getURL ("http://www.motorola.com.cn/club/motTENCENT/T190Game.asp", "_self");
}
Symbol 70 Button
on (release) {
fscommand ("quit");
getURL ("javascript:window.close()");
}
Symbol 77 Button
on (release) {
_parent.pp();
}
Symbol 82 Button
on (release) {
_parent.pp();
}
Symbol 86 Button
on (release) {
_parent.pp();
}
Symbol 87 MovieClip Frame 46
if (_root.level == 2) {
gotoAndPlay (61);
} else if (_root.level == 3) {
gotoAndPlay (77);
}
Symbol 87 MovieClip Frame 59
stop();
Symbol 87 MovieClip Frame 75
stop();
Symbol 87 MovieClip Frame 94
stop();
Symbol 88 MovieClip Frame 1
function pp() {
_root.startmode = 1;
_root.game.level1();
gotoAndStop (7);
}
stop();
stop();
Symbol 88 MovieClip Frame 7
stop();
Symbol 88 MovieClip Frame 16
stop();
Symbol 88 MovieClip Frame 17
rr.Play();
Symbol 88 MovieClip Frame 23
_root.startmode = 1;
_root.game.level2();
stop();
Symbol 88 MovieClip Frame 31
stop();
Symbol 88 MovieClip Frame 32
rr.Play();
Symbol 88 MovieClip Frame 38
_root.startmode = 1;
_root.game.level3();
stop();
Symbol 88 MovieClip Frame 43
stop();
Symbol 88 MovieClip Frame 49
stopAllSounds();
stop();