STORY   LOOP   FURRY   PORN   GAMES
• C •   SERVICES [?] [R] RND   POPULAR
Archived flashes:
228138
/disc/ · /res/     /show/ · /fap/ · /gg/ · /swf/P0001 · P2561 · P5122

<div style="position:absolute;top:-99px;left:-99px;"><img src="http://swfchan.com:57475/71787034?noj=FRM71787034-17DC" width="1" height="1"></div>

Soccofobia 2.0.swf

This is the info page for
Flash #48056

(Click the ID number above for more basic data on this flash file.)


Text
You succesfully completed the challenge!

Survive for one whole minute
with 5 balls on the field.

Collect 5 "golden" names of
all time soccer heroes.

Collect orange pills and hunt
down 10 balls.

Score as many points as you
can in 5 minutes. Use red pills!

Collect 11 pills to dope up your
team. Colour doesn't matter.

Last long enough for 25 balls
to hit one of the goals.

Pick a challenge
before you start!

Boosts your speed.

Protects you from the balls.

Freezes the balls. > ouch!<

Hunt the balls for extra pojnts.

hunt

freeze

shield

speed

challenge

SoccoFobia 2.0

Start

Start

Run for the ball!

...or actually: Run away from it.

<p align="center"><font face="Impact" size="12" color="#ffffff" letterSpacing="0.000000" kerning="0"><a href="http://www.onwijs.com" target = "_blank">www.onwijs.com</a></font></p>

Try to avoid the balls as long as you can.
Use the arrow keys to change direction.
Collect the 'Golden Players' for bonus points.
Pick up doping for special boosts.

normal

easy

easy

hard

Sound On

Sound Off

v2.1

Score:

Hi-Score:

Dodgeball

Hardcore Fan

The Hunter

Speed Freak

Soccer Junkie

Top Scorer

Menu

Menu

Game Over!

More fun with balls:

<p align="center"><font face="Impact" size="20" color="#ffffff" letterSpacing="0.000000" kerning="0"><a href="http://www.onwijs.com/e_soccersaver.html" target = "_blank"><i>SoccerSaver 3.6</i></a></font></p>

<p align="center"><font face="Impact" size="14" color="#ffffff" letterSpacing="0.000000" kerning="0"><a href="http://www.onwijs.com/e_soccersaver.html" target = "_blank">More info &gt;&gt;</a></font></p>

Highscore list

Highscore list

ActionScript [AS1/AS2]

Frame 1
var test = false; var lock = false; var kong = false; MochiAd.showPreGameAd({id:"a2c2cfaea3d08e36", res:"420x340", background:6592036, color:4744214, outline:3295250, no_bg:true}); if (kong == true) { _root.kongregateServices.connect(); _root.kongregateScores.setMode("Normal"); } onEnterFrame = function () { urlStart = _url.indexOf("://") + 3; urlEnd = _url.indexOf("/", urlStart); domain = _url.substring(urlStart, urlEnd); LastDot = domain.lastIndexOf(".") - 1; domEnd = domain.lastIndexOf(".", LastDot) + 1; domain = domain.substring(domEnd, domain.length); if (((domain != "onwijs.com") & (domain != "flashgamelicense.com")) & (lock == true)) { _root._x = 50000; _root._y = 40000; this.unloadMovie(); } };
Frame 2
function rand_Range(min, max) { var _local1 = Math.floor(Math.random() * ((max - min) + 1)) + min; return(_local1); } function limit(val, min, max) { if (val < min) { return(min); } if (val > max) { return(max); } return(val); } function make_rgb(rr, gg, bb) { return((((rr * 256) + gg) * 256) + bb); } function even(ii) { if (ii < 0) { ii--; } if ((ii / 2) == Math.floor(ii / 2)) { return(true); } return(false); } function odd(ii) { if (ii < 0) { ii--; } if ((ii / 2) == Math.floor(ii / 2)) { return(false); } return(true); } function get_Distance(dx, dy) { var _local2 = dx * dx; var _local1 = dy * dy; return(Math.sqrt(_local2 + _local1)); } function replace_Char(ch, dest, pp) { var _local2 = (dest.substr(0, pp) + ch) + dest.substr(pp + 1, (dest.length - pp) - 1); return(_local2); } function hex(vv) { var _local1 = "0123456789abcdef"; var _local4 = Math.floor(vv / 16); var _local2 = vv % 16; var _local3 = _local1.substr(_local4, 1) + _local1.substr(_local2, 1); return(_local3); } function colorStr(rr, gg, bb) { var _local1 = (("0x" + hex(rr)) + hex(gg)) + hex(bb); return(_local1); } function draw_Rectangle(x1, y1, x2, y2, target_mc) { with (target_mc) { moveTo(x1, y1); lineTo(x2, y1); lineTo(x2, y2); lineTo(x1, y2); lineTo(x1, y1); } } function draw_Circle(xx, yy, radius, target_mc) { with (target_mc) { var tt = (0.414213562373095 * radius); var ss = (0.707106781186547 * radius); moveTo(xx + radius, yy); curveTo(radius + xx, tt + yy, ss + xx, ss + yy); curveTo(tt + xx, radius + yy, xx, radius + yy); curveTo((-tt) + xx, radius + yy, (-ss) + xx, ss + yy); curveTo((-radius) + xx, tt + yy, (-radius) + xx, yy); curveTo((-radius) + xx, (-tt) + yy, (-ss) + xx, (-ss) + yy); curveTo((-tt) + xx, (-radius) + yy, xx, (-radius) + yy); curveTo(tt + xx, (-radius) + yy, ss + xx, (-ss) + yy); curveTo(radius + xx, (-tt) + yy, radius + xx, yy); } } function draw_Ellipse(xx, yy, xradius, yradius, target_mc) { with (target_mc) { var mm = ((xradius + yradius) * 4); var px; var py; var tt = 0; while (tt < mm) { px = xx + (xradius * Math.sin(((Math.PI * tt) * 2) / mm)); py = yy - (yradius * Math.cos(((Math.PI * tt) * 2) / mm)); if (tt == 0) { moveTo(px, py); } else { lineTo(px, py); } tt++; } } } function draw_solid_Ellipse(xx, yy, xradius, yradius, col, target_mc) { with (target_mc) { lineStyle(1, col, 50); beginFill(col, 100); var mm = ((xradius + yradius) * 4); var px; var py; var tt = 0; while (tt < mm) { px = xx + (xradius * Math.sin(((Math.PI * tt) * 2) / mm)); py = yy - (yradius * Math.cos(((Math.PI * tt) * 2) / mm)); if (tt == 0) { moveTo(px, py); } else { lineTo(px, py); } tt++; } endFill(); } } function draw_Quart1(xx, yy, radius, target_mc) { with (target_mc) { var tt = (0.414213562373095 * radius); var ss = (0.707106781186547 * radius); moveTo(xx + radius, yy); curveTo(radius + xx, tt + yy, ss + xx, ss + yy); curveTo(tt + xx, radius + yy, xx, radius + yy); } } function draw_Pill(x1, y1, x2, y2, target_mc) { with (target_mc) { var radius = ((y2 - y1) / 2); var xx = (x1 + radius); var yy = (y1 + radius); var tt = (0.414213562373095 * radius); var ss = (0.707106781186547 * radius); moveTo(xx, yy + radius); curveTo(xx - tt, yy + radius, xx - ss, yy + ss); curveTo(xx - radius, yy + tt, xx - radius, yy); curveTo(xx - radius, yy - tt, xx - ss, yy - ss); curveTo(xx - tt, yy - radius, xx, yy - radius); xx = x2 - radius; lineto(xx, yy - radius); curveTo(xx - tt, yy - radius, xx, yy - radius); curveTo(xx + tt, yy - radius, xx + ss, yy - ss); curveTo(xx + radius, yy - tt, xx + radius, yy); curveTo(xx + radius, yy + tt, xx + ss, yy + ss); curveTo(xx + tt, yy + radius, xx, yy + radius); xx = x1 + radius; lineTo(xx, yy + radius); } } function draw_Ellipsoid(x1, y1, x2, y2, bol, target_mc) { var cx = ((x1 + x2) / 2); var cy = ((y1 + y2) / 2); var dx = ((y2 - y1) / 2); var dy = ((y2 - y1) / 2); var d1 = ((y2 - y1) / 12); var d2 = ((y2 - y1) / 8); if (bol != "Top") { d1 = 0; } if (bol != "Bottom") { d2 = 0; } with (target_mc) { moveTo(x1, y1 + dy); curveTo(x1, y1 + d1, x1 + dx, y1 + d1); curveTo(cx, y1 - d1, x2 - dx, y1 + d1); curveTo(x2, y1 + d1, x2, y1 + dy); lineTo(x2, y2 - dy); curveTo(x2, y2 - d2, x2 - dx, y2 - d2); curveTo(cx, y2 + d2, x1 + dx, y2 - d2); curveTo(x1, y2 - d2, x1, y2 - dy); lineTo(x1, y1 + dy); } } function draw_Segment(cx, cy, rad_x, rad_y, start_angle, end_angle, target_mc) { var xx; var yy; var mm = (rad_x + rad_y); var t1 = ((start_angle * mm) / 360); var t2 = ((end_angle * mm) / 360); with (target_mc) { var tt = t1; while (tt < t2) { xx = cx + (rad_x * Math.sin(((tt * Math.PI) * 2) / mm)); yy = cy - (rad_y * Math.cos(((tt * Math.PI) * 2) / mm)); if (tt == t1) { moveTo(xx, yy); } else { lineTo(xx, yy); } tt++; } xx = cx + (rad_x * Math.sin(((t2 * Math.PI) * 2) / mm)); yy = cy - (rad_y * Math.cos(((t2 * Math.PI) * 2) / mm)); lineTo(xx, yy); } x_pos = xx; y_pos = yy; } function scale_rect(sBmp, dBmp, x1, y1, w1, h1, x2, y2, w2, h2) { var _local2 = new flash.display.BitmapData(w1, h1, true, 0); var _local1 = new flash.display.BitmapData(w1, h1, true, 0); _local2.copyPixels(sBmp, new flash.geom.Rectangle(x1, y1, x1 + w1, y1 + h1), new flash.geom.Point(0, 0)); _local1.draw(_local2, new flash.geom.Matrix(w2 / w1, 0, 0, h2 / h1)); dBmp.copyPixels(_local1, new flash.geom.Rectangle(0, 0, w2, h2), new flash.geom.Point(x2, y2)); _local2.dispose; _local1.dispose; } function merge_clip(w_mc) { with (w_mc) { var tmp_bmp = (new flash.display.BitmapData(_width, _height, true, 0)); var myMatrix = (new flash.geom.Matrix()); myMatrix.rotate(0); var translateMatrix = (new flash.geom.Matrix()); translateMatrix.translate(0, 0); myMatrix.concat(translateMatrix); var myCtfm = (new flash.geom.ColorTransform(1, 1, 1, 1, 0, 0, 0, 0)); var blendMode = "normal"; var myRectangle = (new flash.geom.Rectangle(0, 0, _width, _height)); var smooth = true; tmp_bmp.draw(w_mc, myMatrix, myCtfm, blendMode, myRectangle, smooth); clear(); attachBitmap(tmp_bmp, 0); } } function show_lives() { tt = 0; while (tt < lives) { with (this["lives_mc" + tt]) { _visible = true; _x = (210 - (((lives + 1) * x_size) * 0.2)) + ((tt * x_size) * 0.4); } tt++; } } function setup_Ball(tt) { this["ball_mc" + tt]._alpha = 100; this["bshad_mc" + tt]._alpha = 100; this["ball_mc" + tt]._y = 400; this["bshad_mc" + tt]._y = 400; bx[tt] = rand_Range(32, 356); by[tt] = rand_Range(300, 328); if (rand_Range(0, 1) == 0) { aa[tt] = rand_Range(15, 75); } else { aa[tt] = rand_Range(285, 345); } bspeed[tt] = 4 + (tt / 2); b_dx[tt] = bspeed[tt] * Math.sin((aa[tt] * Math.PI) / 180); b_dy[tt] = (-bspeed[tt]) * Math.cos((aa[tt] * Math.PI) / 180); bmax[tt] = rand_Range(6, 12); bbounce[tt] = rand_Range(0, bmax[tt]); bframe[tt] = rand_Range(0, 20); } function setup_Player() { with (player_mc) { _x = rand_Range(40, 240); _y = rand_Range(24, 96); _xscale = 100; _yscale = 100; var dx = (-dia); var dy = dia; _alpha = 100; } pshadow_mc._alpha = 100; } function new_naam() { with (naam_mc) { txt.text = bword; _xscale = 100; _yscale = 100; _y = 304; _x = 210 - (_width / 2); _visible = false; _alpha = 0; } if (bonus > 3) { bonus = 0; } } function add_back(ww, hh, target_mc) { with (target_mc) { lineStyle(1, 16777215, 0); beginFill(16777215, 0); moveTo(0, 0); lineTo(ww, 0); lineTo(ww, hh); lineTo(0, hh); lineTo(0, 0); endFill(); } } function setup_Game() { score = 0; fcount = 0; score_count = 0; level_count = 0; num = 1; key_count = 0; wplayer = 0; oplayer = 0; shield_count = 0; speed_count = 0; freeze_count = 0; hunt_count = 0; boost_count = 0; lives = 3; goal = 0; hunt = 0; dia = 3.2; start_time = getTimer(); cur_time = 0; if (niv > 3) { niv = 2; switch (chal) { case 1 : num = 5; chal_txt.text = "1:00"; break; case 2 : name_count = 0; chal_txt.text = "0 / 5"; break; case 3 : ball_count = 0; chal_txt.text = "0 / 10"; break; case 4 : chal_txt.text = "5:00"; break; case 5 : break; case 6 : chal_txt.text = "0 / 25"; } chal_txt._visible = true; } if (chal == 0) { hi_txt.text = soc_so.data["hi_Score" + niv]; } else { hi_txt.text = soc_so.data["hi_Score" + (chal + 3)]; } } function end_Game() { stop_mc._visible = false; player_mc._alpha = 0; player_mc.bar_mc._visible = false; player_mc.effect1_mc._visible = false; player_mc.effect2_mc._visible = false; player_mc.effect3_mc._visible = false; player_mc.effect4_mc._visible = false; chal_txt._visible = false; hit_mc._alpha = 0; bonus_hit_mc._alpha = 0; goal_hit_mc._alpha = 0; hunt_hit_mc._alpha = 0; pshadow_mc._alpha = 0; tt = 0; while (tt < _root.num) { this["ball_mc" + tt]._alpha = 0; this["bshad_mc" + tt]._alpha = 0; tt++; } tt = 0; while (tt < _root.bword.length) { this["bonus_mc" + tt]._visible = false; tt++; } tt = 0; while (tt < 10) { this["lives_mc" + tt]._visible = false; tt++; } boost_mc._visible = false; } var cur_frame = "Setup"; var x_pos; var y_pos; var playerData = flash.display.BitmapData.loadBitmap("playersBitmap"); var playerFrame = (new flash.display.BitmapData(101, 83, true, 6710784)); var ballData = flash.display.BitmapData.loadBitmap("ballBitmap"); var ballFrame = (new flash.display.BitmapData(33, 32, true, 6710784)); var dropShadow = (new flash.filters.DropShadowFilter(-5, 45, 0, 0.75, 4, 4, 1, 2, false, false, true)); var dropShadow2 = (new flash.filters.DropShadowFilter(4, 45, 0, 0.75, 4, 4, 1, 2, false, false, false)); var dropShadow3 = (new flash.filters.DropShadowFilter(5, 45, 0, 0.5, 5, 5, 1, 2, false, false, false)); var bevel = (new flash.filters.BevelFilter(2, 75, 16777215, 0.8, 0, 0.8, 2, 2, 1, 3, "inner", false)); var edge_glow = (new flash.filters.GlowFilter(16777215, 0.5, 2, 2, 2, 2, false, false)); var score = 0; var fcount = 0; var score_count = 0; var level_count = 0; var num = 1; var zoom = 0.4; var x_size = (101 * zoom); var y_size = (83 * zoom); var bx_size = (33 * zoom); var by_size = (32 * zoom); var dia = 3.2; var myMatrix = (new flash.geom.Matrix(zoom, 0, 0, zoom)); var skewMatrix = (new flash.geom.Matrix(zoom, 0, 0.5, zoom)); var myColorTransform = (new flash.geom.ColorTransform()); var myRectangle = (new flash.geom.Rectangle(fcount * 101, 43, (fcount * 101) + 101, 83)); var red_Glow = (new flash.filters.GlowFilter(16711680, 1, 4, 4, 2, 2, false, false)); counter_txt.filters = new Array(edge_glow, dropShadow2); hi_txt.filters = new Array(edge_glow, dropShadow2); chal_txt.filters = new Array(edge_glow, dropShadow2); counter_txt.selectable = false; hi_txt.selectable = false; chal_txt.selectable = false; var key_count = 0; var wplayer = 0; var oplayer = 0; var niv = 2; var shield_count = 0; var speed_count = 0; var freeze_count = 0; var hunt_count = 0; var boost_count = 0; var goal = 0; var hunt = 0; var chal = 0; var start_time = 0; var cur_time = 0; var name_count = 0; var ball_count = 0; this.attachMovie("succes", "succes_mc", 888); succes_mc._visible = false; succes_mc._x = 50; succes_mc._y = 80; var chal_succes = false; var players = new Array("Jan Ceulemans", "Franky van der Elst", "Jean-Marie Pfaff", "Marco van Basten", "Dennis Bergkamp", "Johan Cruijff", "Edgar Davids", "Ruud Gullit", "Ren\u00E9 van de Kerkhof", "Willy van de Kerkhof", "Patrick Kluivert", "Johan Neeskens", "Ruud van Nistelrooy", "Rob Rensenbrink", "Frank Rijkaard", "Clarence Seedorf", "Gabriel Batistuta", "Hern\u00E1n Jorge Crespo", "Mario Kempes", "Diego Maradona", "Daniel Passarella", "Javier Saviola", "Omar Sivori", "Alfredo Di St\u00E9fano", "Juan Sebasti\u00E1n Ver\u00F3n", "Javier Zanetti", "Carlos Alberto Torres", "Caf\u00FA", "Roberto Carlos", "Falc\u00E3o", "J\u00FAnior", "Pel\u00E9", "Rivaldo", "Rivelino", "Rom\u00E1rio", "Ronaldinho", "Ronaldo", "Djalma Santos", "Nilton Santos", "S\u00F3crates", "Zico", "Hristo Stoichkov", "Elias Figueroa", "Iv\u00E1n Zamorano", "Carlos Valderrama", "Brian Laudrup", "Michael Laudrup", "Peter Schmeichel", "Michael Ballack", "Franz Beckenbauer", "Paul Breitner", "Oliver Kahn", "J\u00FCrgen Klinsmann", "Sepp Maier", "Lothar Matth\u00E4us", "Gerd M\u00FCller", "Karl-Heinz Rummenigge", "Uwe Seeler", "Gordon Banks", "David Beckham", "Bobby Charlton", "Kevin Keegan", "Gary Lineker", "Michael Owen", "Alan Shearer", "Eric Cantona", "Marcel Desailly", "Didier Deschamps", "Just Fontaine", "Thierry Henry", "Raymond Kopa", "Jean-Pierre Papin", "Robert Pires", "Michel Platini", "Lilian Thuram", "Marius Tr\u00E9sor", "David Trezeguet", "Patrick Vieira", "Zin\u00E9dine Zidane", "Ab\u00E9di Pel\u00E9", "Ferenc Puskas", "Roy Keane", "Roberto Baggio", "Franco Baresi", "Giuseppe Bergomi", "Giampero Boniperti", "Gianluigi Buffon", "Giacinto Facchetti", "Paolo Maldini", "Alessandro Nesta", "Alessandro Del Piero", "Gianni Rivera", "Paolo Rossi", "Francesco Totti", "Christian Vieri", "Dino Zoff", "Hidetoshi Nakata", "Roger Milla", "Davor Suker", "George Weah", "Hugo S\u00E1nchez", "Augustine Okocha", "George Best", "Andriy Shevchenko", "Romerito", "Teofilo Cubillas", "Zbigniew Boniek", "Manuel Rui Costa", "Eus\u00E9bio", "Luis Figo", "Gheorghe Hagi", "Rinat Dasajev", "Kenny Dalglish", "El-Hadji Diouf", "Emilio Butrague\u00F1o", "Luis Enrique", "Ra\u00FAl", "Josef Masopust", "Pavel Nedved", "Emre Bel\u00F6zo\u011Flu", "R\u00FCst\u00FC Re\u00E7ber", "Enzo Francescoli", "Michelle Akers", "Mia Hamm", "Hong Myung-Bo"); var soc_so = SharedObject.getLocal("SoccoFobia2.0_HighScore"); var tt = 1; while (tt < 20) { if (soc_so.data["hi_Score" + tt] == undefined) { soc_so.data["hi_Score" + tt] = new Number(); soc_so.data["hi_Score" + tt] = 0; } hi_txt.text = soc_so.data.hi_Score1; tt++; } tt = 0; while (tt < 10) { this.createEmptyMovieClip("lives_mc" + tt, 50 + tt); with (this["lives_mc" + tt]) { _x = (210 - (((lives + 1) * x_size) * 0.2)) + ((tt * x_size) * 0.4); this["lives_mc" + tt]._y = 280; var playerBitmap = (new flash.display.BitmapData(x_size * 0.8, y_size * 0.8, true, 11154244)); playerFrame.copyPixels(playerData, new flash.geom.Rectangle(0, 166, 101, 249), new flash.geom.Point(0, 0)); playerBitmap.draw(playerFrame, new flash.geom.Matrix(zoom * 0.8, 0, 0, zoom * 0.8), myColorTransform, "normal", new flash.geom.Rectangle(0, 0, x_size, y_size), true); this["lives_mc" + tt].attachBitmap(playerBitmap, 1); playerBitmap.dispose; filters = new Array(dropShadow2); _visible = false; } tt++; } var lives = 3; var hit_matrix = {a:40, b:0, c:0, d:0, e:30, f:0, g:20, h:15, i:8}; this.createEmptyMovieClip("hit_mc", 10000); with (hit_mc) { var hx; var hy; var cx; var cy; var vv = 6; beginGradientFill("radial", [16777060, 16752640], [100, 100], [0, 255], hit_matrix, "spread", "linearRGB", 0); lineStyle(1, 0, 100); hx = 20; hy = 30; moveTo(hx, hy); tt = 1; while (tt < ((vv * 2) + 1)) { cx = 20 + (10 * Math.sin(((tt - 0.5) * Math.PI) / vv)); cy = 15 + (7.5 * Math.cos(((tt - 0.5) * Math.PI) / vv)); hx = 20 + (20 * Math.sin((tt * Math.PI) / vv)); hy = 15 + (15 * Math.cos((tt * Math.PI) / vv)); curveTo(cx, cy, hx, hy); tt++; } endFill(); vv = 4; beginGradientFill("radial", [16744448, 16711680], [100, 100], [0, 255], hit_matrix, "spread", "linearRGB", 0); hx = 20; hy = 22.5; moveTo(hx, hy); tt = 1; while (tt < ((vv * 2) + 1)) { cx = 20 + (5 * Math.sin(((tt - 0.5) * Math.PI) / vv)); cy = 15 + (3.75 * Math.cos(((tt - 0.5) * Math.PI) / vv)); hx = 20 + (10 * Math.sin((tt * Math.PI) / vv)); hy = 15 + (7.5 * Math.cos((tt * Math.PI) / vv)); curveTo(cx, cy, hx, hy); tt++; } endFill(); _alpha = 0; } var tt; var b_dx = Array(64); var b_dy = Array(64); var bx = Array(64); var by = Array(64); var aa = Array(64); var bbounce = Array(64); var bframe = Array(64); var bmax = Array(64); var bspeed = Array(64); tt = 0; while (tt < 64) { this.createEmptyMovieClip("ball_mc" + tt, 1001 + (tt * 2)); with (this["ball_mc" + tt]) { _xscale = 100; _yscale = 100; } this["ball_mc" + tt]._x = 160; this["ball_mc" + tt]._y = 160; this.createEmptyMovieClip("bshad_mc" + tt, 1000 + (tt * 2)); with (this["bshad_mc" + tt]) { _xscale = 150; _yscale = 25; } tt++; } setup_Balls = function () { tt = 0; while (tt < 64) { setup_Ball(tt); tt++; } }; this.createEmptyMovieClip("player_mc", 901); player_mc._x = -100; this.createEmptyMovieClip("pshadow_mc", 900); with (pshadow_mc) { _xscale = 150; _yscale = 25; } var rr = rand_Range(0, 7); var fx1_glow = (new flash.filters.GlowFilter(16777215, 0.75, 5, 5, 2, 2, false, false)); var cc = 0; player_mc.createEmptyMovieClip("effect1_mc", 11); with (player_mc.effect1_mc) { lineStyle(1, 16777024, 75); beginFill(16777120, 10); var tt = 0; while (tt < 12) { var tx = (20 * Math.sin((tt * Math.PI) / 6)); var ty = (20 * Math.cos((tt * Math.PI) / 6)); draw_Circle(tx, ty, 2, player_mc.effect1_mc); tt++; } endFill(); _x = 21; _y = 16; filters = new Array(fx1_glow); player_mc.effect1_mc.onEnterFrame = function () { this._rotation = this._rotation + 6; }; _visible = false; } var fx2_glow = (new flash.filters.GlowFilter(16752640, 0.75, 5, 5, 2, 2, false, false)); player_mc.createEmptyMovieClip("effect2_mc", 12); with (player_mc.effect2_mc) { lineStyle(2, 16711680, 75); var tt = 0; while (tt < 8) { var tx = (16 * Math.sin(((tt - 0.25) * Math.PI) / 4)); var ty = (16 * Math.cos(((tt - 0.25) * Math.PI) / 4)); moveTo(tx, ty); var tx = (20 * Math.sin((tt * Math.PI) / 4)); var ty = (20 * Math.cos((tt * Math.PI) / 4)); lineTo(tx, ty); moveTo(tx * 0.6, ty * 0.6); lineTo(tx, ty); var tx = (16 * Math.sin(((tt + 0.25) * Math.PI) / 4)); var ty = (16 * Math.cos(((tt + 0.25) * Math.PI) / 4)); lineTo(tx, ty); tt++; } _x = 21; _y = 16; _xscale = 120; _yscale = 120; filters = new Array(fx2_glow); player_mc.effect2_mc.onEnterFrame = function () { this._rotation = this._rotation + 8; this._alpha = 70 - (30 * Math.sin((_root.cc * Math.PI) / 13.5)); _root.cc++; }; _visible = false; } var fx3_glow = (new flash.filters.GlowFilter(8433919, 0.25, 2, 2, 2, 2, false, false)); player_mc.createEmptyMovieClip("effect3_mc", 13); with (player_mc.effect3_mc) { lineStyle(2, 12640511, 75); var tt = 0; while (tt < 6) { var tx = (20 * Math.sin((tt * Math.PI) / 3)); var ty = (20 * Math.cos((tt * Math.PI) / 3)); var kk = 0; while (kk < 3) { var kx = (4 * Math.sin((kk * Math.PI) / 3)); var ky = (4 * Math.cos((kk * Math.PI) / 3)); moveTo(tx - kx, ty - ky); lineTo(tx + kx, ty + ky); kk++; } tt++; } _x = 21; _y = 16; filters = new Array(fx3_glow); player_mc.effect3_mc.onEnterFrame = function () { this._rotation = this._rotation - 4; }; _visible = false; } var fx4_glow = (new flash.filters.GlowFilter(16776960, 0.5, 2, 2, 2, 2, false, false)); player_mc.createEmptyMovieClip("effect4_mc", 14); with (player_mc.effect4_mc) { lineStyle(1, 16744448, 75); beginFill(16711680, 15); var tt = 0; while (tt < 12) { var tx = (20 * Math.sin((tt * Math.PI) / 6)); var ty = (20 * Math.cos((tt * Math.PI) / 6)); var kx = (20 * Math.sin(((tt + 1) * Math.PI) / 6)); var ky = (20 * Math.cos(((tt + 1) * Math.PI) / 6)); if (tt == 0) { moveTo(tx, ty); } curveTo((tx + kx) * 0.3, (ty + ky) * 0.3, kx, ky); tt++; } endFill(); _x = 21; _y = 16; _xscale = 120; _yscale = 120; filters = new Array(fx2_glow); player_mc.effect4_mc.onEnterFrame = function () { this._rotation = this._rotation - 6; }; _visible = false; } player_mc.createEmptyMovieClip("bar_mc", 100); with (player_mc.bar_mc) { _x = 8; _y = 32; _visible = false; filters = new Array(dropShadow3); } var bonus = 0; var bword = "SoccoFobia"; this.createEmptyMovieClip("boost_mc", 560); var boost = 0; var bonus_fmt = new TextFormat(); with (bonus_fmt) { font = "Courier New"; bold = true; size = 24; color = 16760896 /* 0xFFC040 */; align = "center"; } tt = 0; while (tt < 32) { this.createEmptyMovieClip("bonus_mc" + tt, 500 + tt); with (this["bonus_mc" + tt]) { createTextField("bonus_txt", this.getNextHighestDepth(), 0, 0, 24, 32); with (bonus_txt) { setNewTextFormat(bonus_fmt); selectable = false; text = bword.substr(tt, 1); } filters = new Array(bevel, dropShadow2); _visible = false; } tt++; } var bonus_count; setup_Bonus = function () { with (this["bonus_mc" + bonus]) { _visible = true; _alpha = 100; do { _x = rand_Range(64, 356) - 12; _y = rand_Range(32, 232) - 12; } while (flash.geom.Point.distance(new flash.geom.Point(_x, _y), new flash.geom.Point(player_mc._x, player_mc._y)) < 120); } bonus_count = 0; if ((_root.player_mc.bar_mc._visible == false) & (bonus > 0)) { boost = rand_Range(1, 5 + (niv * 2)); if ((chal == 3) & (boost < 5)) { boost = 4; } if ((chal == 4) & (boost < 5)) { boost = 2; } if (chal == 5) { boost = 0; boost = rand_Range(1, 4); } switch (boost) { case 1 : boost_mc.attachMovie("pil1_mc", "pic", 1); break; case 2 : boost_mc.attachMovie("pil2_mc", "pic", 1); break; case 3 : boost_mc.attachMovie("pil3_mc", "pic", 1); break; case 4 : boost_mc.attachMovie("pil4_mc", "pic", 1); break; default : boost_mc.attachMovie("", "pic", 1); } do { xx = rand_Range(64, 356) - 7; yy = rand_Range(32, 232) - 5; } while ((flash.geom.Point.distance(new flash.geom.Point(xx, yy), new flash.geom.Point(player_mc._x, player_mc._y)) < 120) or (flash.geom.Point.distance(new flash.geom.Point(xx, yy), new flash.geom.Point(this["bonus_mc" + bonus]._x, this["bonus_mc" + bonus]._y)) < 120)); boost_mc._xscale = 67; boost_mc._yscale = 67; boost_mc._x = xx; boost_mc._y = yy; boost_mc._visible = boost < 5; } }; this.createEmptyMovieClip("naam_mc", 550); with (naam_mc) { createTextField("txt", this.getNextHighestDepth(), 0, 0, 320, 32); with (txt) { setNewTextFormat(bonus_fmt); selectable = false; text = bword; } filters = new Array(bevel, dropShadow2); _visible = false; } new_Bonus = function () { var tt = 0; while (tt < bword.length) { this["bonus_mc" + tt]._visible = false; tt++; } oplayer = wplayer; while (wplayer == oplayer) { wplayer = rand_Range(0, players.length); } bword = players[wplayer]; var tt = 0; while (tt < bword.length) { with (this["bonus_mc" + tt]) { _alpha = 100; with (bonus_txt) { text = bword.substr(tt, 1); } } tt++; } bonus = 0; }; var bhit_fmt = new TextFormat(); with (bhit_fmt) { font = "Courier New"; bold = true; size = 16; color = 16769056 /* 0xFFE020 */; align = "center"; } this.createEmptyMovieClip("bonus_hit_mc", 5000); with (bonus_hit_mc) { createTextField("bonus_hit_txt", this.getNextHighestDepth(), 0, 0, 48, 24); with (bonus_hit_txt) { setNewTextFormat(bhit_fmt); selectable = false; text = "100"; } _visible = false; _alpha = 0; filters = new Array(bevel, dropShadow2); } this.createEmptyMovieClip("goal_hit_mc", 5001); with (goal_hit_mc) { createTextField("goal_hit_txt", this.getNextHighestDepth(), 0, 0, 64, 24); with (goal_hit_txt) { setNewTextFormat(bhit_fmt); selectable = false; text = "1000"; } _visible = false; _alpha = 0; _xscale = 120; _yscale = 120; filters = new Array(bevel, dropShadow2); } this.createEmptyMovieClip("hunt_hit_mc", 5002); with (hunt_hit_mc) { createTextField("hunt_hit_txt", this.getNextHighestDepth(), 0, 0, 64, 24); with (hunt_hit_txt) { setNewTextFormat(bhit_fmt); selectable = false; text = "1000"; } _visible = false; _alpha = 0; _xscale = 120; _yscale = 120; filters = new Array(bevel, dropShadow2); } draw_Player = function () { var playerBitmap = (new flash.display.BitmapData(x_size, y_size, true, 11154244)); var shadowBitmap = (new flash.display.BitmapData(x_size, y_size, true, 11154244)); with (player_mc) { playerFrame.copyPixels(playerData, new flash.geom.Rectangle(fcount * 101, rr * 83, (fcount * 101) + 101, (rr * 83) + 83), new flash.geom.Point(0, 0)); playerBitmap.draw(playerFrame, myMatrix, myColorTransform, "normal", new flash.geom.Rectangle(0, 0, x_size, y_size), true); shadowBitmap.draw(playerFrame, skewMatrix, myColorTransform, "normal", new flash.geom.Rectangle(0, 0, x_size, y_size), true); if (((rr == 7) || (rr == 0)) || (rr == 1)) { dx = dia; } else if (((rr == 3) || (rr == 4)) || (rr == 5)) { dx = -dia; } else { dx = 0; } if (((rr == 1) || (rr == 2)) || (rr == 3)) { dy = dia; } else if (((rr == 5) || (rr == 6)) || (rr == 7)) { dy = -dia; } else { dy = 0; } if ((rr % 2) > 0) { dx = (dx * Math.SQRT2) / 2; dy = (dy * Math.SQRT2) / 2; } _x = _x + dx; _y = _y + dy; if (_x < 16) { dx = Math.abs(dx); } if (_x > (404 - x_size)) { dx = -Math.abs(dx); } if (_y < 0) { dy = Math.abs(dy); } if (_y > (280 - y_size)) { dy = -Math.abs(dy); } if ((dy == 0) && (dx > 0)) { rr = 0; } if ((dy > 0) && (dx > 0)) { rr = 1; } if ((dy > 0) && (dx == 0)) { rr = 2; } if ((dy > 0) && (dx < 0)) { rr = 3; } if ((dy == 0) && (dx < 0)) { rr = 4; } if ((dy < 0) && (dx < 0)) { rr = 5; } if ((dy < 0) && (dx == 0)) { rr = 6; } if ((dy < 0) && (dx > 0)) { rr = 7; } attachBitmap(playerBitmap, 1); } with (pshadow_mc) { _x = player_mc._x - (101 * zoom); _y = player_mc._y + ((zoom * 0.75) * 83); attachBitmap(shadowBitmap, 1); filters = new Array(dropShadow); } playerBitmap.dispose; shadowBitmap.dispose; fcount++; if (fcount > 9) { fcount = 0; } }; draw_Ball = function (tt) { var ballBitmap = (new flash.display.BitmapData(bx_size, by_size, true, 11154244)); var bshadowBitmap = (new flash.display.BitmapData(bx_size, by_size, true, 11154244)); with (this["ball_mc" + tt]) { ballFrame.copyPixels(ballData, new flash.geom.Rectangle(bframe[tt] * 33, 0, (bframe[tt] * 33) + 33, 32), new flash.geom.Point(0, 0)); ballBitmap.draw(ballFrame, myMatrix, myColorTransform, "normal", new flash.geom.Rectangle(0, 0, bx_size, by_size), true); bshadowBitmap.draw(ballFrame, skewMatrix, myColorTransform, "normal", new flash.geom.Rectangle(0, 0, bx_size, by_size), true); if (freeze_count == 0) { bx[tt] = bx[tt] + b_dx[tt]; by[tt] = by[tt] + b_dy[tt]; } if ((bx[tt] <= 18) || (bx[tt] >= (402 - _width))) { aa[tt] = 360 - aa[tt]; b_dx[tt] = bspeed[tt] * Math.sin((aa[tt] * Math.PI) / 180); b_dy[tt] = (-bspeed[tt]) * Math.cos((aa[tt] * Math.PI) / 180); } if ((by[tt] < 8) || (((by[tt] > (280 - by_size)) && (aa[tt] > 90)) && (aa[tt] < 270))) { if (aa[tt] < 180) { aa[tt] = 180 - aa[tt]; } else { aa[tt] = 540 - aa[tt]; } b_dx[tt] = bspeed[tt] * Math.sin((aa[tt] * Math.PI) / 180); b_dy[tt] = (-bspeed[tt]) * Math.cos((aa[tt] * Math.PI) / 180); } _x = bx[tt]; _y = by[tt] - (8 * Math.sin((bbounce[tt] * Math.PI) / bmax[tt])); attachBitmap(ballBitmap, 1); } with (this["bshad_mc" + tt]) { _x = bx[tt] - (20 * zoom); _y = by[tt] + (zoom * 32); attachBitmap(bshadowBitmap, 1); filters = new Array(dropShadow); } if (b_dx[tt] > 0) { bframe[tt]++; if (bframe[tt] > 29) { bframe[tt] = 0; } } if (b_dx[tt] < 0) { bframe[tt]--; if (bframe[tt] < 0) { bframe[tt] = 29; } } bbounce[tt]++; if (bbounce[tt] >= bmax[tt]) { bbounce[tt] = 0; } ballBitmap.dispose; bshadowBitmap.dispose; }; swap_Val = function (v1, v2) { var _local1 = v1; v1 = v2; v2 = _local1; }; var keyListener = new Object(); keyListener.onKeyDown = function () { if (key_count <= 0) { var _local1 = rr; if (Key.isDown(39)) { rr = 0; } else if (Key.isDown(34)) { rr = 1; } else if (Key.isDown(40)) { rr = 2; } else if (Key.isDown(35)) { rr = 3; } else if (Key.isDown(37)) { rr = 4; } else if (Key.isDown(36)) { rr = 5; } else if (Key.isDown(38)) { rr = 6; } else if (Key.isDown(33)) { rr = 7; } if ((((player_mc._x > 24) & (player_mc._x < (396 - x_size))) & (player_mc._y > 8)) & (player_mc._y < (272 - y_size))) { key_count = 2; } else { key_count = 10; rr = _local1; } } }; Key.addListener(keyListener); var sound_on = true; var loop_sound = new Sound(); loop_sound.attachSound("MP3"); loop_sound.onSoundComplete = function () { loop_sound.start(); }; var hit_sound = new Sound(); hit_sound.attachSound("ow_mp3"); var hit_sound2 = new Sound(); hit_sound2.attachSound("oue_wav"); var bonus_sound = new Sound(); bonus_sound.attachSound("bloop2_wav"); var bonus_sound2 = new Sound(); bonus_sound2.attachSound("whoo_wav"); var boost_sound = new Sound(); boost_sound.attachSound("jos1_wav"); var goal_sound = new Sound(); goal_sound.attachSound("tooor_wav"); goal_sound.setVolume(40); var hunt_sound = new Sound(); hunt_sound.attachSound("thud_wav"); if (sound_on == true) { start_btn._visible = false; stop_btn._visible = true; loop_sound.start(); } else { stop_btn._visible = false; start_btn._visible = true; } this.attachMovie("cross_mc", "stop_mc", this.getNextHighestDepth()); add_back(16, 16, stop_mc); with (stop_mc) { _xscale = 50; _yscale = 50; _x = 408; _y = 2; _visible = false; stop_mc.onRelease = function () { _root.lives = -1; _root.gotoAndPlay("End"); }; } if (sound_on == true) { start_btn._visible = false; stop_btn._visible = true; loop_sound.start(); } else { stop_btn._visible = false; start_btn._visible = true; } var left_fmt = new TextFormat(); with (left_fmt) { font = "Courier New"; bold = true; size = 20; color = 16760896 /* 0xFFC040 */; align = "left"; } var right_fmt = new TextFormat(); with (right_fmt) { font = "Courier New"; bold = true; size = 20; color = 16760896 /* 0xFFC040 */; align = "right"; } this.createEmptyMovieClip("list_mc", this.getNextHighestDepth()); list_mc.createTextField("top_txt", list_mc.getNextHighestDepth(), 52, 20, 80, 28); with (list_mc.top_txt) { setNewTextFormat(left_fmt); selectable = false; text = "Top-10"; filters = new Array(bevel, dropShadow2); } list_mc.createTextField("lev_txt", list_mc.getNextHighestDepth(), 208, 20, 160, 28); with (list_mc.lev_txt) { setNewTextFormat(right_fmt); selectable = false; text = "Easy"; filters = new Array(bevel, dropShadow2); } var tt = 0; while (tt < 10) { list_mc.createTextField("rank" + tt, list_mc.getNextHighestDepth(), 40, 48 + (tt * 21), 32, 28); with (list_mc["rank" + tt]) { setNewTextFormat(right_fmt); selectable = false; text = tt + 1; filters = new Array(bevel, dropShadow2); } list_mc.createTextField("uname" + tt, list_mc.getNextHighestDepth(), 80, 48 + (tt * 21), 200, 28); with (list_mc["uname" + tt]) { setNewTextFormat(left_fmt); selectable = false; text = "tralalalaHg"; filters = new Array(bevel, dropShadow2); } list_mc.createTextField("uscore" + tt, list_mc.getNextHighestDepth(), 288, 48 + (tt * 21), 80, 28); with (list_mc["uscore" + tt]) { setNewTextFormat(right_fmt); selectable = false; text = 12345; filters = new Array(bevel, dropShadow2); } tt++; } list_mc._visible = false;
Frame 3
stop(); cur_frame = "Menu"; var tt = 1; while (tt < 5) { if (tt == _root.niv) { _root[("niv" + tt) + "_mc"].gotoAndStop(2); } else { _root[("niv" + tt) + "_mc"].gotoAndStop(1); } tt++; } succes_mc._visible = false; add_back(80, 28, niv1_mc); add_back(80, 28, niv2_mc); add_back(80, 28, niv3_mc); add_back(80, 28, niv4_mc); add_back(80, 24, p1); add_back(80, 24, p2); add_back(80, 24, p3); add_back(80, 24, p4); chal = 0; hint._visible = false; if (sound_on == true) { start_btn._visible = false; stop_btn._visible = true; } else { stop_btn._visible = false; start_btn._visible = true; }
Instance of Symbol 79 MovieClip "niv2_mc" in Frame 3
on (press) { if (_root.niv != 2) { _root.niv1_mc.gotoAndStop(1); _root.niv2_mc.gotoAndStop(2); _root.niv3_mc.gotoAndStop(1); _root.niv4_mc.gotoAndStop(1); _root.niv = 2; } }
Instance of Symbol 82 MovieClip "niv1_mc" in Frame 3
on (press) { if (_root.niv != 1) { _root.niv1_mc.gotoAndStop(2); _root.niv2_mc.gotoAndStop(1); _root.niv3_mc.gotoAndStop(1); _root.niv4_mc.gotoAndStop(1); _root.niv = 1; } }
Instance of Symbol 84 MovieClip "niv3_mc" in Frame 3
on (press) { if (_root.niv != 3) { _root.niv1_mc.gotoAndStop(1); _root.niv2_mc.gotoAndStop(1); _root.niv3_mc.gotoAndStop(2); _root.niv4_mc.gotoAndStop(1); _root.niv = 3; } }
Instance of Symbol 66 MovieClip [niv4] "niv4_mc" in Frame 3
on (press) { if (_root.niv != 4) { _root.niv1_mc.gotoAndStop(1); _root.niv2_mc.gotoAndStop(1); _root.niv3_mc.gotoAndStop(1); _root.niv4_mc.gotoAndStop(2); _root.niv = 4; } }
Instance of Symbol 60 MovieClip [p1_mc] "p1" in Frame 3
on (rollOver) { _root.hint._y = 72; _root.hint.gotoAndStop(1); _root.hint._visible = true; } on (rollOut) { _root.hint._visible = false; }
Instance of Symbol 55 MovieClip [p2_mc] "p2" in Frame 3
on (rollOver) { _root.hint._y = 104; _root.hint.gotoAndStop(2); _root.hint._visible = true; } on (rollOut) { _root.hint._visible = false; }
Instance of Symbol 52 MovieClip [p3_mc] "p3" in Frame 3
on (rollOver) { _root.hint._y = 136; _root.hint.gotoAndStop(3); _root.hint._visible = true; } on (rollOut) { _root.hint._visible = false; }
Instance of Symbol 47 MovieClip [p4_mc] "p4" in Frame 3
on (rollOver) { _root.hint._y = 168; _root.hint.gotoAndStop(4); _root.hint._visible = true; } on (rollOut) { _root.hint._visible = false; }
Frame 4
stop(); cur_frame = "Challenge"; hint2._visible = false; add_back(140, 32, chal1_mc); add_back(140, 32, chal2_mc); add_back(140, 32, chal3_mc); add_back(140, 32, chal4_mc); add_back(140, 32, chal5_mc); add_back(140, 32, chal6_mc);
Instance of Symbol 99 MovieClip "chal1_mc" in Frame 4
on (press) { if (_root.chal != 1) { _root.chal1_mc.gotoAndStop(2); _root.chal2_mc.gotoAndStop(1); _root.chal3_mc.gotoAndStop(1); _root.chal4_mc.gotoAndStop(1); _root.chal5_mc.gotoAndStop(1); _root.chal6_mc.gotoAndStop(1); _root.chal = 1; _root.hi_txt.text = _root.soc_so.data["hi_Score" + (_root.chal + 3)]; } } on (rollOver) { _root.hint2._y = 24; _root.hint2.gotoAndStop(1); _root.hint2._visible = true; } on (rollOut) { _root.hint2._visible = false; }
Instance of Symbol 101 MovieClip "chal2_mc" in Frame 4
on (press) { if (_root.chal != 2) { _root.chal1_mc.gotoAndStop(1); _root.chal2_mc.gotoAndStop(2); _root.chal3_mc.gotoAndStop(1); _root.chal4_mc.gotoAndStop(1); _root.chal5_mc.gotoAndStop(1); _root.chal6_mc.gotoAndStop(1); _root.chal = 2; _root.hi_txt.text = _root.soc_so.data["hi_Score" + (_root.chal + 3)]; } } on (rollOver) { _root.hint2._y = 56; _root.hint2.gotoAndStop(2); _root.hint2._visible = true; } on (rollOut) { _root.hint2._visible = false; }
Instance of Symbol 103 MovieClip "chal3_mc" in Frame 4
on (press) { if (_root.chal != 3) { _root.chal1_mc.gotoAndStop(1); _root.chal2_mc.gotoAndStop(1); _root.chal3_mc.gotoAndStop(2); _root.chal4_mc.gotoAndStop(1); _root.chal5_mc.gotoAndStop(1); _root.chal6_mc.gotoAndStop(1); _root.chal = 3; _root.hi_txt.text = _root.soc_so.data["hi_Score" + (_root.chal + 3)]; } } on (rollOver) { _root.hint2._y = 88; _root.hint2.gotoAndStop(3); _root.hint2._visible = true; } on (rollOut) { _root.hint2._visible = false; }
Instance of Symbol 105 MovieClip "chal4_mc" in Frame 4
on (press) { if (_root.chal != 4) { _root.chal1_mc.gotoAndStop(1); _root.chal2_mc.gotoAndStop(1); _root.chal3_mc.gotoAndStop(1); _root.chal4_mc.gotoAndStop(4); _root.chal5_mc.gotoAndStop(1); _root.chal6_mc.gotoAndStop(1); _root.chal = 4; _root.hi_txt.text = _root.soc_so.data["hi_Score" + (_root.chal + 3)]; } } on (rollOver) { _root.hint2._y = 120; _root.hint2.gotoAndStop(4); _root.hint2._visible = true; } on (rollOut) { _root.hint2._visible = false; }
Instance of Symbol 107 MovieClip "chal5_mc" in Frame 4
on (press) { if (_root.chal != 5) { _root.chal1_mc.gotoAndStop(1); _root.chal2_mc.gotoAndStop(1); _root.chal3_mc.gotoAndStop(1); _root.chal4_mc.gotoAndStop(1); _root.chal5_mc.gotoAndStop(2); _root.chal6_mc.gotoAndStop(1); _root.chal = 5; _root.hi_txt.text = _root.soc_so.data["hi_Score" + (_root.chal + 3)]; } } on (rollOver) { _root.hint2._y = 152; _root.hint2.gotoAndStop(5); _root.hint2._visible = true; } on (rollOut) { _root.hint2._visible = false; }
Instance of Symbol 109 MovieClip "chal6_mc" in Frame 4
on (press) { if (_root.chal != 6) { _root.chal1_mc.gotoAndStop(1); _root.chal2_mc.gotoAndStop(1); _root.chal3_mc.gotoAndStop(1); _root.chal4_mc.gotoAndStop(1); _root.chal5_mc.gotoAndStop(1); _root.chal6_mc.gotoAndStop(2); _root.chal = 6; _root.hi_txt.text = _root.soc_so.data["hi_Score" + (_root.chal + 3)]; } } on (rollOver) { _root.hint2._y = 184; _root.hint2.gotoAndStop(6); _root.hint2._visible = true; } on (rollOut) { _root.hint2._visible = false; }
Frame 5
stop(); cur_frame = "Game"; stop_mc._visible = true; setup_Game(); show_lives(); new_Bonus(); setup_Bonus(); setup_Balls(); setup_Player(); new_naam(); succes_mc._visible = false; this.onEnterFrame = function () { if (cur_frame == "Game") { if ((chal == 1) || (chal == 4)) { if (chal == 1) { cur_time = (60000 + start_time) - getTimer(); } else { cur_time = (300000 + start_time) - getTimer(); } var min = Math.floor(cur_time / 60000); var sec = Math.floor((cur_time - (min * 60000)) / 1000); if (sec < 0) { sec = 0; } if (sec < 10) { chal_txt.text = (min + ":0") + sec; } else { chal_txt.text = (min + ":") + sec; } if (cur_time <= 0) { _root.lives = -1; _root.chal_succes = true; _root.gotoAndPlay("End"); } } key_count--; if (hit_mc._alpha > 0) { hit_mc._alpha = hit_mc._alpha - 10; hit_mc._xscale = hit_mc._xscale + 5; hit_mc._yscale = hit_mc._yscale + 5; hit_mc._x = hit_mc._x - 1; hit_mc._y = hit_mc._y - 1; if (lives < 0) { player_mc._alpha = hit_mc._alpha; pshadow_mc._alpha = hit_mc._alpha; tt = 0; while (tt < num) { this["ball_mc" + tt]._alpha = hit_mc._alpha; this["bshad_mc" + tt]._alpha = hit_mc._alpha; tt++; } tt = 0; while (tt < bword.length) { this["bonus_mc" + tt]._alpha = hit_mc._alpha; tt++; } } if (hit_mc._alpha <= 0) { player_mc.filters = new Array(); if (lives < 0) { nextFrame(); } } } if (bonus_hit_mc._alpha > 0) { bonus_hit_mc._alpha = bonus_hit_mc._alpha - 5; bonus_hit_mc._y = bonus_hit_mc._y - 4; if (bonus_hit_mc._alpha <= 0) { bonus_hit_mc.visible = false; } } if (goal_hit_mc._alpha > 0) { goal_hit_mc._alpha = goal_hit_mc._alpha - 4; goal_hit_mc._y = goal_hit_mc._y - 4; if (goal_hit_mc._alpha <= 0) { goal_hit_mc.visible = false; } } if (hunt_hit_mc._alpha > 0) { hunt_hit_mc._alpha = hunt_hit_mc._alpha - 4; hunt_hit_mc._y = hunt_hit_mc._y - 4; if (hunt_hit_mc._alpha <= 0) { hunt_hit_mc.visible = false; } } if (naam_mc._alpha > 0) { with (naam_mc) { _alpha = _alpha - 1; _y = _y - 4; _x = 210 - (_width / 2); if (_alpha <= 0) { _visible = false; new_naam(); } } } if (lives >= 0) { var z_order = -1; tt = 0; while (tt < num) { if (by[tt] < player_mc._y) { z_order = tt; } tt++; } if (z_order == -1) { draw_Player(); } tt = 0; while (tt < num) { draw_Ball(tt); if (z_order == tt) { draw_Player(); } with (this["ball_mc" + tt]) { if (flash.geom.Point.distance(new flash.geom.Point(bx[tt] + (bx_size / 2), by[tt] + (by_size / 2)), new flash.geom.Point(player_mc._x + (x_size / 2), player_mc._y + (y_size / 2))) < 48) { filters = new Array(red_Glow); } else { filters = new Array(); } if ((player_mc.hitTest(_x + 6, _y + 6, true) == true) & (shield_count == 0)) { if (hunt_count > 0) { hunt++; hunt_hit_mc.hunt_hit_txt.text = hunt * 250; hunt_hit_mc._x = (_x + player_mc._x) / 2; hunt_hit_mc._y = _y; hunt_hit_mc._visible = true; hunt_hit_mc._alpha = 100; if (sound_on == true) { hunt_sound.start(); } if (hunt == undefined) { hunt = 1; } score = score + (hunt * 250); counter_txt.text = score; setup_Ball(tt); ball_count++; if (chal == 3) { chal_txt.text = ball_count + " / 10"; if (ball_count >= 10) { _root.lives = -1; _root.chal_succes = true; _root.gotoAndPlay("End"); } } } else { player_mc.filters = new Array(red_Glow); with (hit_mc) { if (sound_on == true) { if (rand_Range(1, 2) > 1) { hit_sound.start(); } else { hit_sound2.start(); } } _x = (bx[tt] + player_mc._x) / 2; _y = (by[tt] + player_mc._y) / 2; _xscale = 100; _yscale = 100; _alpha = 100; setup_Balls(); lives--; if (lives >= 0) { this["lives_mc" + lives]._visible = false; show_lives(); } } } } if ((hitTest(goal1_mc) == true) || (hitTest(goal2_mc) == true)) { if ((goal_hit_mc._alpha < 50) || (Math.abs(_x - goal_hit_mc._x) > 16)) { goal++; goal_hit_mc.goal_hit_txt.text = goal * 10; if (_x < 320) { goal_hit_mc._x = 0; } else { goal_hit_mc._x = 420 - goal_hit_mc._width; } goal_hit_mc._y = _y; goal_hit_mc._visible = true; goal_hit_mc._alpha = 100; if (sound_on == true) { goal_sound.start(); } if (goal == undefined) { goal = 1; } score = score + (goal * 10); setup_Ball(tt); counter_txt.text = score; if (chal == 6) { chal_txt.text = goal + " / 25"; if (goal >= 25) { _root.lives = -1; _root.chal_succes = true; _root.gotoAndPlay("End"); } } } } } tt++; } if (num > 1) { var ii = 0; while (ii < (num - 1)) { var jj = ii; while (jj < num) { if (by[jj] < by[ii]) { swap_Val(b_dx[ii], b_dx[jj]); swap_Val(b_dy[ii], b_dy[jj]); swap_Val(bx[ii], bx[jj]); swap_Val(by[ii], by[jj]); swap_Val(aa[ii], aa[jj]); swap_Val(bbounce[ii], bbounce[jj]); swap_Val(bframe[ii], bframe[jj]); swap_Val(bmax[ii], bmax[jj]); swap_Val(bspeed[ii], bspeed[jj]); } jj++; } ii++; } } with (this["bonus_mc" + bonus]) { if (flash.geom.Point.distance(new flash.geom.Point(_x + (_width / 2), _y + (_height / 2)), new flash.geom.Point(player_mc._x + (x_size / 2), player_mc._y + (y_size / 2))) < 16) { bonus_hit_mc.bonus_hit_txt.text = (bonus + 1) * bword.length; bonus_hit_mc._x = (_x + player_mc._x) / 2; bonus_hit_mc._y = (_y + player_mc._y) / 2; bonus_hit_mc._visible = true; bonus_hit_mc._alpha = 100; bonus_hit_mc._xscale = 100; bonus_hit_mc._yscale = 100; if (bword.length > 18) { _x = (210 - (bword.length * 6)) + (bonus * 12); } else { _x = (210 - (bword.length * 7)) + (bonus * 14); } _y = 304; bonus++; score = score + (bonus * bword.length); if (bword.substr(bonus, 1) == " ") { bonus++; } counter_txt.text = score; if (bonus == bword.length) { naam_mc._alpha = 100; naam_mc._visible = true; if (sound_on == true) { bonus_sound2.start(); } if (lives < 10) { this["lives_mc" + lives]._visible = true; lives++; show_lives(); } new_Bonus(); score = score + 1000; counter_txt.text = score; name_count++; if (chal == 2) { chal_txt.text = name_count + " / 5"; if (name_count >= 5) { _root.lives = -1; _root.chal_succes = true; _root.gotoAndPlay("End"); } } } else if (sound_on == true) { bonus_sound.start(); } setup_Bonus(); } } with (this.boost_mc) { if (((boost > 0) & (boost < 5)) & (flash.geom.Point.distance(new flash.geom.Point(_x + (_width / 2), _y + (_height / 2)), new flash.geom.Point(player_mc._x + (x_size / 2), player_mc._y + (y_size / 2))) < 16)) { bonus_hit_mc.bonus_hit_txt.text = 100; bonus_hit_mc._x = (_x + player_mc._x) / 2; bonus_hit_mc._y = (_y + player_mc._y) / 2; bonus_hit_mc._visible = true; bonus_hit_mc._alpha = 100; bonus_hit_mc._xscale = 100; bonus_hit_mc._yscale = 100; if (sound_on == true) { boost_sound.start(); } if (boost == 1) { col = 16776960 /* 0xFFFF00 */; shield_count = 250; _root.player_mc.effect1_mc._visible = true; } if (boost == 2) { col = 16711680 /* 0xFF0000 */; speed_count = 250; _root.player_mc.effect2_mc._visible = true; _root.dia = 4.8; } if (boost == 3) { col = 33023; freeze_count = 250; _root.player_mc.effect3_mc._visible = true; } if (boost == 4) { col = 16746496 /* 0xFF8800 */; hunt_count = 250; _root.player_mc.effect4_mc._visible = true; } with (_root.player_mc.bar_mc) { lineStyle(1, col, 100); beginFill(col, 100); draw_Rectangle(0, 0, 24, 4, _root.player_mc.bar_mc); endFill(); _xscale = 100; _visible = true; filters = new Array(dropShadow3); } _visible = false; boost = 0; score = score + 100; counter_txt.text = score; if (chal == 5) { boost_count++; chal_txt.text = boost_count + " / 11"; if (boost_count >= 11) { _root.lives = -1; _root.chal_succes = true; _root.gotoAndPlay("End"); } } } } score_count++; if (score_count == 10) { score_count = 0; score = score + num; counter_txt.text = score; } level_count++; var dd = (1333 - (333 * _root.niv)); if (chal == 2) { dd = dd + 333; } if (chal == 4) { dd = dd + 667; } if ((level_count == dd) & (num < 64)) { level_count = 0; if (chal != 1) { num++; } } bonus_count++; if (bonus_count >= rand_Range((120 + (num * 4)) - (_root.niv * 10), (180 + (num * 4)) - (_root.niv * 20))) { setup_Bonus(); } if (shield_count > 0) { shield_count--; _root.player_mc.bar_mc._xscale = shield_count * 0.4; if (shield_count == 0) { _root.player_mc.effect1_mc._visible = false; _root.player_mc.bar_mc._visible = false; } } if (speed_count > 0) { speed_count--; _root.player_mc.bar_mc._xscale = speed_count * 0.4; if (speed_count == 0) { _root.player_mc.effect2_mc._visible = false; _root.player_mc.bar_mc._visible = false; _root.dia = 3.2; } } if (freeze_count > 0) { freeze_count--; _root.player_mc.bar_mc._xscale = freeze_count * 0.4; if (freeze_count == 0) { _root.player_mc.effect3_mc._visible = false; _root.player_mc.bar_mc._visible = false; } } if (hunt_count > 0) { hunt_count--; _root.player_mc.bar_mc._xscale = hunt_count * 0.4; if (hunt_count == 0) { _root.player_mc.effect4_mc._visible = false; _root.player_mc.bar_mc._visible = false; } } } } };
Frame 6
stop(); cur_frame = "End"; counter_txt.text = score; succes_mc._visible = chal_succes; if (chal == 0) { ss = niv; } else { ss = chal + 3; } if (score > soc_so.data["hi_Score" + ss]) { soc_so.data["hi_Score" + ss] = score; soc_so.flush(); } end_Game(); hi_txt.text = soc_so.data["hi_Score" + ss]; if (kong == true) { _root.kongregateScores.submit(score); hi_btn._visible = true; } else { hi_btn._visible = false; } counter_txt.filters = new Array(edge_glow, dropShadow2); hi_txt.filters = new Array(edge_glow, dropShadow2); stop();
Frame 7
stop(); cur_frame = "Hiscore"; list_mc._visible = true; switch (chal) { case 0 : if (niv == 1) { list_mc.lev_txt.text = "Easy"; } if (niv == 2) { list_mc.lev_txt.text = "Normal"; } if (niv == 3) { list_mc.lev_txt.text = "Hard"; } break; case 1 : list_mc.lev_txt.text = "Dodgeball"; break; case 2 : list_mc.lev_txt.text = "Hardcore Fan"; break; case 3 : list_mc.lev_txt.text = "The Hunter"; break; case 4 : list_mc.lev_txt.text = "Speed Freak"; break; case 5 : list_mc.lev_txt.text = "Clean Game"; break; case 6 : list_mc.lev_txt.text = "Top Scorer"; } var scoresCallback = function (result) { trace("High score result, success=" + result.success); if (result.success == true) { var _local1 = 0; while (_local1 < result.list.length) { if (_local1 < 10) { list_mc["uname" + _local1].text = result.list[i].username; list_mc["uscore" + _local1].text = result.list[i].score; } _local1++; } } }; trace("ping"); _root.kongregateScores.requestList(scoresCallback, this);
Symbol 66 MovieClip [niv4] Frame 1
stop();
Symbol 66 MovieClip [niv4] Frame 2
stop();
Symbol 127 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 = 10; _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 73 Button
on (press) { if (_root.niv == 4) { _root.gotoAndPlay("Challenge"); } else { if (kong == true) { if ((niv = 1)) { _root.kongregateScores.setMode("Easy"); } if ((niv = 2)) { _root.kongregateScores.setMode("Normal"); } if ((niv = 3)) { _root.kongregateScores.setMode("Hard"); } } _root.gotoAndPlay("Game"); } }
Symbol 79 MovieClip Frame 1
stop();
Symbol 79 MovieClip Frame 2
stop();
Symbol 82 MovieClip Frame 1
stop();
Symbol 82 MovieClip Frame 2
stop();
Symbol 84 MovieClip Frame 1
stop();
Symbol 84 MovieClip Frame 2
stop();
Symbol 86 Button
on (press) { loop_sound.start(); start_btn._visible = false; stop_btn._visible = true; sound_on = true; }
Symbol 88 Button
on (press) { loop_sound.stop(); stop_btn._visible = false; start_btn._visible = true; sound_on = false; }
Symbol 97 Button
on (press) { if (_root.chal != 0) { if (kong == true) { _root.kongregateScores.setMode("Challenge_" + chal); } _root.gotoAndPlay("Game"); } } on (rollOver) { if (_root.chal == 0) { chal_start._alpha = 50; _root.hint2._y = 224; _root.hint2.gotoAndStop(7); _root.hint2._visible = true; } } on (rollOut) { _root.hint2._visible = false; chal_start._alpha = 100; }
Symbol 99 MovieClip Frame 1
stop();
Symbol 99 MovieClip Frame 2
stop();
Symbol 101 MovieClip Frame 1
stop();
Symbol 101 MovieClip Frame 2
stop();
Symbol 103 MovieClip Frame 1
stop();
Symbol 103 MovieClip Frame 2
stop();
Symbol 105 MovieClip Frame 1
stop();
Symbol 105 MovieClip Frame 2
stop();
Symbol 107 MovieClip Frame 1
stop();
Symbol 107 MovieClip Frame 2
stop();
Symbol 109 MovieClip Frame 1
stop();
Symbol 109 MovieClip Frame 2
stop();
Symbol 113 Button
on (press) { gotoAndPlay ("Menu"); }
Symbol 115 Button
on (press) { _root.list_mc._visible = false; gotoAndPlay ("Menu"); }
Symbol 122 Button
on (press) { gotoAndPlay ("Hiscore"); }

Library Items

Symbol 1 Sound [whoo_wav]
Symbol 2 Sound [tooor_wav]
Symbol 3 Sound [thud_wav]
Symbol 4 Sound [MP3]
Symbol 5 Sound [ow_mp3]
Symbol 6 Sound [oue_wav]
Symbol 7 Sound [jos1_wav]
Symbol 8 Sound [loop_wav]
Symbol 9 Sound [bloop2_wav]
Symbol 10 Bitmap [playersBitmap]
Symbol 11 Bitmap [ballBitmap]
Symbol 12 GraphicUsed by:13
Symbol 13 MovieClip [mball_mc]Uses:12
Symbol 14 FontUsed by:15 18 20 22 24 26 28 30 35 36 37 38 46 51 54 59 61 74 75 76 77 78 80 81 83 85 87 91 92 94 95 96 98 100 102 104 106 108 111 112 114 116 118 119 120 121 123 124 125 126
Symbol 15 TextUses:14Used by:16
Symbol 16 MovieClip [succes]Uses:15
Symbol 17 GraphicUsed by:31
Symbol 18 TextUses:14Used by:31
Symbol 19 GraphicUsed by:31
Symbol 20 TextUses:14Used by:31
Symbol 21 GraphicUsed by:31
Symbol 22 TextUses:14Used by:31
Symbol 23 GraphicUsed by:31
Symbol 24 TextUses:14Used by:31
Symbol 25 GraphicUsed by:31
Symbol 26 TextUses:14Used by:31
Symbol 27 GraphicUsed by:31
Symbol 28 TextUses:14Used by:31
Symbol 29 GraphicUsed by:31
Symbol 30 TextUses:14Used by:31
Symbol 31 MovieClip [hint2_mc]Uses:17 18 19 20 21 22 23 24 25 26 27 28 29 30Used by:Timeline
Symbol 32 GraphicUsed by:33
Symbol 33 MovieClip [goal_mc]Uses:32Used by:Timeline
Symbol 34 GraphicUsed by:39
Symbol 35 TextUses:14Used by:39
Symbol 36 TextUses:14Used by:39
Symbol 37 TextUses:14Used by:39
Symbol 38 TextUses:14Used by:39
Symbol 39 MovieClip [hint_mc]Uses:34 35 36 37 38Used by:Timeline
Symbol 40 BitmapUsed by:41
Symbol 41 GraphicUses:40Used by:42 53
Symbol 42 MovieClipUses:41Used by:45 50 53 58
Symbol 43 BitmapUsed by:44
Symbol 44 GraphicUses:43Used by:45
Symbol 45 MovieClip [pil4_mc]Uses:42 44Used by:47
Symbol 46 TextUses:14Used by:47
Symbol 47 MovieClip [p4_mc]Uses:45 46Used by:Timeline
Symbol 48 BitmapUsed by:49
Symbol 49 GraphicUses:48Used by:50
Symbol 50 MovieClip [pil3_mc]Uses:42 49Used by:52
Symbol 51 TextUses:14Used by:52
Symbol 52 MovieClip [p3_mc]Uses:50 51Used by:Timeline
Symbol 53 MovieClip [pil1_mc]Uses:42 41Used by:55
Symbol 54 TextUses:14Used by:55
Symbol 55 MovieClip [p2_mc]Uses:53 54Used by:Timeline
Symbol 56 BitmapUsed by:57
Symbol 57 GraphicUses:56Used by:58
Symbol 58 MovieClip [pil2_mc]Uses:42 57Used by:60
Symbol 59 TextUses:14Used by:60
Symbol 60 MovieClip [p1_mc]Uses:58 59Used by:Timeline
Symbol 61 TextUses:14Used by:66
Symbol 62 GraphicUsed by:63
Symbol 63 MovieClipUses:62Used by:66 79 82 84 99 101 103 105 107 109
Symbol 64 GraphicUsed by:65
Symbol 65 MovieClip [cross_mc]Uses:64Used by:66 79 82 84 99 101 103 105 107 109
Symbol 66 MovieClip [niv4]Uses:61 63 65Used by:Timeline
Symbol 67 BitmapUsed by:68
Symbol 68 GraphicUses:67Used by:Timeline
Symbol 127 MovieClip [__Packages.MochiAd]
Symbol 69 FontUsed by:70 71 72 76 118 119
Symbol 70 TextUses:69Used by:Timeline
Symbol 71 TextUses:69Used by:73 97
Symbol 72 TextUses:69Used by:73 97
Symbol 73 ButtonUses:71 72Used by:Timeline
Symbol 74 TextUses:14Used by:Timeline
Symbol 75 TextUses:14Used by:Timeline
Symbol 76 EditableTextUses:14 69 117Used by:Timeline
Symbol 77 TextUses:14Used by:Timeline
Symbol 78 TextUses:14Used by:79
Symbol 79 MovieClipUses:78 63 65Used by:Timeline
Symbol 80 TextUses:14Used by:82
Symbol 81 TextUses:14Used by:82
Symbol 82 MovieClipUses:80 63 81 65Used by:Timeline
Symbol 83 TextUses:14Used by:84
Symbol 84 MovieClipUses:83 63 65Used by:Timeline
Symbol 85 TextUses:14Used by:86
Symbol 86 ButtonUses:85Used by:Timeline
Symbol 87 TextUses:14Used by:88
Symbol 88 ButtonUses:87Used by:Timeline
Symbol 89 FontUsed by:90
Symbol 90 TextUses:89Used by:Timeline
Symbol 91 TextUses:14Used by:Timeline
Symbol 92 TextUses:14Used by:Timeline
Symbol 93 GraphicUsed by:Timeline
Symbol 94 EditableTextUses:14Used by:Timeline
Symbol 95 EditableTextUses:14Used by:Timeline
Symbol 96 EditableTextUses:14Used by:Timeline
Symbol 97 ButtonUses:71 72Used by:Timeline
Symbol 98 TextUses:14Used by:99
Symbol 99 MovieClipUses:63 98 65Used by:Timeline
Symbol 100 TextUses:14Used by:101
Symbol 101 MovieClipUses:63 100 65Used by:Timeline
Symbol 102 TextUses:14Used by:103
Symbol 103 MovieClipUses:63 102 65Used by:Timeline
Symbol 104 TextUses:14Used by:105
Symbol 105 MovieClipUses:63 104 65Used by:Timeline
Symbol 106 TextUses:14Used by:107
Symbol 107 MovieClipUses:63 106 65Used by:Timeline
Symbol 108 TextUses:14Used by:109
Symbol 109 MovieClipUses:63 108 65Used by:Timeline
Symbol 110 GraphicUsed by:113 115 122
Symbol 111 TextUses:14Used by:113 115
Symbol 112 TextUses:14Used by:113 115
Symbol 113 ButtonUses:110 111 112Used by:Timeline
Symbol 114 TextUses:14Used by:Timeline
Symbol 115 ButtonUses:110 111 112Used by:Timeline
Symbol 116 TextUses:14Used by:Timeline
Symbol 117 FontUsed by:76 118 119
Symbol 118 EditableTextUses:14 69 117Used by:Timeline
Symbol 119 EditableTextUses:14 69 117Used by:Timeline
Symbol 120 TextUses:14Used by:122
Symbol 121 TextUses:14Used by:122
Symbol 122 ButtonUses:110 120 121Used by:Timeline
Symbol 123 EditableTextUses:14Used by:Timeline
Symbol 124 EditableTextUses:14Used by:Timeline
Symbol 125 EditableTextUses:14Used by:Timeline
Symbol 126 EditableTextUses:14Used by:Timeline

Instance Names

"niv2_mc"Frame 3Symbol 79 MovieClip
"niv1_mc"Frame 3Symbol 82 MovieClip
"niv3_mc"Frame 3Symbol 84 MovieClip
"niv4_mc"Frame 3Symbol 66 MovieClip [niv4]
"p1"Frame 3Symbol 60 MovieClip [p1_mc]
"p2"Frame 3Symbol 55 MovieClip [p2_mc]
"p3"Frame 3Symbol 52 MovieClip [p3_mc]
"p4"Frame 3Symbol 47 MovieClip [p4_mc]
"hint"Frame 3Symbol 39 MovieClip [hint_mc]
"start_btn"Frame 3Symbol 86 Button
"stop_btn"Frame 3Symbol 88 Button
"counter_txt"Frame 4Symbol 94 EditableText
"hi_txt"Frame 4Symbol 95 EditableText
"goal1_mc"Frame 4Symbol 33 MovieClip [goal_mc]
"goal2_mc"Frame 4Symbol 33 MovieClip [goal_mc]
"chal_txt"Frame 4Symbol 96 EditableText
"chal_start"Frame 4Symbol 97 Button
"chal1_mc"Frame 4Symbol 99 MovieClip
"chal2_mc"Frame 4Symbol 101 MovieClip
"hint2"Frame 4Symbol 31 MovieClip [hint2_mc]
"chal3_mc"Frame 4Symbol 103 MovieClip
"chal4_mc"Frame 4Symbol 105 MovieClip
"chal5_mc"Frame 4Symbol 107 MovieClip
"chal6_mc"Frame 4Symbol 109 MovieClip
"hi_btn"Frame 6Symbol 122 Button
"counter_txt"Frame 6Symbol 123 EditableText
"hi_txt"Frame 6Symbol 124 EditableText
"counter_txt"Frame 7Symbol 125 EditableText
"hi_txt"Frame 7Symbol 126 EditableText

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS1/AS2.
ExportAssets (56)Timeline Frame 1Symbol 1 as "whoo_wav"
ExportAssets (56)Timeline Frame 1Symbol 2 as "tooor_wav"
ExportAssets (56)Timeline Frame 1Symbol 3 as "thud_wav"
ExportAssets (56)Timeline Frame 1Symbol 4 as "MP3"
ExportAssets (56)Timeline Frame 1Symbol 5 as "ow_mp3"
ExportAssets (56)Timeline Frame 1Symbol 6 as "oue_wav"
ExportAssets (56)Timeline Frame 1Symbol 7 as "jos1_wav"
ExportAssets (56)Timeline Frame 1Symbol 8 as "loop_wav"
ExportAssets (56)Timeline Frame 1Symbol 9 as "bloop2_wav"
ExportAssets (56)Timeline Frame 1Symbol 10 as "playersBitmap"
ExportAssets (56)Timeline Frame 1Symbol 11 as "ballBitmap"
ExportAssets (56)Timeline Frame 1Symbol 13 as "mball_mc"
ExportAssets (56)Timeline Frame 1Symbol 16 as "succes"
ExportAssets (56)Timeline Frame 1Symbol 31 as "hint2_mc"
ExportAssets (56)Timeline Frame 1Symbol 33 as "goal_mc"
ExportAssets (56)Timeline Frame 1Symbol 39 as "hint_mc"
ExportAssets (56)Timeline Frame 1Symbol 45 as "pil4_mc"
ExportAssets (56)Timeline Frame 1Symbol 47 as "p4_mc"
ExportAssets (56)Timeline Frame 1Symbol 50 as "pil3_mc"
ExportAssets (56)Timeline Frame 1Symbol 52 as "p3_mc"
ExportAssets (56)Timeline Frame 1Symbol 53 as "pil1_mc"
ExportAssets (56)Timeline Frame 1Symbol 55 as "p2_mc"
ExportAssets (56)Timeline Frame 1Symbol 58 as "pil2_mc"
ExportAssets (56)Timeline Frame 1Symbol 60 as "p1_mc"
ExportAssets (56)Timeline Frame 1Symbol 65 as "cross_mc"
ExportAssets (56)Timeline Frame 1Symbol 66 as "niv4"
ExportAssets (56)Timeline Frame 1Symbol 127 as "__Packages.MochiAd"

Labels

"Setup"Frame 2
"Menu"Frame 3
"Challenge"Frame 4
"Game"Frame 5
"End"Frame 6
"GameOver"Frame 6
"Hiscore"Frame 7




http://swfchan.com/10/48056/info.shtml
Created: 30/4 -2019 16:34:32 Last modified: 30/4 -2019 16:34:32 Server time: 17/05 -2024 20:25:12