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

<div style="position:absolute;top:-99px;left:-99px;"><img src="https://tools.swfchan.com/stathit.asp?noj=FRM95066741-2DC&rnd=95066741" width="1" height="1"></div>

coursev12.swf

This is the info page for
Flash #262846

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


ActionScript [AS1/AS2]
Combined Code
movieClip 7 { } movieClip 8 { frame 1 { stop(); } } frame 3 { bytesLoaded = _root.getBytesLoaded(); bytesTotal = _root.getBytesTotal(); loadedKB = int(bytesLoaded / 1024) + ' k'; frame = int(bytesLoaded * 100 / bytesTotal); loader.gotoAndStop(frame); if (bytesTotal == bytesLoaded) { gotoAndPlay(4); } else { prevFrame(); play(); } } frame 4 { player1._x = 250; player1._y = 70; player2._x = 249; player2._y = 90; winner = 0; speed1 = 0; speed2 = 0; angle1 = 5; angle2 = 5; fuel1 = 100; fuel2 = 100; maxspd1 = 10; maxspd2 = 10; lchk01 = 1; lchk02 = 1; lap01 = 1; lap02 = 1; numchk = 6; vitesse1 = 0; vitesse2 = 0; infoPlayer1.gotoAndStop(1); infoPlayer2.gotoAndStop(1); txtout1 = 'Lap:' + lap01 + ' CP:' + lchk01; txtout2 = 'Lap:' + lap02 + ' CP:' + lchk02; stop(); } movieClip 10 { } movieClip 12 { } movieClip 15 { } movieClip 17 { } movieClip 19 { } movieClip 22 { } movieClip 24 { } movieClip 25 { } movieClip 27 { } movieClip 29 { } movieClip 30 { instance Car01 of movieClip 29 { onClipEvent (enterFrame) { radian = 0.0174 * _root.angle1; _parent._rotation = _root.angle1; _parent._x += _root.speed1 * Math.cos(radian); _parent._y += _root.speed1 * Math.sin(radian); if (400 < _parent._y) { _parent._y = 400; } if (_parent._y < 0) { _parent._y = 0; } if (550 < _parent._x) { _parent._x = 550; } if (_parent._x < 0) { _parent._x = 0; } if (_root.hitRiviere.hitTest(_parent._x, _parent._y, true)) { _parent._x = _root.chk01._x; _parent._y = _root.chk01._y; _parent._rotation = _root.chk01._rotation; _root.angle1 = _parent._rotation; } if (this.hitTest(_root.hitPit)) { _root.txtout1 = 'Au pit'; if (_root.fuel1 < 100) { ++_root.fuel1; } } if (_root.Gazon.hitTest(_parent._x, _parent._y, true)) { _root.txtout1 = 'Gazon'; _root.maxspd1 = 2; } } } } movieClip 32 { } movieClip 33 { instance Car02 of movieClip 32 { onClipEvent (enterFrame) { radian = 0.0174 * _root.angle2; _parent._rotation = _root.angle2; _parent._x += _root.speed2 * Math.cos(radian); _parent._y += _root.speed2 * Math.sin(radian); if (400 < _parent._y) { _parent._y = 400; } if (_parent._y < 0) { _parent._y = 0; } if (550 < _parent._x) { _parent._x = 550; } if (_parent._x < 0) { _parent._x = 0; } if (_root.hitRiviere.hitTest(_parent._x, _parent._y, true)) { _parent._x = _root.chk01._x; _parent._y = _root.chk01._y; _parent._rotation = _root.chk01._rotation; _root.angle2 = _parent._rotation; } if (this.hitTest(_root.hitPit)) { _root.txtout2 = 'Au pit'; if (_root.fuel2 < 100) { ++_root.fuel2; } } if (_root.Gazon.hitTest(_parent._x, _parent._y, true)) { _root.txtout2 = 'Gazon'; _root.maxspd2 = 2; } } } } movieClip 37 { } movieClip 41 { frame 1 { stop(); } } movieClip 43 { } movieClip 46 { frame 1 { stop(); } } movieClip 51 { } button 58 { on (release) { if (_root.tours < 100 && 0 < _root.tours) { _root.gotoAndPlay(15); } } } button 61 { on (press) { startDrag('', false); } on (release, releaseOutside) { stopDrag(); } } movieClip 64 { } frame 15 { if (Key.isDown(Key.RIGHT)) { angle1 += 5; } if (Key.isDown(Key.LEFT)) { angle1 -= 5; } if (Key.isDown(Key.UP)) { if (speed1 < maxspd1) { ++speed1; } } if (Key.isDown(Key.DOWN)) { if (-3 < speed1) { --speed1; } } if (Key.isDown(68)) { angle2 += 5; derapage2 = Math.abs(derapage2); } if (Key.isDown(65)) { angle2 -= 5; if (0 < derapage2) { derapage2 = -derapage2; } } if (Key.isDown(87)) { if (speed2 < maxspd2) { ++speed2; } } if (Key.isDown(83)) { if (-3 < speed2) { --speed2; } } if (fuel1 < 1) { maxspd1 = 1; } else { maxspd1 = 10; } if (fuel2 < 1) { maxspd2 = 1; } else { maxspd2 = 10; } if (fuel1 >= 1) { fuel1 -= Math.abs(speed1 / 65); } if (fuel2 >= 1) { fuel2 -= Math.abs(speed2 / 65); } if (Math.abs(speed1) < 0.5) { speed1 = 0; } if (Math.abs(speed2) < 0.5) { speed2 = 0; } speed1 *= 0.9; speed2 *= 0.9; infoPlayer1.gotoAndStop(int(100 - fuel1)); infoPlayer2.gotoAndStop(int(100 - fuel2)); vitesse1 = Math.abs(int(speed1 * 10)); vitesse2 = Math.abs(int(speed2 * 10)); txtout1 = 'Lap:' + lap01 + ' CP:' + lchk01; txtout2 = 'Lap:' + lap02 + ' CP:' + lchk02; i = 1; while (numchk >= i) { chk = this['chk0' + i]; if (chk.hitTest(player1.car01)) { if (chk._name != 'chk0' + lchk01) { if (chk._name == 'chk01' && lchk01 == 6) { lchk01 = i; ++lap01; } else { if (chk._name == 'chk0' + (lchk01 + 1)) { lchk01 = i; } else { txtout1 = 'Wrong CP'; } } if (tours < lap01) { winner = 1; } } } if (chk.hitTest(player2.car02)) { if (chk._name != 'chk0' + lchk02) { if (chk._name == 'chk01' && lchk02 == 6) { lchk02 = i; ++lap02; } else { if (chk._name == 'chk0' + (lchk02 + 1)) { lchk02 = i; } else { txtout2 = 'Wrong CP'; } } if (tours < lap02) { winner = 2; } } } ++i; } if (0 < winner) { gotoAndPlay(19); } else { prevFrame(); play(); } } frame 28 { stop(); speed1 = 0; speed2 = 0; angle1 = 5; angle2 = 5; fuel1 = 100; fuel2 = 100; maxspd1 = 10; maxspd2 = 10; lchk01 = 1; lchk02 = 1; lap01 = 1; lap02 = 1; numchk = 6; if (winner == 1) { txtWinner = 'Joueur 1 a gagné !!!'; } else { txtWinner = 'Joueur 2 a gagné !!!'; } } button 77 { on (release) { _root.gotoAndPlay(4); } }




https://swfchan.com/53/262846/info.shtml
Created: 1/3 -2026 17:50:22 Last modified: 1/3 -2026 17:50:22 Server time: 02/03 -2026 02:17:57