Frame 100
if (_framesloaded == _totalframes) {
nextFrame();
} else {
gotoAndPlay (41);
}
Frame 101
gotoAndPlay (111);
Frame 111
i = "1";
while (i < "5") {
Set("/:name" add i, "huzzabox");
Set("/:score" add i, "0");
i = i + "1";
}
Frame 218
stop();
stop();
Frame 241
stop();
Frame 242
setProperty("/m_fail_mov", _visible , "0");
Set("/:score", "0");
setProperty("/m_drag", _alpha , "0");
startDrag ("/m_drag", true);
Set("/:ilives", "4");
Set("/:dx_box", (getProperty("/m_tanhuang", _y) - getProperty("/m_tanhuang", _height)) - getProperty("/i_hand", _y));
Set("/:mcounts", "0");
Set("/:totalball_counts", "0");
Set("/:minbox", "137");
Set("/:maxbox", "267");
Set("/:firstloop", "1");
livesloop = "1";
while (livesloop < "4") {
setProperty("/m_lives/m_live_" add livesloop, _visible , "1");
livesloop = livesloop + "1";
}
z = random("3") + "1";
x = "1";
while (x < "4") {
setProperty("/bg" add x, _visible , "0");
x = x + "1";
}
setProperty("/bg" add z, _visible , "1");
call("init_fuc");
Set("/:time", "60");
time_count = "1";
Set("/:blue_quantity", "0");
Set("/:green_quantity", "0");
Set("/:red_quantity", "0");
Set("/:yellow_quantity", "0");
Frame 248
if ("0" < /:totalball_counts) {
if (/:b_loop == "1") {
if ("0" < /:time_left) {
Set("/:time_left", /:time_left - "1");
} else {
Set("/:x_speed", "0");
Set("/:y_speed", "0");
}
if ("0" < /:hand_time) {
Set("/:hand_time", /:hand_time - "1");
} else {
tellTarget ("/i_hand_box") {
gotoAndStop (1);
};
}
ypos = getProperty("/m_drag", _y);
ball_left = getProperty("/ball", _x) - (getProperty("/ball", _width) / "2");
ball_right = getProperty("/ball", _x) + (getProperty("/ball", _width) / "2");
ball_top = getProperty("/ball", _y) - (getProperty("/ball", _height) / "2");
ball_bottom = getProperty("/ball", _y) + (getProperty("/ball", _height) / "2");
ball_y = getProperty("/ball", _y);
thisy = _y;
Set("/:iframe", "0");
if (/m_back/:top >= ypos) {
ypos = /m_back/:top;
}
if (ypos >= /m_tanhuang/:top) {
ypos = /m_tanhuang/:top;
}
iTmp = ((/m_tanhuang/:bottom - ypos) / /m_tanhuang/:height) * "100";
if ("510" < iTmp) {
iTmp = "510";
}
setProperty("/m_tanhuang", _yscale , iTmp);
setProperty("/i_hand", _y , (getProperty("/m_tanhuang", _y) - getProperty("/m_tanhuang", _height)) - /:dx_box);
setProperty("/i_hand_box", _y , getProperty("/i_hand", _y));
if (ball_bottom >= /m_back/:bottom) {
setProperty("/ball", _y , /m_back/:bottom - getProperty("/ball", _height));
Set("/:y_step", -/:y_step);
}
if (/m_back/:top >= ball_top) {
setProperty("/ball", _y , /m_back/:top + (getProperty("/ball", _height) / "2"));
Set("/:y_step", -/:y_step);
}
if (ball_right >= /m_back/:right) {
setProperty("/ball", _x , /m_back/:right - (getProperty("/ball", _width) / "2"));
Set("/:x_step", -/:x_step);
}
if (ball_left < /m_back/:left) {
Set("/:ilives", /:ilives - "1");
if ("0" < /:ilives) {
setProperty("/m_lives/m_live_" add /:ilives, _visible , "0");
call("init_fuc");
Set("/:b_loop", "0");
setProperty("/m_fail_mov", _visible , "1");
} else {
gotoAndStop (254);
}
}
if (ball_right >= /m4/:left) {
if ("0" < /:x_step) {
if (ball_right < /m3/:left) {
im = "4";
} else if (ball_right < /m2/:left) {
im = "3";
} else if (ball_right < /m1/:left) {
im = "2";
} else {
im = "1";
}
} else if (/:x_step < "0") {
if (/m2/:right < ball_left) {
im = "1";
} else if (/m3/:right < ball_left) {
im = "2";
} else if (/m4/:right < ball_left) {
im = "3";
} else {
im = "4";
}
}
} else {
im = "0";
}
if (im <> "0") {
iwall = "1";
totalballs = eval (("/m" add im) add "/:balls");
while (totalballs >= iwall) {
if ((ball_y >= eval (((("/m" add im) add "_") add iwall) add "/:w_top")) and (eval (((("/m" add im) add "_") add iwall) add "/:w_bottom") >= ball_y)) {
if ("0" < getProperty((("/m" add im) add "_") add iwall, _visible)) {
setProperty((("/m" add im) add "_") add iwall, _visible , "0");
if (eval (((("/m" add im) add "_") add iwall) add "/:i") == "4") {
Set("/:score", /:score + "150");
Set("/:green_quantity", /:green_quantity + "1");
}
if (eval (((("/m" add im) add "_") add iwall) add "/:i") == "3") {
Set("/:score", /:score + "100");
Set("/:blue_quantity", /:blue_quantity + "1");
}
if (eval (((("/m" add im) add "_") add iwall) add "/:i") == "2") {
Set("/:score", /:score + "200");
Set("/:yellow_quantity", /:yellow_quantity + "1");
tellTarget ("/i_hand_box") {
gotoAndStop (2);
};
}
if (eval (((("/m" add im) add "_") add iwall) add "/:i") == "1") {
Set("/:score", /:score + "50");
Set("/:red_quantity", /:red_quantity + "1");
tellTarget ("/i_hand_box") {
gotoAndStop (3);
};
}
Set("/:totalball_counts", /:totalball_counts - "1");
Set("/:x_step", -/:x_step);
} else if ("0" < /:y_step) {
if (totalballs >= (iwall + "1")) {
if (ball_bottom >= eval (((("/m" add im) add "_") add (iwall + "1")) add "/:w_top")) {
if ("0" < getProperty((("/m" add im) add "_") add (iwall + "1"), _visible)) {
Set("/:y_step", -/:y_step);
setProperty((("/m" add im) add "_") add (iwall + "1"), _visible , "0");
if (eval (((("/m" add im) add "_") add iwall) add "/:i") == "4") {
Set("/:score", /:score + "150");
Set("/:green_quantity", /:green_quantity + "1");
}
if (eval (((("/m" add im) add "_") add iwall) add "/:i") == "3") {
Set("/:score", /:score + "100");
Set("/:blue_quantity", /:blue_quantity + "1");
}
if (eval (((("/m" add im) add "_") add iwall) add "/:i") == "2") {
Set("/:score", /:score + "200");
Set("/:yellow_quantity", /:yellow_quantity + "1");
tellTarget ("/i_hand_box") {
gotoAndStop (2);
};
}
if (eval (((("/m" add im) add "_") add iwall) add "/:i") == "1") {
Set("/:score", /:score + "50");
Set("/:red_quantity", /:red_quantity + "1");
tellTarget ("/i_hand_box") {
gotoAndStop (3);
};
}
Set("/:totalball_counts", /:totalball_counts - "1");
}
}
}
} else if (/:y_step < "0") {
if ("1" >= (iwall - "1")) {
if (eval (((("/m" add im) add "_") add (iwall - "1")) add "/:w_bottom") >= ball_top) {
if ("0" < getProperty((("/m" add im) add "_") add (iwall - "1"), _visible)) {
Set("/:y_step", -/:y_step);
setProperty((("/m" add im) add "_") add (iwall - "1"), _visible , "0");
if (eval (((("/m" add im) add "_") add iwall) add "/:i") == "4") {
Set("/:score", /:score + "150");
Set("/:green_quantity", /:green_quantity + "1");
}
if (eval (((("/m" add im) add "_") add iwall) add "/:i") == "3") {
Set("/:score", /:score + "100");
Set("/:blue_quantity", /:blue_quantity + "1");
}
if (eval (((("/m" add im) add "_") add iwall) add "/:i") == "2") {
Set("/:score", /:score + "200");
Set("/:yellow_quantity", /:yellow_quantity + "1");
tellTarget ("/i_hand_box") {
gotoAndStop (2);
};
}
if (eval (((("/m" add im) add "_") add iwall) add "/:i") == "1") {
Set("/:score", /:score + "50");
Set("/:red_quantity", /:red_quantity + "1");
tellTarget ("/i_hand_box") {
gotoAndStop (3);
};
}
Set("/:totalball_counts", /:totalball_counts - "1");
}
}
}
}
iwall = totalballs + "1";
}
iwall = iwall + "1";
}
}
if ("0" < /:time_left) {
Set("/:time_left", /:time_left - "1");
}
if ((ball_top < (getProperty("/i_hand_box", _y) + (getProperty("/i_hand_box", _height) / "2"))) and ((getProperty("/i_hand_box", _y) - (getProperty("/i_hand_box", _height) / "2")) < ball_bottom)) {
if ((/:maxbox >= ball_left) and ((getProperty("/i_hand_box", _x) - "40") < ball_left)) {
if (/:mpress eq "release") {
setProperty("/i_hand_box", _x , /:maxbox);
Set("/:mpress", "unpress");
if (/:click == "0") {
Set("/:x_step", -/:x_step);
Set("/:click", "1");
Set("/:time_left", "500");
Set("/:x_speed", /:x_speed + "10");
Set("/:y_speed", /:y_speed + "10");
}
tmpheight1 = getProperty("/i_hand_box", _height) / "3";
boxtop = getProperty("i_hand_box", _y) - (getProperty("i_hand_box", _height) / "2");
boxbottom = getProperty("i_hand_box", _y) + (getProperty("i_hand_box", _height) / "2");
} else if ((/:mpress eq "unpress") or (/:mpress eq "press")) {
if ((getProperty("i_hand_box", _x) >= ball_left) and (/:x_step < o)) {
if (/:click == "0") {
Set("/:x_step", -/:x_step);
Set("/:click", "1");
}
tmpheight1 = getProperty("/i_hand_box", _height) / "3";
boxtop = getProperty("i_hand_box", _y) - (getProperty("i_hand_box", _height) / "2");
boxbottom = getProperty("i_hand_box", _y) + (getProperty("i_hand_box", _height) / "2");
}
}
} else {
if (/:click == "1") {
Set("/:click", "0");
}
if (/:mpress eq "release") {
setProperty("/i_hand_box", _x , /:maxbox);
Set("/:mpress", "unpress");
}
}
} else {
if (/:click == "1") {
Set("/:click", "0");
}
if (/:mpress eq "release") {
setProperty("/i_hand_box", _x , /:maxbox);
Set("/:mpress", "unpress");
}
}
if (/:x_step < "0") {
setProperty("/ball", _x , (getProperty("/ball", _x) + /:x_step) - /:x_speed);
} else {
setProperty("/ball", _x , (getProperty("/ball", _x) + /:x_step) + /:x_speed);
}
if (/:y_step < "0") {
setProperty("/ball", _y , (getProperty("/ball", _y) + /:y_step) - /:y_speed);
} else {
setProperty("/ball", _y , (getProperty("/ball", _y) + /:y_step) + /:y_speed);
}
}
} else {
gotoAndStop (255);
}
if (time_count == "30") {
Set("/:time", /:time - "1");
time_count = "1";
} else {
time_count = time_count + "1";
}
if (/:time == "0") {
gotoAndStop (254);
}
Frame 249
gotoAndPlay (248);
Frame 250
setProperty("/i_hand_box", _x , /:maxbox);
setProperty("/ball", _x , random("290") + "267");
Set("/:time_left", "0");
Set("/:hand_time", "0");
Set("/:x_step", "10");
Set("/:y_step", "3");
Set("/:x_speed", "0");
Set("/:y_speed", "0");
Set("/:mpress", "unpress");
Set("/:click", "0");
Set("/:b_loop", "1");
Frame 254
stop();
Set("/:time", "0");
Frame 261
gotoAndStop (262);
Frame 262
Set("/:blue_score", "100" * /:blue_quantity);
Set("/:green_score", "150" * /:green_quantity);
Set("/:red_score", "50" * /:red_quantity);
Set("/:yellow_score", "200" * /:yellow_quantity);
Set("/:total", ((((/:blue_score + /:green_score) + /:red_score) + /:yellow_score) + (/:ilives * "500")) + (/:time * "100"));
stop();
Frame 263
stop();
Frame 264
stop();
Symbol 14 MovieClip Frame 1
stop();
Symbol 14 MovieClip Frame 2
stop();
Symbol 14 MovieClip Frame 3
stop();
Symbol 14 MovieClip Frame 4
stop();
Symbol 14 MovieClip Frame 5
stop();
Symbol 14 MovieClip Frame 6
stop();
Symbol 14 MovieClip Frame 7
stop();
Symbol 14 MovieClip Frame 8
stop();
Symbol 14 MovieClip Frame 9
stop();
Symbol 14 MovieClip Frame 10
stop();
Symbol 14 MovieClip Frame 11
stop();
Symbol 14 MovieClip Frame 12
stop();
Symbol 14 MovieClip Frame 13
stop();
Symbol 14 MovieClip Frame 14
stop();
Symbol 14 MovieClip Frame 15
stop();
Symbol 14 MovieClip Frame 16
stop();
Symbol 14 MovieClip Frame 17
stop();
Symbol 14 MovieClip Frame 18
stop();
Symbol 14 MovieClip Frame 19
stop();
Symbol 14 MovieClip Frame 20
stop();
Symbol 14 MovieClip Frame 21
stop();
Symbol 14 MovieClip Frame 22
stop();
Symbol 14 MovieClip Frame 23
stop();
Symbol 14 MovieClip Frame 24
stop();
Symbol 14 MovieClip Frame 25
stop();
Symbol 14 MovieClip Frame 26
stop();
Symbol 14 MovieClip Frame 27
stop();
Symbol 14 MovieClip Frame 28
stop();
Symbol 14 MovieClip Frame 29
stop();
Symbol 14 MovieClip Frame 30
stop();
Symbol 14 MovieClip Frame 31
stop();
Symbol 14 MovieClip Frame 32
stop();
Symbol 14 MovieClip Frame 33
stop();
Symbol 14 MovieClip Frame 34
stop();
Symbol 14 MovieClip Frame 35
stop();
Symbol 14 MovieClip Frame 36
stop();
Symbol 14 MovieClip Frame 37
stop();
Symbol 14 MovieClip Frame 38
stop();
Symbol 14 MovieClip Frame 39
stop();
Symbol 14 MovieClip Frame 40
stop();
Symbol 74 Button
on (release) {
gotoAndPlay (242);
}
Symbol 75 Button
on (release) {
gotoAndPlay (241);
}
Symbol 125 MovieClip Frame 1
left = _x - (_width / "2");
right = _x + (_width / "2");
top = _y - (_height / "2");
bottom = _y + (_height / "2");
stop();
Symbol 133 MovieClip Frame 1
Set("/:mcounts", /:mcounts + "1");
Set("/:m" add /:mcounts, _target);
left = _x - (_width / "2");
right = _x + (_width / "2");
top = _y - (_height / "2");
bottom = _y + (_height / "2");
stop();
Symbol 137 MovieClip Frame 1
stop();
Symbol 140 MovieClip Frame 1
stop();
Symbol 143 MovieClip Frame 1
stop();
Symbol 146 MovieClip Frame 1
stop();
Symbol 147 MovieClip Frame 1
i = random("4") + "1";
this_x = _x;
this_y = _y;
this_height = _height;
this_width = _width;
w_right = this_x + (this_width / "2");
w_left = this_x - (this_width / "2");
w_top = this_y - (this_height / "2");
w_bottom = this_y + (this_height / "2");
Set("/:totalball_counts", /:totalball_counts + "1");
if (i == "1") {
gotoAndStop (7);
} else if (i == "2") {
gotoAndStop (12);
} else if (i == "3") {
gotoAndStop (19);
} else if (i == "4") {
gotoAndStop (25);
}
j = "1";
while (/:mcounts >= j) {
if ((eval (eval ("/:m" add j) add "/:left") < this_x) and (this_x < eval (eval ("/:m" add j) add "/:right"))) {
k = j;
j = /:mcounts + "1";
} else {
j = j + "1";
}
}
Set(("/m" add k) add "/:balls", eval (("/m" add k) add "/:balls") + "1");
vtmp = eval (("/m" add k) add "/:balls");
Set((("/m" add k) add "/:ball") add vtmp, _target);
Symbol 147 MovieClip Frame 7
stop();
Symbol 147 MovieClip Frame 12
stop();
Symbol 147 MovieClip Frame 19
stop();
Symbol 147 MovieClip Frame 25
stop();
Symbol 152 MovieClip Frame 1
stop();
Symbol 162 MovieClip Frame 1
top = _y - _height;
height = _height;
bottom = _y;
stop();
Symbol 168 MovieClip Frame 1
stop();
Symbol 168 MovieClip Frame 2
Set("/:hand_time", "200");
stop();
Symbol 168 MovieClip Frame 3
Set("/:hand_time", "200");
stop();
Symbol 180 Button
on (press, dragOver) {
Set("/:mpress", "press");
if (/:minbox < getProperty("/i_hand_box", _x)) {
setProperty("/i_hand_box", _x , getProperty("/i_hand_box", _x) - "5");
}
}
on (release) {
Set("/:mpress", "release");
}
Symbol 182 MovieClip Frame 30
_visible = "0";
Set("/:b_loop", "1");
Symbol 192 MovieClip Frame 34
tellTarget ("/") {
gotoAndPlay ("goto");
};
stop();
Symbol 197 MovieClip Frame 35
tellTarget ("/") {
gotoAndPlay ("goto");
};
stop();
Symbol 207 Button
on (release) {
i = "1";
Set("/:chang", "0");
while (i < "5") {
if (eval ("/:score" add i) < /:total) {
Set("/:chang", "1");
}
i = i + "1";
}
if (/:chang == "1") {
gotoAndStop (263);
} else {
gotoAndStop (264);
}
}
Symbol 220 Button
on (keyPress "<Enter>") {
i = "1";
Set("/:chang", "0");
while (i < "5") {
if (eval ("/:score" add i) < /:total) {
Set("/:chang", "1");
}
i = i + "1";
}
if (/:chang == "1") {
gotoAndStop (263);
} else {
gotoAndStop (264);
}
}
Symbol 231 Button
on (release) {
i = "1";
temp = /:total;
t_name = /:your_name;
while (i < "5") {
if (eval ("/:score" add i) < temp) {
temp_a = eval ("/:score" add i);
Set("/:score" add i, temp);
temp = temp_a;
temp_name = eval ("/:name" add i);
Set("/:name" add i, t_name);
t_name = temp_name;
}
i = i + "1";
}
gotoAndStop (264);
}
Symbol 233 Button
on (keyPress "<Enter>") {
i = "1";
temp = /:total;
t_name = /:your_name;
while (i < "5") {
if (eval ("/:score" add i) < temp) {
temp_a = eval ("/:score" add i);
Set("/:score" add i, temp);
temp = temp_a;
temp_name = eval ("/:name" add i);
Set("/:name" add i, t_name);
t_name = temp_name;
}
i = i + "1";
}
gotoAndStop (264);
}
Symbol 235 Button
on (release) {
fscommand ("close");
}