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

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

Soccer Challenge.swf

This is the info page for
Flash #117182

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


Text
<p align="center"></p>

SOUNDS

GAME

Score at least 3 goals to
move on to the next level!
Click the first time to set
the direction the ball will
go in. The second click will
control the amount of
power the kick will have.
Have fun!

Select a Player:

<p align="center"></p>

ActionScript [AS1/AS2]

Instance of Symbol 115 MovieClip in Frame 1
//component parameters onClipEvent (construct) { xin_motion_val = "Down"; xin_alphatype_val = "Yes"; xout_motion_val = "Down"; xout_alphatype_val = "Yes"; perc_req_val = 90; show_perc_val = "Yes"; slow_factor_val = 0.3; init_action_val = "_root.stop();"; play_action_val = "_root.play();"; }
Frame 172
stop();
Frame 173
stop(); if (_global.sound_name == undefined) { _global.sound_name = new Sound(_root); if (Math.random() < 0.5) { _global.sound_name.attachSound("background1"); } else { _global.sound_name.attachSound("background2"); } _global.sound_name.start(); _global.sound_name.start(0, 999); }
Instance of Symbol 102 MovieClip [GameComponent] "game" in Frame 173
//component parameters onClipEvent (construct) { cp_debug = false; cp_level_num = 0; cp_hits_num = 3; cp_attempts_num = 10; cp_points_hit = 30; cp_points_miss = -10; cp_goalie_per = 50; }
Frame 174
stop();
Symbol 13 MovieClip Frame 1
this._visible = false;
Symbol 35 MovieClip Frame 9
this._parent._parent.check_ball();
Symbol 35 MovieClip Frame 45
stop();
Symbol 37 MovieClip Frame 45
stop();
Symbol 42 MovieClip Frame 45
stop();
Symbol 43 MovieClip Frame 45
stop();
Symbol 49 MovieClip Frame 4
this._parent._parent.goalie_got();
Symbol 49 MovieClip Frame 31
stop();
Symbol 50 MovieClip Frame 30
stop();
Symbol 51 MovieClip Frame 30
stop();
Symbol 64 MovieClip Frame 30
this.stop();
Symbol 65 MovieClip Frame 1
stop();
Symbol 67 MovieClip Frame 1
this.ball_mc.stop();
Symbol 73 MovieClip Frame 1
this.stop();
Symbol 73 MovieClip Frame 9
this._parent._parent.launch_shot();
Symbol 78 MovieClip Frame 1
this.stop();
Symbol 78 MovieClip Frame 9
this._parent._parent.launch_shot();
Symbol 98 MovieClip Frame 1
this.stop();
Symbol 102 MovieClip [GameComponent] Frame 1
#initclip 1 MovieClip.prototype.playing = false; MovieClip.prototype.mouseOver = false; MovieClip.prototype._currentlabel = ""; MovieClip.prototype.intersects = function (_mc, align_x, align_y) { var _local3 = new Array(); var _local2 = new Array(); switch (align_x) { case "center" : _local3.push(this._x - (this._width / 2)); _local3.push(this._x + (this._width / 2)); _local2.push(_mc._x - (_mc._width / 2)); _local2.push(_mc._x + (_mc._width / 2)); break; case "left" : _local3.push(this._x); _local3.push(this._x + this._width); _local2.push(_mc._x); _local2.push(_mc._x + _mc._width); break; case "right" : _local3.push(this._x - this._width); _local3.push(this._x); _local2.push(_mc._x - _mc._width); _local2.push(_mc._x); } switch (align_y) { case "center" : _local3.push(this._y - (this._height / 2)); _local3.push(this._y + (this._height / 2)); _local2.push(_mc._y - (_mc._height / 2)); _local2.push(_mc._y + (_mc._height / 2)); break; case "top" : _local3.push(this._y); _local3.push(this._y + this._height); _local2.push(_mc._y); _local2.push(_mc._y + _mc._height); break; case "bottom" : _local3.push(this._y - this._height); _local3.push(this._y); _local2.push(_mc._y - _mc._height); _local2.push(_mc._y); } if ((_local3[0] < _local2[0]) && (_local3[1] > _local2[0])) { return(1); } if ((_local3[0] < _local2[1]) && (_local3[1] > _local2[1])) { return(1); } if ((_local3[2] < _local2[2]) && (_local3[3] > _local2[2])) { return(2); } if ((_local3[2] < _local2[3]) && (_local3[3] > _local2[3])) { return(2); } return(0); }; MovieClip.prototype._play = function () { this.playing = true; this.play(); }; MovieClip.prototype._stop = function () { this.playing = false; this.stop(); }; MovieClip.prototype._gotoAndPlay = function (frame) { this.playing = true; if (typeof(frame) == "string") { this._currentlabel = frame; } this.gotoAndPlay(frame); }; MovieClip.prototype._gotoAndStop = function (frame) { this.playing = false; if (typeof(frame) == "string") { this._currentlabel = frame; } this.gotoAndStop(frame); }; MovieClip.prototype.hasLabel = function (label) { this.duplicateMovieClip("__TEMP__", 97324, {_x:-1, _y:-1, _visible:false, _width:1, _height:1}); new Sound(this._parent.__TEMP__).setVolume(0); this._parent.__TEMP__.gotoAndStop(label); var _local3 = this._parent.__TEMP__._currentframe; this._parent.__TEMP__.nextFrame(); this._parent.__TEMP__.gotoAndStop(label); var _local4 = this._parent.__TEMP__._currentframe; var _local2 = _local3 == _local4; this._parent.__TEMP__.removeMovieClip(); return(_local2); }; MovieClip.prototype.gotoAndPlayRandom = function () { var _local2 = new Number(); this._gotoAndPlay(_local2.randi(1, this._totalframes + 1)); }; MovieClip.prototype.gotoAndStopRandom = function () { var _local2 = new Number(); this._gotoAndStop(_local2.randi(1, this._totalframes + 1)); }; Number.prototype.isOdd = function (x) { return(x % 2); }; Number.prototype.randi = function (a, b) { return(Math.floor(Math.random() * (b - a)) + Math.floor(a)); }; Array.prototype.swap_elements = function (a, b) { var _local2 = this[a]; this[a] = this[b]; this[b] = _local2; }; Array.prototype.copy = function (_array) { var _local2 = 0; while (_local2 < _array.length) { this[_local2] = _array[_local2]; _local2++; } return(this); }; Array.prototype.swap_elements2D = function (a, b, c, d) { if ((a == c) && (b == d)) { return(undefined); } var _local3 = this[a][b]; this[a][b] = this[c][d]; this[c][d] = _local3; }; Array.prototype.randomize = function () { var _local3 = new Number(); var _local2 = 0; while (_local2 < this.length) { this.swap_elements(_local3.randi(0, this.length), _local3.randi(0, this.length)); _local2++; } }; Array.prototype.randomize2D = function () { var _local5 = this.length; var _local4 = this[0].length; var _local2 = new Number(); var _local3 = 0; while (_local3 < (_local5 * _local4)) { this.swap_elements2D(_local2.randi(0, _local5), _local2.randi(0, _local4), _local2.randi(0, _local5), _local2.randi(0, _local4)); _local3++; } }; Array.prototype.build_2D_Array = function (x, y) { var _local5 = 0; var _local4 = 0; var _local3 = 0; while (_local3 < x) { this[_local3] = new Array(); var _local2 = 0; while (_local2 < y) { if ((_local4 != 0) && ((_local4 % 2) == 0)) { _local5++; } this[_local3][_local2] = Math.floor(_local5); _local4++; _local2++; } _local3++; } }; Array.prototype.return_random_element = function () { var _local2 = new Number(); return(this[_local2.randi(0, this.length)]); }; Array.prototype.get_random_indices = function (a, b) { var _local2 = new Array(); var _local1 = a; while (_local1 <= b) { _local2.push(_local1); _local1++; } _local2.randomize(); return(_local2); }; Array.prototype.contains = function (_array) { var _local2 = 0; while (_local2 < _array.length) { if (this.return_indices(_array[_local2]) == -1) { return(false); } _local2++; } return(true); }; Array.prototype.return_indices = function (a) { var _local2 = 0; while (_local2 < this.length) { if (this[_local2] == a) { return(_local2); } _local2++; } return(-1); }; Array.prototype.remove_element = function (a) { var _local2 = this.return_indices(a); if (_local2 == -1) { return(this); } var _local4 = this.slice(0, _local2); var _local3 = this.slice(_local2 + 1, this.length); this=_local4.concat(_local3);//parameter overwritten _local4.concat(_local3); return(this); }; Array.prototype.remove_indices = function (a) { var _local3 = this.slice(0, a); var _local2 = this.slice(a + 1, this.length); this=_local3.concat(_local2);//parameter overwritten _local3.concat(_local2); return(this); }; Array.prototype.push_no_duplicate = function (a) { var _local2 = this.return_indices(a); if (_local2 == -1) { this.push(a); } return(this); }; Array.prototype.populate = function (_indices, _number, _increase) { var _local2 = 0; while (_local2 < _indices) { if (_increase) { var _local3 = _number + _local2; } else { var _local3 = _number; } if (this[_local2] == undefined) { this.push(_local3); } else { this[_local2] = _local3; } _local2++; } return(this); }; Array.NumericSortFunction = function (A, B) { if (A < B) { return(-1); } if (A > B) { return(1); } return(0); }; Array.prototype.rande = function () { var _local2 = new Number(); return(this[_local2.randi(0, this.length)]); }; Array.prototype.hasElement = function (e) { var _local2 = 0; while (_local2 < this.length) { if (this[_local2] == e) { return(true); } _local2++; } return(false); }; Array.prototype.swap = function (a, b) { var _local2 = this[a]; this[a] = this[b]; this[b] = _local2; }; Array.prototype.removeElementByProp = function (e) { var _local2 = 0; while (_local2 < this.length) { var _local3 = true; for (var _local5 in this[_local2]) { if (this[_local2][_local5] != e[_local5]) { _local3 = false; } } if (_local3) { this.splice(_local2, 1); _local2--; } _local2++; } }; Array.prototype.randomize_array_letters = function () { var _local2 = new String(); var _local4 = 0; while (_local4 < this.length) { var _local5 = 0; while (_local5 < this[_local4].length) { _local2 = _local2 + this[_local4].charAt(_local5); _local5++; } _local4++; } var _local8 = new Array(); _local4 = 0; while (_local4 < this.length) { _local8[_local4] = new String(); var _local5 = 0; while (_local5 < this[_local4].length) { var _local7 = new Number(); var _local3 = _local7.randi(0, _local2.length); var _local6 = _local2.charAt(_local3); _local2 = _local2.substr(0, _local3) + _local2.substr(_local3 + 1, _local2.length - _local3); _local8[_local4] = _local8[_local4] + _local6; _local5++; } _local4++; } return(_local8); }; String.prototype.replace = function (s, r) { var _local4 = ""; var _local2 = 0; while (_local2 = this.indexOf(s) , _local2 != -1) { _local4 = _local4 + (this.substr(0, _local2) + r); this=this.substr(_local2 + s.length);//parameter overwritten this.substr(_local2 + s.length); } return(_local4 + this); }; String.prototype.return_reverse = function () { var _local3 = ""; var _local2 = this.length - 1; while (_local2 >= 0) { _local3 = _local3 + this.charAt(_local2); _local2--; } return(_local3); }; String.prototype.replace_where = function (where, newChar) { var _local2 = ""; _local2 = this.substring(0, where) + newChar; _local2 = _local2 + this.substring(where + 1, this.length); return(_local2); }; String.prototype.remove_where = function (s) { var _local2 = ""; _local2 = this.substring(0, s); _local2 = _local2 + this.substring(s + 1, this.length); return(_local2); }; String.prototype.pad = function (s, n) { var _local3 = ""; var _local2 = 0; while (_local2 < n) { _local3 = _local3 + s; _local2++; } _local3 = _local3 + this; return(_local3); }; String.prototype.randomize_letters = function () { var _local3 = new Array(); var _local2 = 0; while (_local2 < this.length) { _local3.push(this.charAt(_local2)); _local2++; } _local3.randomize(); var _local4 = new String(); _local2 = 0; while (_local2 < _local3.length) { _local4 = _local4 + _local3[_local2]; _local2++; } return(_local4); }; _global.convert_time = function (time) { if (time <= 0) { time = 0; return("0:00"); } var _local1 = Math.floor(time / 60); var _local3 = 0; if (_local1 > 60) { _local3 = Math.floor(_local1 / 60); } var _local2 = time % 60; if (_local2 <= 9) { _local2 = "0" + _local2; } if (_local3 == 0) { return((_local1 + ":") + _local2); } if (_local1 <= 9) { _local1 = "0" + _local1; } return((((_local3 + ":") + _local1) + ":") + _local2); }; _global.returnConstantString = function (char, n) { var _local2 = ""; var _local1 = 0; while (_local1 < n) { _local2 = _local2 + char; _local1++; } return(_local2); }; ASSetPropFlags(_global, "returnConstantString", 1); _global.recursiveObjectTrace = function (obj, level) { if (level == undefined) { level = 0; } for (var _local3 in obj) { if (typeof(obj[_local3]) == "object") { trace(((returnConstantString(" ", level * 4) + _local3) + " = ") + obj[_local3]); trace(returnConstantString(" ", level * 4) + "{"); recursiveObjectTrace(obj[_local3], level + 1); trace(returnConstantString(" ", level * 4) + "}"); } else { trace(((returnConstantString(" ", level * 4) + _local3) + " = ") + obj[_local3]); } } }; ASSetPropFlags(_global, "recursiveObjectTrace", 1); Game = function () { this._visible = false; this.debug = this.cp_debug; this.level_num = this.cp_level_num; this.hits_num = this.cp_hits_num; this.attempts_num = this.cp_attempts_num; this.points_hit = this.cp_points_hit; this.points_miss = this.cp_points_miss; this.goalie_per = this.cp_goalie_per; this.change_mode("pause", ""); this.timeline = this; for (var _local2 in this) { if (_local2.indexOf("cp_") != -1) { delete this[_local2]; } } this.initialize(); }; Game.prototype = new MovieClip(); Object.registerClass("GameComponent", Game); Object.prototype.SECOND = 1000; Game.prototype.initialize = function () { this.initialize_variables(); this.initialize_graphics(); this.initialize_level(); this._visible = true; }; Game.prototype.initialize_variables = function () { this._num = new Number(); this.score = 0; this.depth = 1; this.move_div = 10; this.attempt_count = 0; this.hit_count = 0; this.high_kick = false; this.goal_possible = false; this.goal_catch = false; this.kicker_mc.gotoAndStop(this._parent.kicker_use); this.power_range = [100, 500]; this.current_power = 0; this.aim_range = [0, 600]; this.aim_ratio = (this.aim_range[1] - this.aim_range[0]) / this.aim_mc._totalframes; this.aim_place = 0; this.max_power = this.power_mc._totalframes / 2; this.score_possibility = 100 - this.goalie_per; }; Game.prototype.initialize_graphics = function () { this.aim_mc.stop(); this.power_mc.stop(); this.power_mc._visible = false; this.kicker_mc._visible = false; this.update_displays(); }; Game.prototype.initialize_level = function () { this.current_level = 1; this.timeline.game_prompt.prompt_txt.text = "Level " + this.current_level; this.timeline.game_prompt.swapDepths(this.depth++); _global.startID = setInterval(this.timeline, "next_ball", 2000); }; Game.prototype.next_level = function () { clearInterval(_global.nextID); if (this.hit_count < this.hits_num) { this.game_over(); return(undefined); } this.current_level++; if ((this.level_num != 0) && (this.level_num < this.current_level)) { this.game_over(); return(undefined); } this.score_possibility = this.score_possibility - 5; if (this.score_possibility < 25) { this.score_possibility = 25; } this.attempt_count = 0; this.hit_count = 0; this.hits_num++; this.timeline.game_prompt._visible = true; this.timeline.game_prompt.prompt_txt.text = "Level " + this.current_level; this.timeline.game_prompt.swapDepths(this.depth++); _global.startID = setInterval(this.timeline, "next_ball", 2000); }; Game.prototype.next_ball = function () { clearInterval(_global.nextID); clearInterval(_global.startID); this.aim_mc.gotoAndStop(1); this.aim_mc._visible = true; this.goalie_mc.gotoAndStop(1); if (this.goalie_mc._xscale < 0) { this.goalie_mc._xscale = this.goalie_mc._xscale * -1; } this.goalie_mc._x = Stage.width / 2; this.power_mc.gotoAndStop(1); this.power_mc._visible = false; if (this.kicker_mc._xscale < 0) { this.kicker_mc._xscale = this.kicker_mc._xscale * -1; } this.kicker_mc._visible = false; this.kicker_mc.kicker_mc.gotoAndStop(1); if (this.attempt_count >= this.attempts_num) { this.next_level(); return(undefined); } this.timeline.game_prompt._visible = true; this.timeline.game_prompt.prompt_txt.text = "Get ready for ball " + (this.attempt_count + 1); this.timeline.game_prompt.swapDepths(this.depth++); _global.startID = setInterval(this.timeline, "start_game", 2000); }; Game.prototype.start_game = function () { clearInterval(_global.startID); this.timeline.game_prompt._visible = false; this.aim_mc.play(); this.change_mode("play", "aim"); }; Game.prototype.onEnterFrame = function () { if (this.game_mode == "pause") { return(undefined); } }; Game.prototype.onMouseUp = function () { if (this.game_mode != "play") { return(undefined); } if (this.sub_mode == "aim") { this.start_power(); } else if (this.sub_mode == "power") { this.start_shooting(); } }; Game.prototype.start_power = function () { this.play_selected_sound("select"); this.aim_mc.stop(); this.aim_place_x = this.aim_range[0] + (this.aim_ratio * this.aim_mc._currentframe); this.aim_place_y = 200; this.power_mc._visible = true; this.power_mc.play(); this.change_mode("play", "power"); }; Game.prototype.start_shooting = function () { this.attempt_count++; this.play_selected_sound("select"); this.goalie_mc.goalie.play(); this.goal_possible = true; this.goal_catch = false; this.power_mc.stop(); this.power_mc._visible = false; this.aim_mc._visible = false; if (this.power_mc._currentframe > 50) { this.current_power = 100 - this.power_mc._currentframe; } else { this.current_power = this.power_mc._currentframe; } this.lives_display.text = this.current_power; if (Math.random() < (this.score_possibility / 100)) { this.high_kick = false; if (this.current_power >= ((this.max_power * 3) / 4)) { var _local3 = Math.random(); if (_local3 <= 0.1) { this.high_kick = true; this.aim_place_y = 50; this.goal_possible = false; } } if (this.goal_possible) { var _local3 = Math.random() * this.current_power; if (_local3 < (this.max_power / 4)) { this.goal_possible = false; } } } else { this.goal_possible = false; } this.shoot_object = this.timeline.attachMovie("shoot_object", "shoot_object", this.depth++); var _local2 = {x:this.timeline.aim_mc.ball_mc._x, y:this.timeline.aim_mc.ball_mc._y}; this.timeline.aim_mc.localToGlobal(_local2); this.shoot_object._x = _local2.x; this.shoot_object._y = _local2.y; this.kicker_mc.kicker_mc.play(); this.kicker_mc.swapDepths(this.depth++); this.kicker_mc._visible = true; this.kicker_mc._x = this.shoot_object._x; this.kicker_mc._y = this.shoot_object._y - 40; if (this.aim_mc._currentframe > 50) { this.kicker_mc._xscale = this.kicker_mc._xscale * -1; } this.change_mode("play", "shoot"); }; Game.prototype.launch_shot = function () { var _local2 = Math.ceil(Math.random() * 3); this.play_selected_sound("kick" + _local2); this.move_div = 55 - this.current_power; this.shoot_object.vel_x = (this.shoot_object._x - this.aim_place_x) / this.move_div; this.shoot_object.vel_y = (this.shoot_object._y - this.aim_place_y) / this.move_div; this.shoot_object.aim_y = this.aim_place_y; this.shoot_object.scale_change = this.current_power / 10; if (!this.goal_hitSpot.hitTest(this.aim_place_x, this.aim_place_y, true)) { this.goal_possible = false; if (this.high_kick) { this.goalie_mc.gotoAndStop("too_high"); this.goalie_mc._x = this.aim_place_x; } else { this.goalie_mc.gotoAndStop("miss_low"); } } else if (!this.goal_possible) { this.goalie_mc.gotoAndStop("catch"); this.goal_catch = true; this.goalie_mc._x = this.aim_place_x; } else { this.fake_out(); } if (this.aim_place_x >= (Stage.width / 2)) { this.goalie_mc._xscale = this.goalie_mc._xscale * -1; } this.goalie_mc.goalie.play(); var _local3 = this.shoot_object._y - this.hit_y; this.shoot_object.onEnterFrame = this.move_object; }; Game.prototype.fake_out = function () { var _local3 = Math.random(); _local3 = Math.round(Math.random() * 5); switch (_local3) { case 0 : this.goalie_mc.gotoAndStop("miss_high"); break; case 1 : this.goalie_mc.gotoAndStop("miss_low"); break; case 2 : this.goalie_mc.gotoAndStop("too_high"); break; case 3 : this.goalie_mc.gotoAndStop("fake1"); break; case 4 : var _local2 = Math.ceil(Math.random() * 50) + this.shoot_object._width; if (Math.random() < 0.5) { this.goalie_mc._x = this.aim_place_x + _local2; } else { this.goalie_mc._x = this.aim_place_x - _local2; } this.goalie_mc.gotoAndStop("miss"); } if (Math.random() < 0.5) { this.goalie_mc._xscale = this.goalie_mc._xscale * -1; } }; Game.prototype.update_game_properties = function () { }; Game.prototype.display_time = function (time) { this.timer.text = convert_time(time); }; Game.prototype.update_displays = function () { this.score_display.text = this.score; }; Game.prototype.check_game_over = function () { }; Game.prototype.move_object = function () { this._y = this._y - this.vel_y; this._x = this._x - this.vel_x; this._xscale = (this._yscale = this._yscale - this.scale_change); if (!this._parent.goal_possible) { if (this.hitTest(this._parent.goalie_mc)) { this._parent.ball_out(); } } if (this._y < this.aim_y) { if (this._parent.goal_possible) { this._parent.score_goal(); } else { this._parent.ball_out(); } } }; Game.prototype.score_goal = function () { if (this.game_mode != "wait") { this.hit_count++; var _local3 = Math.ceil(Math.random() * 2); this.play_selected_sound("net" + _local3); this.score = this.score + this.points_hit; this.update_displays(); this.shoot_object.onEnterFrame = undefined; this.shoot_object.removeMovieClip(); this.play_selected_sound("cheer"); this.change_mode("wait", ""); _global.nextID = setInterval(this, "next_ball", 2000); } }; Game.prototype.ball_out = function () { if (this.game_mode != "wait") { this.score = this.score + this.points_miss; this.update_displays(); this.shoot_object.onEnterFrame = undefined; this.shoot_object.removeMovieClip(); this.play_selected_sound("miss"); this.change_mode("wait", ""); _global.nextID = setInterval(this, "next_ball", 2000); } }; Game.prototype.goalie_got = function () { this.play_selected_sound("catch"); if (this.game_mode != "wait") { this.shoot_object.onEnterFrame = undefined; this.shoot_object.removeMovieClip(); this.score = this.score + this.points_miss; this.update_displays(); this.play_selected_sound("miss"); this.change_mode("wait", ""); _global.nextID = setInterval(this, "next_ball", 2000); } }; Game.prototype.game_over = function () { _root.score = this.score; this.timeline._parent.gotoAndStop("over"); }; Game.prototype.find_piece_hit = function (_object, over_list) { var _local1 = 0; while (_local1 < over_list.length) { var _local2 = over_list[_local1]; if (_local2.hitTest(_object)) { return(_local2); } _local1++; } }; Game.prototype.find_piece_over = function (x_selected, y_selected, over_list) { var _local1 = 0; while (_local1 < over_list.length) { var _local2 = over_list[_local1]; if (_local2.hitTest(x_selected, y_selected, true)) { return(_local2); } _local1++; } }; Game.prototype.play_selected_sound = function (sound_name) { this.timeline.sounds_mc.gotoAndStop(sound_name); this.timeline.sounds_mc.gotoAndStop(1); }; Game.prototype.change_mode = function (new_mode, sub_mode) { this.old_mode = this.game_mode; this.game_mode = new_mode; this.sub_mode = sub_mode; }; #endinitclip
Instance of Symbol 101 MovieClip in Symbol 102 MovieClip [GameComponent] Frame 1
onClipEvent (load) { this._visible = false; }
Symbol 115 MovieClip Frame 1
stop();
Instance of Symbol 114 MovieClip "swfloader" in Symbol 115 MovieClip Frame 1
onClipEvent (load) { function strip_spaces(str) { var _local3 = new String(""); var _local1 = 0; while (_local1 < str.length) { if ((str.charAt(_local1) != " ") && (str.charAt(_local1) != ";")) { _local3 = _local3 + str.charAt(_local1); } _local1++; } return(_local3); } function simple_script(action, timeline) { action = strip_spaces(action); if ((action.length > 0) && ((action.indexOf(")") != -1) && (action.indexOf("(") != -1))) { var _local3 = action.split("."); var _local5 = _local3.pop(); var _local7 = _local5.indexOf("("); var _local9 = _local5.indexOf(")"); var _local8 = _local5.substr(0, _local7); var _local4 = _local5.substr(_local7 + 1, _local9 - (_local7 + 1)); var _local2 = timeline; var _local1 = 0; while (_local1 < _local3.length) { _local2 = _local2[_local3[_local1]]; _local1++; } if (_local4.indexOf("\"") != -1) { _local4 = _local4.substr(1, _local4.length - 2); } _local2[_local8](_local4); } } function execute_action() { unloaded = true; _parent._visible = false; simple_script(_parent.play_action_val, _parent); } _parent.anim.gotoAndStop(1); simple_script(_parent.init_action_val, _parent); var done = false; var unloaded = false; var orig_x = _parent._x; var orig_y = _parent._y; var dist_x = (_parent._x + ((_parent._width * 2) / 3)); var dist_y = (_parent._y + ((_parent._height * 2) / 3)); var orig_a = _parent._alpha; var accel_jump = 0.75; var slow_factor = _parent.slow_factor_val; var speed_factor = (1 + (slow_factor / (1 - slow_factor))); var ready = false; var perc_fadeout = 0; _parent.perc._x = _parent.anim._x - (_parent.perc._width / 2); _parent.perc._y = _parent.anim._y - (_parent.perc._height / 2); if (slow_factor < 1) { switch (_parent.xin_motion_val) { case "Up" : _parent._y = orig_y + (dist_y * 2); break; case "Down" : _parent._y = orig_y - (dist_y * 2); break; case "Left" : _parent._x = orig_x + (dist_x * 2); break; case "Right" : _parent._x = orig_x - (dist_x * 2); break; case "Toward" : _parent._xscale = (_parent._yscale = 1); break; case "None" : _parent._alpha = 0; } } else { ready = true; } } onClipEvent (enterFrame) { if (unloaded) { return(undefined); } if (!ready) { switch (_parent.xin_motion_val) { case "Toward" : _parent._xscale = _parent._xscale + ((100 - _parent._xscale) * slow_factor); _parent._yscale = _parent._xscale; if (_parent.xin_alphatype_val == "Yes") { _parent._alpha = Math.round((orig_a / 100) * Math.max(0, Math.min(_parent._xscale, 100))); } if (Math.abs(100 - _parent._xscale) < 0.5) { _parent._xscale = (_parent._yscale = 100); _parent._alpha = orig_a; ready = true; } break; default : _parent._x = _parent._x + ((orig_x - _parent._x) * slow_factor); _parent._y = _parent._y + ((orig_y - _parent._y) * slow_factor); if (_parent.xin_alphatype_val == "Yes") { if (_parent.xin_motion_val == "None") { _parent._alpha = _parent._alpha + ((orig_a - _parent._alpha) * slow_factor); } else if (Math.abs(orig_x - _parent._x) > Math.abs(orig_y - _parent._y)) { _parent._alpha = 100 - Math.round(((orig_a / 100) * (Math.min(dist_x, Math.abs(_parent._x - orig_x)) / dist_x)) * 100); } else { _parent._alpha = 100 - Math.round(((orig_a / 100) * (Math.min(dist_y, Math.abs(_parent._y - orig_y)) / dist_y)) * 100); } } if (!(((_parent.xin_motion_val == "None") && (Math.abs(_parent._alpha - orig_a) <= 1)) || (((_parent.xin_motion_val != "None") && (Math.abs(_parent._y - orig_y) < 0.5)) && (Math.abs(_parent._x - orig_x) < 0.5)))) { break; } _parent._x = orig_x; _parent._y = orig_y; _parent._alpha = orig_a; ready = true; } } else if (!done) { var rl = _root.getBytesLoaded(); var rt = (_root.getBytesTotal() * (_parent.perc_req_val / 100)); if ((rl > 10) && (rt > 10)) { rl = Math.min(rl, rt); var new_frame = (_parent.anim._currentframe + Math.ceil(((_parent.anim._totalframes * (rl / rt)) - _parent.anim._currentframe) / 4)); new_frame = Math.max(1, new_frame); if (_parent.show_perc_val == "Yes") { _parent.perc.text = Math.round(((new_frame - 1) / (_parent.anim._totalframes - 1)) * 100) + " %"; } if (new_frame != _parent.anim._currentframe) { _parent.anim.gotoAndStop(new_frame); } if ((_parent.anim._totalframes == _parent.anim._currentframe) && (rl >= rt)) { done = true; } } } else if (slow_factor < 1) { switch (_parent.xout_motion_val) { case "Down" : if (_parent._y <= orig_y) { _parent._y = orig_y + accel_jump; } _parent._y = orig_y + (Math.abs(_parent._y - orig_y) * speed_factor); perc_fadeout = Math.round((Math.min(dist_y, Math.abs(_parent._y - orig_y)) / dist_y) * 100); if (_parent._y > (orig_y + (dist_y * 2))) { execute_action(); } break; case "Up" : if (_parent._y >= orig_y) { _parent._y = orig_y - accel_jump; } _parent._y = orig_y - (Math.abs(_parent._y - orig_y) * speed_factor); perc_fadeout = Math.round((Math.min(dist_y, Math.abs(_parent._y - orig_y)) / dist_y) * 100); if (_parent._y < (orig_y - (dist_y * 2))) { execute_action(); } break; case "Right" : if (_parent._x <= orig_x) { _parent._x = orig_x + accel_jump; } _parent._x = orig_x + (Math.abs(_parent._x - orig_x) * speed_factor); perc_fadeout = Math.round((Math.min(dist_x, Math.abs(_parent._x - orig_x)) / dist_x) * 100); if (_parent._x > (orig_x + (dist_x * 2))) { execute_action(); } break; case "Left" : if (_parent._x >= orig_x) { _parent._x = orig_x - accel_jump; } _parent._x = orig_x - (Math.abs(_parent._x - orig_x) * speed_factor); perc_fadeout = Math.round((Math.min(dist_x, Math.abs(_parent._x - orig_x)) / dist_x) * 100); if (_parent._x < (orig_x - (dist_x * 2))) { execute_action(); } break; case "Away" : if ((_parent._xscale >= 100) || (_parent._yscale >= 100)) { _parent._xscale = (_parent._yscale = 100 - accel_jump); } _parent._xscale = (_parent._yscale = Math.max(0.5, 100 - ((100 - _parent._yscale) * speed_factor))); perc_fadeout = 100 - Math.round(Math.max(0, Math.min(_parent._xscale, 100))); if (_parent._xscale < 1) { execute_action(); } break; default : perc_fadeout = perc_fadeout + ((100 - perc_fadeout) * slow_factor); if (Math.abs(perc_fadeout - 100) > 1) { break; } execute_action(); } if (!(_parent.xout_alphatype_val === "Yes")) { } else { _parent._alpha = (orig_a / 100) * (100 - perc_fadeout); } } else { execute_action(); } }
Symbol 193 Button
on (release) { this.kicker_use = this.kicker_mc._currentframe; this.play(); }
Symbol 196 Button
on (release) { this.gotoAndStop(1); }
Symbol 198 Button
on (release) { this.gotoAndStop(2); }
Symbol 200 MovieClip Frame 1
stop();
Symbol 211 Button
on (release) { this.gotoAndStop("selection"); }

Library Items

Symbol 1 Sound [background2]
Symbol 2 Sound [background1]
Symbol 3 GraphicUsed by:10
Symbol 4 GraphicUsed by:10
Symbol 5 GraphicUsed by:10
Symbol 6 GraphicUsed by:10
Symbol 7 GraphicUsed by:10
Symbol 8 GraphicUsed by:10
Symbol 9 GraphicUsed by:10
Symbol 10 MovieClip [shoot_object]Uses:3 4 5 6 7 8 9Used by:67
Symbol 11 GraphicUsed by:102  Timeline
Symbol 12 GraphicUsed by:13
Symbol 13 MovieClipUses:12Used by:102
Symbol 14 GraphicUsed by:17
Symbol 15 GraphicUsed by:17
Symbol 16 GraphicUsed by:17
Symbol 17 MovieClipUses:14 15 16Used by:102
Symbol 18 GraphicUsed by:30 35 37 42 43 49 50 51 64
Symbol 19 GraphicUsed by:30 35 37 42 43 49 50 51 64
Symbol 20 GraphicUsed by:30 35 37 42 43 49 50 51 64
Symbol 21 GraphicUsed by:30 35 37 42 43 49 50 51 64
Symbol 22 GraphicUsed by:23
Symbol 23 MovieClipUses:22Used by:30 35 37 42 43 49 50 51 64
Symbol 24 GraphicUsed by:25
Symbol 25 MovieClipUses:24Used by:30 35 37 42 43 49 50 51 64
Symbol 26 GraphicUsed by:30 35 37 42 43 49 50 51 64
Symbol 27 GraphicUsed by:30 35 37 42 43 49 50 51 64
Symbol 28 GraphicUsed by:29
Symbol 29 MovieClipUses:28Used by:30 35 37 42 43 50 51
Symbol 30 MovieClipUses:18 19 20 21 23 25 26 27 29Used by:65
Symbol 31 GraphicUsed by:35 37 42 43 51
Symbol 32 GraphicUsed by:35 37 42 43 51
Symbol 33 GraphicUsed by:35 37
Symbol 34 GraphicUsed by:35
Symbol 35 MovieClipUses:26 18 19 20 21 23 25 27 29 31 32 33 34Used by:65
Symbol 36 GraphicUsed by:37
Symbol 37 MovieClipUses:26 18 19 20 21 23 25 27 29 31 32 33 36Used by:65
Symbol 38 GraphicUsed by:42 43 49
Symbol 39 GraphicUsed by:42 43 49
Symbol 40 GraphicUsed by:42 43 49
Symbol 41 GraphicUsed by:42 43
Symbol 42 MovieClipUses:26 18 19 20 21 23 25 27 29 31 32 38 39 40 41Used by:65
Symbol 43 MovieClipUses:26 18 19 20 21 23 25 27 29 31 32 38 39 40 41Used by:65
Symbol 44 GraphicUsed by:49 64
Symbol 45 GraphicUsed by:49 64
Symbol 46 GraphicUsed by:49
Symbol 47 GraphicUsed by:49
Symbol 48 GraphicUsed by:49
Symbol 49 MovieClipUses:18 19 20 21 23 25 26 44 27 45 38 39 40 46 47 48Used by:65
Symbol 50 MovieClipUses:26 18 19 20 21 23 25 27 29Used by:65
Symbol 51 MovieClipUses:26 18 19 20 21 23 25 27 29 31 32Used by:65
Symbol 52 GraphicUsed by:64
Symbol 53 GraphicUsed by:64
Symbol 54 GraphicUsed by:64
Symbol 55 GraphicUsed by:64
Symbol 56 GraphicUsed by:64
Symbol 57 GraphicUsed by:64
Symbol 58 GraphicUsed by:64
Symbol 59 GraphicUsed by:64
Symbol 60 GraphicUsed by:64
Symbol 61 GraphicUsed by:64
Symbol 62 GraphicUsed by:64
Symbol 63 GraphicUsed by:64
Symbol 64 MovieClipUses:18 19 20 21 23 25 26 44 27 45 52 53 54 55 56 57 58 59 60 61 62 63Used by:65
Symbol 65 MovieClipUses:30 35 37 42 43 49 50 51 64Used by:102
Symbol 66 GraphicUsed by:67
Symbol 67 MovieClipUses:66 10Used by:102
Symbol 68 GraphicUsed by:73
Symbol 69 GraphicUsed by:73
Symbol 70 GraphicUsed by:73
Symbol 71 GraphicUsed by:73 78
Symbol 72 GraphicUsed by:73
Symbol 73 MovieClipUses:68 69 70 71 72Used by:79
Symbol 74 GraphicUsed by:78
Symbol 75 GraphicUsed by:78
Symbol 76 GraphicUsed by:78
Symbol 77 GraphicUsed by:78
Symbol 78 MovieClipUses:74 75 76 71 77Used by:79
Symbol 79 MovieClipUses:73 78Used by:102
Symbol 80 GraphicUsed by:102
Symbol 81 GraphicUsed by:84
Symbol 82 FontUsed by:83 85 207
Symbol 83 EditableTextUses:82Used by:84
Symbol 84 MovieClipUses:81 83Used by:102
Symbol 85 EditableTextUses:82Used by:102
Symbol 86 GraphicUsed by:102
Symbol 87 FontUsed by:88
Symbol 88 EditableTextUses:87Used by:98
Symbol 89 SoundUsed by:98
Symbol 90 SoundUsed by:98
Symbol 91 SoundUsed by:98
Symbol 92 SoundUsed by:98
Symbol 93 SoundUsed by:98
Symbol 94 SoundUsed by:98
Symbol 95 SoundUsed by:98
Symbol 96 SoundUsed by:98
Symbol 97 SoundUsed by:98
Symbol 98 MovieClipUses:88 89 90 91 92 93 94 95 96 97Used by:102
Symbol 99 FontUsed by:100
Symbol 100 EditableTextUses:99Used by:101
Symbol 101 MovieClipUses:100Used by:102
Symbol 102 MovieClip [GameComponent]Uses:11 13 17 65 67 79 80 84 85 86 98 101Used by:Timeline
Symbol 103 GraphicUsed by:Timeline
Symbol 104 GraphicUsed by:Timeline
Symbol 105 GraphicUsed by:Timeline
Symbol 106 GraphicUsed by:110
Symbol 107 GraphicUsed by:110
Symbol 108 GraphicUsed by:110
Symbol 109 GraphicUsed by:110
Symbol 110 MovieClipUses:106 107 108 109Used by:115
Symbol 111 FontUsed by:112 202 204
Symbol 112 EditableTextUses:111Used by:113
Symbol 113 MovieClipUses:112Used by:115
Symbol 114 MovieClipUsed by:115
Symbol 115 MovieClipUses:110 113 114Used by:Timeline
Symbol 116 GraphicUsed by:Timeline
Symbol 117 GraphicUsed by:Timeline
Symbol 118 GraphicUsed by:189
Symbol 119 GraphicUsed by:189
Symbol 120 GraphicUsed by:189
Symbol 121 GraphicUsed by:189
Symbol 122 GraphicUsed by:189
Symbol 123 GraphicUsed by:189
Symbol 124 SoundUsed by:189
Symbol 125 GraphicUsed by:189
Symbol 126 GraphicUsed by:189
Symbol 127 GraphicUsed by:189
Symbol 128 GraphicUsed by:189
Symbol 129 GraphicUsed by:189
Symbol 130 GraphicUsed by:189
Symbol 131 GraphicUsed by:189
Symbol 132 GraphicUsed by:189
Symbol 133 GraphicUsed by:189
Symbol 134 GraphicUsed by:189
Symbol 135 GraphicUsed by:189
Symbol 136 GraphicUsed by:189
Symbol 137 GraphicUsed by:189
Symbol 138 SoundUsed by:189
Symbol 139 GraphicUsed by:189
Symbol 140 GraphicUsed by:189
Symbol 141 GraphicUsed by:189
Symbol 142 GraphicUsed by:189
Symbol 143 GraphicUsed by:189
Symbol 144 GraphicUsed by:189
Symbol 145 GraphicUsed by:189
Symbol 146 GraphicUsed by:189
Symbol 147 GraphicUsed by:189
Symbol 148 GraphicUsed by:189
Symbol 149 GraphicUsed by:189
Symbol 150 GraphicUsed by:189
Symbol 151 GraphicUsed by:189
Symbol 152 GraphicUsed by:189
Symbol 153 GraphicUsed by:189
Symbol 154 GraphicUsed by:189
Symbol 155 GraphicUsed by:189
Symbol 156 GraphicUsed by:189
Symbol 157 GraphicUsed by:189
Symbol 158 GraphicUsed by:189
Symbol 159 GraphicUsed by:189
Symbol 160 GraphicUsed by:189
Symbol 161 GraphicUsed by:189
Symbol 162 GraphicUsed by:189
Symbol 163 GraphicUsed by:189
Symbol 164 GraphicUsed by:189
Symbol 165 GraphicUsed by:189
Symbol 166 GraphicUsed by:189
Symbol 167 GraphicUsed by:189
Symbol 168 GraphicUsed by:189
Symbol 169 GraphicUsed by:189
Symbol 170 GraphicUsed by:189
Symbol 171 GraphicUsed by:189
Symbol 172 GraphicUsed by:189
Symbol 173 GraphicUsed by:189
Symbol 174 GraphicUsed by:189
Symbol 175 GraphicUsed by:189
Symbol 176 GraphicUsed by:189
Symbol 177 GraphicUsed by:189
Symbol 178 GraphicUsed by:189
Symbol 179 GraphicUsed by:189
Symbol 180 GraphicUsed by:189
Symbol 181 GraphicUsed by:189
Symbol 182 GraphicUsed by:189
Symbol 183 GraphicUsed by:189
Symbol 184 GraphicUsed by:189
Symbol 185 GraphicUsed by:189
Symbol 186 GraphicUsed by:189
Symbol 187 GraphicUsed by:189
Symbol 188 GraphicUsed by:189
Symbol 189 MovieClipUses:118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188Used by:Timeline
Symbol 190 GraphicUsed by:193
Symbol 191 GraphicUsed by:193
Symbol 192 GraphicUsed by:193
Symbol 193 ButtonUses:190 191 192Used by:Timeline
Symbol 194 GraphicUsed by:200
Symbol 195 GraphicUsed by:196
Symbol 196 ButtonUses:195Used by:200
Symbol 197 GraphicUsed by:198
Symbol 198 ButtonUses:197Used by:200
Symbol 199 GraphicUsed by:200
Symbol 200 MovieClipUses:194 196 198 199Used by:Timeline
Symbol 201 GraphicUsed by:Timeline
Symbol 202 TextUses:111Used by:Timeline
Symbol 203 GraphicUsed by:Timeline
Symbol 204 TextUses:111Used by:Timeline
Symbol 205 GraphicUsed by:Timeline
Symbol 206 GraphicUsed by:Timeline
Symbol 207 EditableTextUses:82Used by:Timeline
Symbol 208 GraphicUsed by:211
Symbol 209 GraphicUsed by:211
Symbol 210 GraphicUsed by:211
Symbol 211 ButtonUses:208 209 210Used by:Timeline
Symbol 212 GraphicUsed by:Timeline

Instance Names

"kicker_mc"Frame 172Symbol 200 MovieClip
"game"Frame 173Symbol 102 MovieClip [GameComponent]
"goalie"Symbol 65 MovieClip Frame 1Symbol 30 MovieClip
"goalie"Symbol 65 MovieClip Frame 2Symbol 35 MovieClip
"goalie"Symbol 65 MovieClip Frame 3Symbol 37 MovieClip
"goalie"Symbol 65 MovieClip Frame 4Symbol 42 MovieClip
"goalie"Symbol 65 MovieClip Frame 5Symbol 43 MovieClip
"goalie"Symbol 65 MovieClip Frame 6Symbol 49 MovieClip
"goalie"Symbol 65 MovieClip Frame 7Symbol 50 MovieClip
"goalie"Symbol 65 MovieClip Frame 8Symbol 51 MovieClip
"goalie"Symbol 65 MovieClip Frame 9Symbol 64 MovieClip
"ball_mc"Symbol 67 MovieClip Frame 1Symbol 10 MovieClip [shoot_object]
"kicker_mc"Symbol 79 MovieClip Frame 1Symbol 73 MovieClip
"kicker_mc"Symbol 79 MovieClip Frame 2Symbol 78 MovieClip
"prompt_txt"Symbol 84 MovieClip Frame 1Symbol 83 EditableText
"goal_hitSpot"Symbol 102 MovieClip [GameComponent] Frame 1Symbol 13 MovieClip
"power_mc"Symbol 102 MovieClip [GameComponent] Frame 1Symbol 17 MovieClip
"goalie_mc"Symbol 102 MovieClip [GameComponent] Frame 1Symbol 65 MovieClip
"aim_mc"Symbol 102 MovieClip [GameComponent] Frame 1Symbol 67 MovieClip
"kicker_mc"Symbol 102 MovieClip [GameComponent] Frame 1Symbol 79 MovieClip
"game_prompt"Symbol 102 MovieClip [GameComponent] Frame 1Symbol 84 MovieClip
"score_display"Symbol 102 MovieClip [GameComponent] Frame 1Symbol 85 EditableText
"sounds_mc"Symbol 102 MovieClip [GameComponent] Frame 1Symbol 98 MovieClip
"anim"Symbol 115 MovieClip Frame 1Symbol 110 MovieClip
"perc"Symbol 115 MovieClip Frame 1Symbol 113 MovieClip
"swfloader"Symbol 115 MovieClip Frame 1Symbol 114 MovieClip

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS1/AS2.
ExportAssets (56)Timeline Frame 1Symbol 1 as "background2"
ExportAssets (56)Timeline Frame 1Symbol 2 as "background1"
ExportAssets (56)Timeline Frame 1Symbol 10 as "shoot_object"
ExportAssets (56)Timeline Frame 1Symbol 102 as "GameComponent"

Labels

"selection"Frame 172
"game"Frame 173
"over"Frame 174
"miss_low"Symbol 65 MovieClip Frame 2
"miss_high"Symbol 65 MovieClip Frame 3
"catch_low"Symbol 65 MovieClip Frame 4
"catch_high"Symbol 65 MovieClip Frame 5
"catch"Symbol 65 MovieClip Frame 6
"fake1"Symbol 65 MovieClip Frame 7
"too_high"Symbol 65 MovieClip Frame 8
"miss"Symbol 65 MovieClip Frame 9
"cheer"Symbol 98 MovieClip Frame 2
"miss"Symbol 98 MovieClip Frame 3
"catch"Symbol 98 MovieClip Frame 4
"net1"Symbol 98 MovieClip Frame 5
"net2"Symbol 98 MovieClip Frame 6
"kick1"Symbol 98 MovieClip Frame 7
"kick2"Symbol 98 MovieClip Frame 8
"kick3"Symbol 98 MovieClip Frame 9
"select"Symbol 98 MovieClip Frame 10
"launch3"Symbol 98 MovieClip Frame 11
"wind"Symbol 98 MovieClip Frame 12
"tick"Symbol 98 MovieClip Frame 13
"tree1"Symbol 98 MovieClip Frame 14
"tree2"Symbol 98 MovieClip Frame 15
"barn"Symbol 98 MovieClip Frame 16

Dynamic Text Variables

textSymbol 112 EditableText""
_root.scoreSymbol 207 EditableText"<p align="center"></p>"




http://swfchan.com/24/117182/info.shtml
Created: 8/3 -2019 02:07:29 Last modified: 8/3 -2019 02:07:29 Server time: 30/04 -2024 07:38:47