STORY LOOP FURRY PORN GAMES C SERVICES [?] [R] RND POPULAR | Archived flashes: 229595 |
/disc/ · /res/ — /show/ · /fap/ · /gg/ · /swf/ | P0001 · P2595 · P5190 |
This is the info page for Flash #113648 |
Sound ON |
Sound OFF |
PLAY AGAIN? |
LEVEL: |
SCORE: |
-100 |
-100 |
-100 |
-100 |
Start |
Start |
Drop the tire into the matching colored truck. Use the arrows to move left and right and the space bar to drop the tire. |
ActionScript [AS1/AS2]
Frame 1function isContained(mc1, mc2) { var _local3 = {x:mc1._x, y:mc1._y}; mc1.localToGlobal(_local3); var _local2 = {x:mc2.truck._x, y:mc2.truck._y}; mc2.localToGlobal(_local2); if (((_local3.x + (mc1._width / 2)) > _local2.x) and ((_local3.x - (mc1._width / 2)) < (_local2.x + (mc2._width / 2)))) { if (((mc1._y + 123) > _local2.y) and (mc1._y < 320)) { return(true); } } else { return(false); } } function hitTest2(mc) { var _local1 = 0; while (_local1 < TruckRef.length) { if (isContained(mc, TruckRef[_local1]) and (mc._parent.type2 == TruckRef[_local1].type2)) { return(TruckRef[_local1]); } _local1++; } return(false); } function eraseMC(x) { for (mc in x) { removeMovieClip(x[mc]); } } function assignHandler(mc) { Key.addListener(mc); mc.root = this; DISTANCE = 10; addTire = false; mc.move = function () { this._x = this._x - 16; if (this.hitTest(home.bob.arm1)) { this._x = home.bob.arm1._x + 35; this.tire.piece_tire.gotoAndStop(1); this.onKeyDown = function () { if (!(Key.getCode() === 32)) { } else { Key.removeListener(this); addTire = false; this.onEnterFrame = function () { this.tire._y = this.tire._y + 10; var _local2 = false; _local2 = home.hitTest2(this.tire); if (_local2 != false) { trace("HITT!~!!!!!!!"); home.dropsound.start(); scoreboard.score = scoreboard.score + 10; this.stopMove(); removeMovieClip(this); addTire = true; placeTire(); addTire = false; } else if (this.tire._y >= 400) { _local2 = false; scoreboard.score = scoreboard.score - 20; wrong++; this.stopMove(); this.tire.piece_tire.gotoAndPlay("wrong"); addTire = true; placeTire(); addTire = false; } }; } }; } }; mc.beginMove = function () { this.onEnterFrame = function () { this.move(); }; }; mc.stopMove = function () { delete this.onEnterFrame; delete this.move; var _local2 = 0; while (_local2 < Key._listeners) { Key.removeListener(mc); _local2++; } eraseMC(this); addTire = true; checkDone(); }; } stop(); Key.addListener(bob); home = this; var url = (hex.rootx[0].url[0].$url + "/"); var level = 1; var wrong = 0; var DISTANCE = 10; var tireNumber = 1; scoreboard.levelNumber.level.text = String(level); scoreboard.score = 0; var max = 3; var truckNumber = 0; var HIGHSCORE = 50; var gamestate = "pause"; var music = new Sound(); music.attachSound("music"); var dropsound = new Sound(); dropsound.attachSound("drop.mp3"); var TireRef = new Array(); var TruckRef = new Array(); var pieces = new Array(); var Tires = Array("1_tire", "2_tire", "3_tire"); var Trucks = Array("1_truck", "2_truck", "3_truck"); var newTruck; music.setVolume(0); var addTire = true; playagain._visible = false; scoreboard._visible = false; scoreboard.playAgain._visible = false; stopper.onPress = function () { this.useHandCursor = false; }; randRange = function (min, max) { var _local1 = Math.floor(Math.random() * ((max - min) + 1)) + min; return(_local1); }; placeTrucks = function () { home.addTruck(); home.placeTire(); }; addTruck = function () { if (home.gamestate == "playing") { trace("function called num of Trucks " + truckNumber); switch (level) { case 1 : max = 2; break; case 2 : max = 3; break; case 3 : max = 4; } trace("I'm ALIVE!!!!"); var _local2 = randRange(0, max); if (previousPiece == _local2) { _local2 = previousTire; } var _local3 = home.truckHolder.attachMovie(Trucks[_local2], "truckmc_" + truckNumber, 900 + truckNumber); _local3._x = 756; _local3._y = 389; var _local5 = Trucks[_local2].split("_"); _local3.type2 = _local5[0]; var _local4 = new Object(); _local4 = _local3; TruckRef.push(_local4); pieces.push(Tires[_local2]); trace("TruckRef = " + TruckRef.length); trace("arrray = " + pieces.length); _local3.thisTruck = truckNumber; truckNumber++; previousPiece = _local2; _local3.onEnterFrame = function () { if (home.gamestate == "playing") { this.truck._x = this.truck._x - (2 + (2 * level)); if (this.truck._x < -480) { if (!this.created) { this.created = true; trace((this.thisTruck + " Is in Postion ") + this.truck._x); addTruck(); } } if (this.truck._x < -1200) { removeMovieClip(this); } } }; if (home.gamestate == "pause") { eraseMC(this); } } }; placeTire = function () { if (home.gamestate == "playing") { if (addTire == true) { switch (level) { case 1 : max = 2; break; case 2 : max = 3; break; case 3 : max = 4; } var _local1 = home.randRange(0, max); if (previousTire == _local1) { _local1 = home.randRange(0, max); } trace((("addTire = " + addTire) + " nextTire = ") + _local1); trace("pieces Array test " + Tires[_local1]); var _local2 = home.bob.tireHolder.attachMovie(Tires[_local1], "tiremc_" + _local1, _local1); _local2._x = 690; _local2._y = 0; trace("duplicat movie test " + _local2); var _local3 = Tires[_local1].split("_"); _local2.type2 = _local3[0]; trace("Tire Type: " + _local2.type2); previousTire = _local1; assignHandler(_local2); _local2.beginMove(); addTire = false; } } }; checkDone = function () { addTire = true; if (wrong >= 5) { home.scoreboard.swapDepths(10000); home.scoreboard.playAgain._visible = true; eraseMC(home.truckHolder); eraseMC(home.bob); music.stop(); home.scoreboard.gotoAndPlay("playAgain"); addTire = false; home.gamestate = "pause"; } trace("level =" + level); if (scoreboard.score > HIGHSCORE) { home.scoreboard.gotoAndPlay("levelup"); trace("NEXT LEVEL!"); level++; HIGHSCORE = HIGHSCORE + 100; switch (level) { case 2 : Tires.push("4_tire"); Trucks.push("4_truck"); HIGHSCORE = 150; break; case 3 : Tires.push("5_tire"); Trucks.push("5_truck"); HIGHSCORE = 300; } scoreboard.levelNumber.level.text = String(level); } }; start.onRelease = function () { music.start(0, 100); music.setVolume(100); this._visible = false; home.gamestate = "playing"; scoreboard._visible = true; home.placeTrucks(); }; scoreboard.playAgain.onRollOver = function () { this._alpha = 100; }; scoreboard.playAgain.onRelease = function () { this._visible = false; home.scoreboard.gotoAndStop(1); home.scoreboard.swapDepths(-16364); home.scoreboard._visible = false; Key.addListener(bob); level = 1; wrong = 0; DISTANCE = 10; tireNumber = 1; scoreboard.levelNumber.level.text = String(level); scoreboard.score = 0; max = 3; truckNumber = 0; HIGHSCORE = 50; home.gamestate = "pause"; home.Tires = Array("1_tire", "2_tire", "3_tire"); home.Trucks = Array("1_truck", "2_truck", "3_truck"); addTire = true; home.start._visible = true; }; bob.onKeyDown = function () { switch (Key.getCode()) { case 37 : this.arm2._x = this.arm2._x - DISTANCE; if (this.arm2._x < -12) { this.arm2._x = -12; } this.guy._x = this.guy._x - DISTANCE; if (this.guy._x < -57) { this.guy._x = -57; } this.arm1._x = this.arm1._x - DISTANCE; if (this.arm1._x < -70) { this.arm1._x = -70; } break; case 39 : this.arm2._x = this.arm2._x + DISTANCE; if (this.arm2._x > 708) { this.arm2._x = 708; } this.guy._x = this.guy._x + DISTANCE; if (this.guy._x > 663) { this.guy._x = 663; } this.arm1._x = this.arm1._x + DISTANCE; if (this.arm1._x <= 650) { break; } this.arm1._x = 650; } }; home.globalSound.onRelease = function () { if (soundON == true) { this.gotoAndStop(2); dropsound.setVolume(0); incorrect_sound.setVolume(0); levelup_sound.setVolume(0); music.setVolume(0); soundON = false; } else { this.gotoAndStop(1); dropsound.setVolume(100); incorrect_sound.setVolume(100); levelup_sound.setVolume(100); music.setVolume(100); soundON = true; } };Symbol 16 MovieClip Frame 25gotoAndPlay (1);Symbol 16 MovieClip Frame 40removeMovieClip(this._parent._parent); removeMovieClip(this); removeMovieClip(this._parent);Symbol 17 MovieClip [tire_piece] Frame 1stop();Symbol 40 MovieClip [soundonoff] Frame 1stop();Symbol 66 MovieClip Frame 1stop();Symbol 66 MovieClip Frame 20stop();Symbol 66 MovieClip Frame 40stop();
Library Items
Symbol 1 Sound [music] | ||
Symbol 2 Sound [drop.mp3] | ||
Symbol 3 Sound [incorrect_sound] | Used by:16 | |
Symbol 4 Graphic | Used by:11 | |
Symbol 5 Bitmap | Used by:6 | |
Symbol 6 Graphic | Uses:5 | Used by:11 |
Symbol 7 Graphic | Used by:8 | |
Symbol 8 MovieClip | Uses:7 | Used by:11 |
Symbol 9 Graphic | Used by:10 | |
Symbol 10 MovieClip | Uses:9 | Used by:11 |
Symbol 11 MovieClip [dumptruck] | Uses:4 6 8 10 | Used by:12 19 27 28 29 30 31 32 |
Symbol 12 MovieClip [5_truck] | Uses:11 | |
Symbol 13 Graphic | Used by:16 | |
Symbol 14 Graphic | Used by:16 | |
Symbol 15 Graphic | Used by:16 | |
Symbol 16 MovieClip | Uses:13 14 3 15 | Used by:17 |
Symbol 17 MovieClip [tire_piece] | Uses:16 | Used by:18 20 21 22 23 24 25 26 |
Symbol 18 MovieClip [5_tire] | Uses:17 | |
Symbol 19 MovieClip [4_truck] | Uses:11 | |
Symbol 20 MovieClip [4_tire] | Uses:17 | |
Symbol 21 MovieClip [3_tire] | Uses:17 | |
Symbol 22 MovieClip [7_tire] | Uses:17 | |
Symbol 23 MovieClip [8_tire] | Uses:17 | |
Symbol 24 MovieClip [6_tire] | Uses:17 | |
Symbol 25 MovieClip [1_tire] | Uses:17 | |
Symbol 26 MovieClip [2_tire] | Uses:17 | |
Symbol 27 MovieClip [2_truck] | Uses:11 | |
Symbol 28 MovieClip [6_truck] | Uses:11 | |
Symbol 29 MovieClip [3_truck] | Uses:11 | |
Symbol 30 MovieClip [7_truck] | Uses:11 | |
Symbol 31 MovieClip [8_truck] | Uses:11 | |
Symbol 32 MovieClip [1_truck] | Uses:11 | |
Symbol 33 Graphic | Used by:40 | |
Symbol 34 Graphic | Used by:40 | |
Symbol 35 Font | Used by:36 38 | |
Symbol 36 Text | Uses:35 | Used by:40 |
Symbol 37 Graphic | Used by:40 | |
Symbol 38 Text | Uses:35 | Used by:40 |
Symbol 39 Graphic | Used by:40 | |
Symbol 40 MovieClip [soundonoff] | Uses:33 34 36 37 38 39 | Used by:Timeline |
Symbol 41 MovieClip [trucks] | Used by:Timeline | |
Symbol 42 MovieClip | Used by:43 | |
Symbol 43 MovieClip [tireHolder] | Uses:42 | Used by:73 |
Symbol 44 Graphic | Used by:47 | |
Symbol 45 Font | Used by:46 56 58 60 61 62 63 64 78 79 80 | |
Symbol 46 Text | Uses:45 | Used by:47 |
Symbol 47 MovieClip [playAgain] | Uses:44 46 | Used by:66 |
Symbol 48 Bitmap | Used by:49 | |
Symbol 49 Graphic | Uses:48 | Used by:Timeline |
Symbol 50 Graphic | Used by:Timeline | |
Symbol 51 Graphic | Used by:Timeline | |
Symbol 52 Bitmap | Used by:55 | |
Symbol 53 Bitmap | Used by:55 | |
Symbol 54 Bitmap | Used by:55 | |
Symbol 55 Graphic | Uses:52 53 54 | Used by:Timeline |
Symbol 56 Text | Uses:45 | Used by:57 66 |
Symbol 57 MovieClip | Uses:56 | Used by:66 |
Symbol 58 EditableText | Uses:45 | Used by:59 |
Symbol 59 MovieClip | Uses:58 | Used by:66 |
Symbol 60 Text | Uses:45 | Used by:66 |
Symbol 61 EditableText | Uses:45 | Used by:66 |
Symbol 62 EditableText | Uses:45 | Used by:66 |
Symbol 63 EditableText | Uses:45 | Used by:66 |
Symbol 64 EditableText | Uses:45 | Used by:66 |
Symbol 65 Sound | Used by:66 | |
Symbol 66 MovieClip | Uses:57 59 47 60 61 62 63 56 64 65 | Used by:Timeline |
Symbol 67 Graphic | Used by:68 | |
Symbol 68 MovieClip | Uses:67 | Used by:73 |
Symbol 69 Graphic | Used by:70 | |
Symbol 70 MovieClip | Uses:69 | Used by:73 |
Symbol 71 Graphic | Used by:72 | |
Symbol 72 MovieClip | Uses:71 | Used by:73 |
Symbol 73 MovieClip | Uses:68 43 70 72 | Used by:Timeline |
Symbol 74 Graphic | Used by:75 | |
Symbol 75 MovieClip | Uses:74 | Used by:Timeline |
Symbol 76 Graphic | Used by:84 | |
Symbol 77 Graphic | Used by:84 | |
Symbol 78 Text | Uses:45 | Used by:84 |
Symbol 79 Text | Uses:45 | Used by:84 |
Symbol 80 Text | Uses:45 | Used by:84 |
Symbol 81 Graphic | Used by:84 | |
Symbol 82 Graphic | Used by:84 | |
Symbol 83 Graphic | Used by:84 | |
Symbol 84 Button | Uses:76 77 78 79 80 81 82 83 | Used by:Timeline |
Instance Names
"scoreboard" | Frame 1 | Symbol 66 MovieClip |
"bob" | Frame 1 | Symbol 73 MovieClip |
"truckHolder" | Frame 1 | Symbol 41 MovieClip [trucks] |
"hills" | Frame 1 | Symbol 75 MovieClip |
"globalSound" | Frame 1 | Symbol 40 MovieClip [soundonoff] |
"start" | Frame 1 | Symbol 84 Button |
"truck" | Symbol 12 MovieClip [5_truck] Frame 1 | Symbol 11 MovieClip [dumptruck] |
"piece_tire" | Symbol 17 MovieClip [tire_piece] Frame 1 | Symbol 16 MovieClip |
"tire" | Symbol 18 MovieClip [5_tire] Frame 1 | Symbol 17 MovieClip [tire_piece] |
"truck" | Symbol 19 MovieClip [4_truck] Frame 1 | Symbol 11 MovieClip [dumptruck] |
"tire" | Symbol 20 MovieClip [4_tire] Frame 1 | Symbol 17 MovieClip [tire_piece] |
"tire" | Symbol 21 MovieClip [3_tire] Frame 1 | Symbol 17 MovieClip [tire_piece] |
"tire" | Symbol 22 MovieClip [7_tire] Frame 1 | Symbol 17 MovieClip [tire_piece] |
"tire" | Symbol 23 MovieClip [8_tire] Frame 1 | Symbol 17 MovieClip [tire_piece] |
"tire" | Symbol 24 MovieClip [6_tire] Frame 1 | Symbol 17 MovieClip [tire_piece] |
"tire" | Symbol 25 MovieClip [1_tire] Frame 1 | Symbol 17 MovieClip [tire_piece] |
"tire" | Symbol 26 MovieClip [2_tire] Frame 1 | Symbol 17 MovieClip [tire_piece] |
"truck" | Symbol 27 MovieClip [2_truck] Frame 1 | Symbol 11 MovieClip [dumptruck] |
"truck" | Symbol 28 MovieClip [6_truck] Frame 1 | Symbol 11 MovieClip [dumptruck] |
"truck" | Symbol 29 MovieClip [3_truck] Frame 1 | Symbol 11 MovieClip [dumptruck] |
"truck" | Symbol 30 MovieClip [7_truck] Frame 1 | Symbol 11 MovieClip [dumptruck] |
"truck" | Symbol 31 MovieClip [8_truck] Frame 1 | Symbol 11 MovieClip [dumptruck] |
"truck" | Symbol 32 MovieClip [1_truck] Frame 1 | Symbol 11 MovieClip [dumptruck] |
"tire" | Symbol 43 MovieClip [tireHolder] Frame 1 | Symbol 42 MovieClip |
"level" | Symbol 59 MovieClip Frame 1 | Symbol 58 EditableText |
"levelNumber" | Symbol 66 MovieClip Frame 1 | Symbol 59 MovieClip |
"playAgain" | Symbol 66 MovieClip Frame 1 | Symbol 47 MovieClip [playAgain] |
"score" | Symbol 66 MovieClip Frame 1 | Symbol 61 EditableText |
"score" | Symbol 66 MovieClip Frame 2 | Symbol 62 EditableText |
"score" | Symbol 66 MovieClip Frame 20 | Symbol 63 EditableText |
"levelNumber" | Symbol 66 MovieClip Frame 22 | Symbol 59 MovieClip |
"score" | Symbol 66 MovieClip Frame 22 | Symbol 64 EditableText |
"guy" | Symbol 73 MovieClip Frame 1 | Symbol 68 MovieClip |
"tireHolder" | Symbol 73 MovieClip Frame 1 | Symbol 43 MovieClip [tireHolder] |
"arm1" | Symbol 73 MovieClip Frame 1 | Symbol 70 MovieClip |
"arm2" | Symbol 73 MovieClip Frame 1 | Symbol 72 MovieClip |
Special Tags
FileAttributes (69) | Timeline Frame 1 | Access local files only, Metadata not present, AS1/AS2. |
ExportAssets (56) | Timeline Frame 1 | Symbol 1 as "music" |
ExportAssets (56) | Timeline Frame 1 | Symbol 2 as "drop.mp3" |
ExportAssets (56) | Timeline Frame 1 | Symbol 3 as "incorrect_sound" |
ExportAssets (56) | Timeline Frame 1 | Symbol 11 as "dumptruck" |
ExportAssets (56) | Timeline Frame 1 | Symbol 12 as "5_truck" |
ExportAssets (56) | Timeline Frame 1 | Symbol 17 as "tire_piece" |
ExportAssets (56) | Timeline Frame 1 | Symbol 18 as "5_tire" |
ExportAssets (56) | Timeline Frame 1 | Symbol 19 as "4_truck" |
ExportAssets (56) | Timeline Frame 1 | Symbol 20 as "4_tire" |
ExportAssets (56) | Timeline Frame 1 | Symbol 21 as "3_tire" |
ExportAssets (56) | Timeline Frame 1 | Symbol 22 as "7_tire" |
ExportAssets (56) | Timeline Frame 1 | Symbol 23 as "8_tire" |
ExportAssets (56) | Timeline Frame 1 | Symbol 24 as "6_tire" |
ExportAssets (56) | Timeline Frame 1 | Symbol 25 as "1_tire" |
ExportAssets (56) | Timeline Frame 1 | Symbol 26 as "2_tire" |
ExportAssets (56) | Timeline Frame 1 | Symbol 27 as "2_truck" |
ExportAssets (56) | Timeline Frame 1 | Symbol 28 as "6_truck" |
ExportAssets (56) | Timeline Frame 1 | Symbol 29 as "3_truck" |
ExportAssets (56) | Timeline Frame 1 | Symbol 30 as "7_truck" |
ExportAssets (56) | Timeline Frame 1 | Symbol 31 as "8_truck" |
ExportAssets (56) | Timeline Frame 1 | Symbol 32 as "1_truck" |
ExportAssets (56) | Timeline Frame 1 | Symbol 40 as "soundonoff" |
ExportAssets (56) | Timeline Frame 1 | Symbol 41 as "trucks" |
ExportAssets (56) | Timeline Frame 1 | Symbol 43 as "tireHolder" |
ExportAssets (56) | Timeline Frame 1 | Symbol 47 as "playAgain" |
Labels
"wrong" | Symbol 16 MovieClip Frame 26 |
"on" | Symbol 40 MovieClip [soundonoff] Frame 1 |
"off" | Symbol 40 MovieClip [soundonoff] Frame 2 |
"playAgain" | Symbol 66 MovieClip Frame 2 |
"levelup" | Symbol 66 MovieClip Frame 22 |
Dynamic Text Variables
score | Symbol 61 EditableText | "-100" |
score | Symbol 62 EditableText | "-100" |
score | Symbol 63 EditableText | "-100" |
score | Symbol 64 EditableText | "-100" |
|