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

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

Rally WRX.swf

This is the info page for
Flash #122630

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


Text
INITIALISING SKIDWRX LOADING ENGINE

RALLY

WRX

<p align="right"><font face="Trebuchet MS" size="15" color="#0a3900"><a href="http://www.juegate.com/" target = "_top"><b>www.juegate.com</b></a></font></p>

/

CARGANDO

K

BARRA ESPACIADORA FRENA Y CON LAS
FLECHAS SE CONTROLA EL VEHÍCULO

¡JUGAR!

PLAY!

00

00

00

00

LAP 01

LAP 02

LAP 03

RELOJ

3

2

1

go

REINCIAR

CARRERA COMPLETADA

TIEMPO TOTAL

MEJOR VUELTA

ActionScript [AS1/AS2]

Frame 1
Loading = getBytesLoaded(); Total = getBytesTotal(); _root.loaded = Math.round(loading / 1000); _root.totalk = Math.round(Total / 1000); if (loading >= Total) { gotoAndStop (3); }
Frame 2
gotoAndPlay (1);
Frame 3
stop();
Frame 4
stop(); mbenneyTimer = function () { this.reset(); }; mT = mbenneyTimer.prototype; mT.reset = function () { var _local1 = this; _local1.oldTime = 0; _local1.pause = true; _local1.totalTime = 0; }; mT.stop = function () { var _local1 = this; if (!_local1.pause) { _local1.pause = true; _local1.totalTime = _local1.totalTime + (getTimer() - _local1.oldTime); } }; mT.start = function () { var _local1 = this; if (_local1.pause) { _local1.pause = false; _local1.oldTime = getTimer(); } }; mT.getMili = function () { var _local2 = this; var _local1 = _local2.totalTime; if (!_local2.pause) { _local1 = _local1 + (getTimer() - _local2.oldTime); } return(_local1); }; mT.getSecs = function () { var _local2 = this; var _local1 = _local2.totalTime / 1000; if (!_local2.pause) { _local1 = _local1 + ((getTimer() - _local2.oldTime) / 1000); } return(Math.round(_local1)); }; mT.getMins = function () { var _local2 = this; var _local1 = _local2.totalTime / 1000; if (!_local2.pause) { _local1 = _local1 + (((getTimer() - _local2.oldTime) / 1000) / 60); } return(Math.round(_local1)); }; mT.getCount = function (secs) { var _local2 = this; var _local1 = _local2.totalTime; if (!_local2.pause) { _local1 = _local1 + ((getTimer() - _local2.oldTime) / 1000); } var _local3 = secs - _local1; return(Math.round(_local3)); };
Instance of Symbol 40 MovieClip "car" in Frame 4
onClipEvent (load) { track_x = 100; track_y = -818; this._x = Stage.Width / 2; this._y = Stage.Height / 2; angle = 1.5609317684435; _rotation = ((angle * 180) / Math.PI); _root.track._x = track_x; _root.track._y = track_y; _root.lap1 = ""; _root.lap2 = ""; _root.lap3 = ""; _root.timer = ""; }
Frame 5
stop();
Instance of Symbol 40 MovieClip "car" in Frame 5
onClipEvent (load) { function getPos(clip) { var _local1 = {x:0, y:0}; clip.localToGlobal(_local1); return(_local1); } function two(x) { return(((x > 9) ? "" : "0") + x); } function three(x) { var _local1 = x; return((((_local1 > 99) ? "" : "0") + ((_local1 > 9) ? "" : "0")) + _local1); } function displaytime(ms) { var _local2 = Math.floor(ms / 1000); ms = ms % 1000; var _local1 = three(ms); var _local3 = Math.floor(_local2 / 60); _local2 = _local2 % 60; _local1 = (two(_local2) + ":") + _local1; var hr = Math.floor(_local3 / 60); _local3 = _local3 % 60; _local1 = (two(_local3) + ":") + _local1; return(_local1); } function skid(Handbrakey) { var _local2 = this; var _local3 = _root.track.attachMovie("skidmark", "skidleft" + skids, skids); var _local1 = 0; while (_local1 < _local2.displaywheels) { wheelsPos[_local1] = getPos(_local2["w" + _local1]); if (handbrakey) { _local3.lineStyle(4, 0, 70); _local3.moveto(_local2.wheelsPos[_local1].x - track_x, _local2.wheelsPos[_local1].y - track_y); _local3.lineTo(_local2.lastpos[_local1].x, _local2.lastpos[_local1].y); } else { _local3.lineStyle(3, 0, 50); _local3.moveto(_local2.wheelsPos[_local1].x - track_x, _local2.wheelsPos[_local1].y - track_y); _local3.lineTo(_local2.lastpos[_local1].x, _local2.lastpos[_local1].y); } lastpos[_local1].x = _local2.wheelsPos[_local1].x - track_x; lastpos[_local1].y = _local2.wheelsPos[_local1].y - track_y; skids++; _local1++; } return(true); } function setLastpos() { var _local2 = this; var _local1 = 0; while (_local1 < _local2.displaywheels) { _local2.wheelsPos[_local1] = getPos(_local2["w" + _local1]); lastpos[_local1].x = _local2.wheelsPos[_local1].x - track_x; lastpos[_local1].y = _local2.wheelsPos[_local1].y - track_y; _local1++; } } function adjust(v, threshold, maximum) { vx = 0; if (v <= threshold) { vx = (v / threshold) * 1; } else { vx = 1; } return(vx); } accel = 0.2; steer = 0.08; steer_normal = 0.08; steer_handbrake = 0.099; steer_threshold = 4; MINspd = -5; MAXspd = 22; MAXskiddisplay = 2; MAXturnSpd = 10; MaxTurnSkid = 18; deccel = 0.92; handbrake = 0.93; handbrake_traction = 20; drift = 0.98; speed = 0; surface = 3; traction = 5; traction_max = 1; vector = [0, 0]; bounceBack = 0.6; laptimes = new Array(); laps = 3; var i = 1; while (i <= laps) { laptimes[i] = 0; i++; } checkpoints = new Array(); checks = 4; var i = 0; while (i <= checks) { checkpoints[i] = false; i++; } lap = 0; collide = false; track_x = 100; track_y = -818; this._x = Stage.Width / 2; this._y = Stage.Height / 2; angle = 1.5609317684435; _rotation = ((angle * 180) / Math.PI); myTimer = new _root.mbenneyTimer(); displaywheels = 2; wheelsPos = new Array(); lastPos = new Array(); var i = 0; while (i < displaywheels) { wheelsPos[i] = getPos(this["w" + i]); lastPos[i] = wheelspos[i]; i++; } skidding = false; turnskidding = false; skids = 1; myTimer.start(); } onClipEvent (enterFrame) { _rotation = ((angle * 180) / Math.PI); _root.track._x = track_x; _root.track._y = track_y; UD = Key.isDown(38) - Key.isDown(40); LR = Key.isDown(39) - Key.isDown(37); HAND = Key.isDown(32); if (LR) { angle = angle + ((LR * steer) * adjust(Math.Abs(speed), steer_threshold, MAXSpd)); if (speed > maxturnskid) { if (!turnskidding) { setLastpos(); } turnskidding = skid(HAND); } else { turnskidding = false; } } else { turnskidding = false; } if (!UD) { speed = speed * drift; } else if (UD & (!HAND)) { speed = Math.min(Math.max(speed + (UD * accel), MINspd), MAXspd); } if (Math.abs(speed) < (accel / 2)) { speed = 0; } if (HAND) { speed = speed * handbrake; if (speed > MAXskiddisplay) { steer = steer_handbrake; if (!skidding) { setLastpos(); } skidding = skid(HAND); } traction = handbrake_traction / surface; } else { skidding = false; traction = Math.max(traction_max, Math.abs((speed - MAXturnSpd) / surface)); steer = steer_normal; } if (speed < 0) { traction = 1; } if (!_root.track.track.hittest(_x, _y, true)) { speed = speed * 0.95; traction = traction * 1.1; } var frontpos = new Array(); var i = 0; while (i < this.displaywheels) { this.frontpos[i] = getPos(this["f" + i]); i++; } if (_root.track.crunchers.hittest(frontpos[0].x, frontpos[0].y, true) & (!collide)) { speed = (-speed) * bounceback; vector[0] = -vector[0]; vector[1] = -vector[1]; collide = true; } else if (_root.track.crunchers.hittest(frontpos[1].x, frontpos[1].y, true) & (!collide)) { speed = (-speed) * bounceback; vector[0] = -vector[0]; vector[1] = -vector[1]; collide = true; } else { collide = false; } track_x = track_x + ((vector[0] = vector[0] + (((Math.cos(angle) * speed) - vector[0]) / traction))); track_y = track_y + ((vector[1] = vector[1] + (((Math.sin(angle) * speed) - vector[1]) / traction))); _root.timer = displaytime(myTimer.getMili()); _root.speedHand._rotation = Math.max(-11, Math.Abs(speed * 8.5)); if (_root.track.check1.hittest(_x, _y, true)) { checkpoints[1] = true; } if (_root.track.check2.hittest(_x, _y, true)) { checkpoints[2] = true; } if (_root.track.check3.hittest(_x, _y, true)) { checkpoints[3] = true; } if (_root.track.check4.hittest(_x, _y, true)) { checkpoints[4] = true; } if (_root.track.check0.hittest(_x, _y, true)) { if (((checkpoints[1] & checkpoints[2]) & checkpoints[3]) & checkpoints[4]) { lap++; if (lap == 1) { laptimes[1] = myTimer.getMili(); _root.lap1 = displaytime(laptimes[1]); } else if (lap == 2) { laptimes[2] = myTimer.getMili() - laptimes[1]; _root.lap2 = displaytime(laptimes[2]); } else if (lap == 3) { laptimes[3] = (myTimer.getMili() - laptimes[2]) - laptimes[1]; _root.lap3 = displaytime(laptimes[3]); } var i = 0; while (i <= checks) { checkpoints[i] = false; i++; } if (lap >= laps) { mytimer.stop(); _root.racetimer = myTimer.getMili(); _root.bestlaptime = Math.Min(laptimes[1], Math.Min(laptimes[2], laptimes[3])); _root.gotoandstop(6); } } } }
Frame 6
function two(x) { return(((x > 9) ? "" : "0") + x); } function three(x) { var _local1 = x; return((((_local1 > 99) ? "" : "0") + ((_local1 > 9) ? "" : "0")) + _local1); } function displaytime(ms) { var _local2 = Math.floor(ms / 1000); ms = ms % 1000; var _local1 = three(ms); var _local3 = Math.floor(_local2 / 60); _local2 = _local2 % 60; _local1 = (two(_local2) + ":") + _local1; var hr = Math.floor(_local3 / 60); _local3 = _local3 % 60; _local1 = (two(_local3) + ":") + _local1; return(_local1); } _root.totalrace = displaytime(_root.racetimer); _root.bestlap = displaytime(_root.bestlaptime); stop();
Symbol 1 MovieClip [skidmark] Frame 71
this.removemovieclip();
Symbol 21 Button
on (release) { gotoAndPlay (4); }
Symbol 31 MovieClip Frame 1
this.track._visible = false; this.crunchers._visible = false; this.check0._visible = false; this.check1._visible = false; this.check2._visible = false; this.check3._visible = false; this.check4._visible = false; stop();
Symbol 40 MovieClip Frame 1
fscommand ("allowscale", "false");
Symbol 57 MovieClip Frame 101
_root.gotoandplay(5); this.movieclipremove();
Symbol 62 Button
on (release) { gotoAndStop (4); }

Library Items

Symbol 1 MovieClip [skidmark]
Symbol 2 FontUsed by:3 15 16 17 41 42 43 44
Symbol 3 EditableTextUses:2Used by:Timeline
Symbol 4 BitmapUsed by:5
Symbol 5 GraphicUses:4Used by:6
Symbol 6 MovieClipUses:5Used by:Timeline
Symbol 7 FontUsed by:8 9 12 13 14 18 20 45 46 47 48 49 51 53 55 60 63 64 65 66 67
Symbol 8 EditableTextUses:7Used by:Timeline
Symbol 9 EditableTextUses:7Used by:Timeline
Symbol 10 FontUsed by:11
Symbol 11 EditableTextUses:10Used by:Timeline
Symbol 12 EditableTextUses:7Used by:Timeline
Symbol 13 EditableTextUses:7Used by:Timeline
Symbol 14 EditableTextUses:7Used by:Timeline
Symbol 15 EditableTextUses:2Used by:Timeline
Symbol 16 EditableTextUses:2Used by:Timeline
Symbol 17 TextUses:2Used by:Timeline
Symbol 18 EditableTextUses:7Used by:21
Symbol 19 GraphicUsed by:21
Symbol 20 EditableTextUses:7Used by:21
Symbol 21 ButtonUses:18 19 20Used by:Timeline
Symbol 22 BitmapUsed by:23
Symbol 23 GraphicUses:22Used by:31
Symbol 24 GraphicUsed by:25
Symbol 25 MovieClipUses:24Used by:31
Symbol 26 GraphicUsed by:27
Symbol 27 MovieClipUses:26Used by:28
Symbol 28 MovieClipUses:27Used by:31
Symbol 29 GraphicUsed by:30
Symbol 30 MovieClipUses:29Used by:31
Symbol 31 MovieClipUses:23 25 28 30Used by:Timeline
Symbol 32 GraphicUsed by:33
Symbol 33 MovieClipUses:32Used by:Timeline
Symbol 34 GraphicUsed by:35
Symbol 35 MovieClipUses:34Used by:Timeline
Symbol 36 BitmapUsed by:37
Symbol 37 GraphicUses:36Used by:40
Symbol 38 MovieClipUsed by:40
Symbol 39 MovieClipUsed by:40
Symbol 40 MovieClipUses:37 38 39Used by:Timeline
Symbol 41 EditableTextUses:2Used by:Timeline
Symbol 42 EditableTextUses:2Used by:Timeline
Symbol 43 EditableTextUses:2Used by:Timeline
Symbol 44 EditableTextUses:2Used by:Timeline
Symbol 45 EditableTextUses:7Used by:Timeline
Symbol 46 EditableTextUses:7Used by:Timeline
Symbol 47 EditableTextUses:7Used by:Timeline
Symbol 48 EditableTextUses:7Used by:Timeline
Symbol 49 EditableTextUses:7Used by:50
Symbol 50 MovieClipUses:49Used by:57
Symbol 51 EditableTextUses:7Used by:52
Symbol 52 MovieClipUses:51Used by:57
Symbol 53 EditableTextUses:7Used by:54
Symbol 54 MovieClipUses:53Used by:57
Symbol 55 EditableTextUses:7Used by:56
Symbol 56 MovieClipUses:55Used by:57
Symbol 57 MovieClipUses:50 52 54 56Used by:Timeline
Symbol 58 GraphicUsed by:59 62
Symbol 59 MovieClipUses:58Used by:62  Timeline
Symbol 60 EditableTextUses:7Used by:62
Symbol 61 GraphicUsed by:62
Symbol 62 ButtonUses:59 60 58 61Used by:Timeline
Symbol 63 EditableTextUses:7Used by:Timeline
Symbol 64 EditableTextUses:7Used by:Timeline
Symbol 65 EditableTextUses:7Used by:Timeline
Symbol 66 EditableTextUses:7Used by:Timeline
Symbol 67 EditableTextUses:7Used by:Timeline

Instance Names

"track"Frame 4Symbol 31 MovieClip
"speedHand"Frame 4Symbol 35 MovieClip
"car"Frame 4Symbol 40 MovieClip
"car"Frame 5Symbol 40 MovieClip
"replay"Frame 6Symbol 62 Button
"crunchers"Symbol 31 MovieClip Frame 1Symbol 25 MovieClip
"track"Symbol 31 MovieClip Frame 1Symbol 28 MovieClip
"check0"Symbol 31 MovieClip Frame 1Symbol 30 MovieClip
"check0"Symbol 31 MovieClip Frame 1Symbol 30 MovieClip
"check0"Symbol 31 MovieClip Frame 1Symbol 30 MovieClip
"check1"Symbol 31 MovieClip Frame 1Symbol 30 MovieClip
"check2"Symbol 31 MovieClip Frame 1Symbol 30 MovieClip
"check3"Symbol 31 MovieClip Frame 1Symbol 30 MovieClip
"check4"Symbol 31 MovieClip Frame 1Symbol 30 MovieClip
"w1"Symbol 40 MovieClip Frame 1Symbol 38 MovieClip
"w0"Symbol 40 MovieClip Frame 1Symbol 39 MovieClip
"f1"Symbol 40 MovieClip Frame 1Symbol 38 MovieClip
"f0"Symbol 40 MovieClip Frame 1Symbol 39 MovieClip

Special Tags

Protect (24)Timeline Frame 10 bytes ""
ExportAssets (56)Timeline Frame 1Symbol 1 as "skidmark"

Dynamic Text Variables

loadedSymbol 12 EditableText""
totalkSymbol 14 EditableText""
lap1Symbol 41 EditableText"00"
lap2Symbol 42 EditableText"00"
lap3Symbol 43 EditableText"00"
timerSymbol 44 EditableText"00"
totalraceSymbol 66 EditableText""
bestlapSymbol 67 EditableText""




http://swfchan.com/25/122630/info.shtml
Created: 3/3 -2019 21:32:20 Last modified: 3/3 -2019 21:32:20 Server time: 05/11 -2024 08:23:32