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

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

Mini Wave.swf

This is the info page for
Flash #22240

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


Text
Try to finish the race
before your opponent.
Use the arrow keys.

DIRECTEUR ARTISTIQUE
JEF

GRAPHISTES

ARNAUD      MAX      DOM

DEVELOPPEURS

ANTOINE     GUILLAUME

LEVEL 1

LEVEL 2

LEVEL 3

Réalisation Toon8

ActionScript [AS1/AS2]

Frame 1
function CCar(speedmax, acceleration, theclip, StartRotation, KeySpeed, KeyLeft, KeyRight, ClipCircuit) { this.SpeedKey = KeySpeed; this.TurnLeftKey = KeyLeft; this.TurnRightKey = KeyRight; this.ConvToRad = (Math.PI/180); this.MaxSpeed = speedmax; this.Acceleration = acceleration; this.ClipName = theclip; this.Rotation = 5; this.Circuit = ClipCircuit; this.CurrentSpeed = 0; this.CurrentRotation = StartRotation; this.ClipName._rotation = this.CurrentRotation; } var aKey = 97; var wKey = 112; var xKey = 120; CCar.prototype.Move = function () { var RadianAngle; if (Key.isDown(this.TurnLeftKey)) { this.CurrentRotation = this.CurrentRotation - this.Rotation; } if (Key.isDown(this.TurnRightKey)) { this.CurrentRotation = this.CurrentRotation + this.Rotation; } if (Key.isDown(this.SpeedKey)) { if (this.HitBounds()) { this.CurrentSpeed = 0.5; } else { this.CurrentSpeed = this.CurrentSpeed + this.Acceleration; if (this.MaxSpeed < this.CurrentSpeed) { this.CurrentSpeed = this.MaxSpeed; } } } else if (this.HitBounds()) { this.CurrentSpeed = 0; } else { this.CurrentSpeed = this.CurrentSpeed - this.Acceleration; if (this.CurrentSpeed < 0) { this.CurrentSpeed = 0; } } RadianAngle = this.CurrentRotation * this.ConvToRad; this.ClipName._rotation = this.CurrentRotation; this.ClipName._x = this.ClipName._x + (this.CurrentSpeed * Math.cos(RadianAngle)); this.ClipName._y = this.ClipName._y + (this.CurrentSpeed * Math.sin(RadianAngle)); }; CCar.prototype.HitBounds = function () { return(this.Circuit.hitTest(this.ClipName._x, this.ClipName._y, true)); };
Frame 2
function TestCheckPoint(CheckPointMovieClipArray, CarMovieClip) { var CptArray; var HitValue; CptArray = 0; HitValue = 0; while ((CptArray < CheckPointMovieClipArray.length) && (!HitValue)) { HitValue = CheckPointMovieClipArray[CptArray].hitTest(CarMovieClip._x, CarMovieClip._y, true); CptArray++; } if (HitValue) { CptArray--; return(CptArray); } return(-1); } function UpDateCheckPointNumArray(RangeNum, CheckPointNumOfMovieClipArray) { if ((!RangeNum) || (CheckPointNumOfMovieClipArray[RangeNum - 1])) { CheckPointNumOfMovieClipArray[RangeNum] = 1; return(1); } return(0); } function TestNewLap(CheckPointNumOfMovieClipArray) { var Cpt; Cpt = 0; while ((Cpt < CheckPointNumOfMovieClipArray.length) && (CheckPointNumOfMovieClipArray[Cpt])) { Cpt++; } return(Cpt >= CheckPointNumOfMovieClipArray.length); } function InitTab(TableOfNum, Nb) { var Cpt; Cpt = 0; while (Cpt < TableOfNum.length) { TableOfNum[Cpt] = Nb; Cpt++; } }
Frame 3
VarNumCircuit = ""; stop();
Frame 4
gotoAndPlay(_root.VarNumCircuit);
Frame 10
TotalLaps = 5; CurrentLap = 1; CheckPointClipArray = new Array(ClipInterLap1, ClipInterLap2, ClipInterLap3, ClipInterLap4, ClipNewLap); CheckPointNumArray = new Array(0, 0, 0, 0, 0); TheDate = new Date(); TextLaps = (("Lap " + CurrentLap) + "/") + TotalLaps; TextTime = "Time : 0 s 00"; StartTime = TheDate.getTime(); delete TheDate; OpponentLaps = 0;
Frame 11
myCar1 = new CCar(6, 0.08, CarN1, 0, Key.UP, Key.LEFT, Key.RIGHT, BordsCircuit);
Frame 12
TheDate = new Date(); CurrentTime = TheDate.getTime(); delete TheDate; TotalTime = CurrentTime - StartTime; TextTime = (("Time : " + Math.floor(TotalTime / 1000)) + " s ") + Math.floor((TotalTime - (Math.floor(TotalTime / 1000) * 1000)) / 10); myCar1.Move(); TestVal = TestCheckPoint(CheckPointClipArray, myCar1.ClipName); if (-1 < TestVal) { if (UpDateCheckPointNumArray(TestVal, CheckPointNumArray)) { TestVal = TestNewLap(CheckPointNumArray); if (TestVal) { CurrentLap++; InitTab(CheckPointNumArray, 0); if (TotalLaps >= CurrentLap) { TextLaps = (("Lap " + CurrentLap) + "/") + TotalLaps; } else { gotoAndPlay(_currentframe + 2); } } } } TextTabNum = (((((((CheckPointNumArray[0] + " ") + CheckPointNumArray[1]) + " ") + CheckPointNumArray[2]) + " ") + CheckPointNumArray[3]) + " ") + CheckPointNumArray[4]; if (TotalLaps < OpponentLaps) { ClipOpponent.stop(); gotoAndPlay(_currentframe + 2); } play();
Frame 13
prevFrame();
Frame 15
stop();
Frame 16
gotoAndPlay (3);
Frame 20
TotalLaps = 5; CurrentLap = 1; CheckPointClipArray = new Array(ClipInterLap1, ClipInterLap2, ClipInterLap3, ClipInterLap4, ClipNewLap); CheckPointNumArray = new Array(0, 0, 0, 0, 0); TheDate = new Date(); TextLaps = (("Lap " + CurrentLap) + "/") + TotalLaps; TextTime = "Time : 0 s 00"; StartTime = TheDate.getTime(); delete TheDate; OpponentLaps = 0;
Frame 21
myCar1 = new CCar(6, 0.08, CarN1, 315, Key.UP, Key.LEFT, Key.RIGHT, BordsCircuit);
Frame 22
TheDate = new Date(); CurrentTime = TheDate.getTime(); delete TheDate; TotalTime = CurrentTime - StartTime; TextTime = (("Time : " + Math.floor(TotalTime / 1000)) + " s ") + Math.floor((TotalTime - (Math.floor(TotalTime / 1000) * 1000)) / 10); myCar1.Move(); TestVal = TestCheckPoint(CheckPointClipArray, myCar1.ClipName); if (-1 < TestVal) { if (UpDateCheckPointNumArray(TestVal, CheckPointNumArray)) { TestVal = TestNewLap(CheckPointNumArray); if (TestVal) { CurrentLap++; InitTab(CheckPointNumArray, 0); if (TotalLaps >= CurrentLap) { TextLaps = (("Lap " + CurrentLap) + "/") + TotalLaps; } else { gotoAndPlay(_currentframe + 2); } } } } TextTabNum = (((((((CheckPointNumArray[0] + " ") + CheckPointNumArray[1]) + " ") + CheckPointNumArray[2]) + " ") + CheckPointNumArray[3]) + " ") + CheckPointNumArray[4]; if (TotalLaps < OpponentLaps) { ClipOpponent.stop(); gotoAndPlay(_currentframe + 2); } play();
Frame 23
prevFrame();
Frame 25
stop();
Frame 26
gotoAndPlay (3);
Frame 30
TotalLaps = 5; CurrentLap = 1; CheckPointClipArray = new Array(ClipInterLap1, ClipInterLap2, ClipInterLap3, ClipInterLap4, ClipNewLap); CheckPointNumArray = new Array(0, 0, 0, 0, 0); TheDate = new Date(); TextLaps = (("Lap " + CurrentLap) + "/") + TotalLaps; TextTime = "Time : 0 s 00"; StartTime = TheDate.getTime(); delete TheDate; OpponentLaps = 0;
Frame 31
myCar1 = new CCar(6, 0.08, CarN1, 0, Key.UP, Key.LEFT, Key.RIGHT, BordsCircuit);
Frame 32
TheDate = new Date(); CurrentTime = TheDate.getTime(); delete TheDate; TotalTime = CurrentTime - StartTime; TextTime = (("Time : " + Math.floor(TotalTime / 1000)) + " s ") + Math.floor((TotalTime - (Math.floor(TotalTime / 1000) * 1000)) / 10); myCar1.Move(); TestVal = TestCheckPoint(CheckPointClipArray, myCar1.ClipName); if (-1 < TestVal) { if (UpDateCheckPointNumArray(TestVal, CheckPointNumArray)) { TestVal = TestNewLap(CheckPointNumArray); if (TestVal) { CurrentLap++; InitTab(CheckPointNumArray, 0); if (TotalLaps >= CurrentLap) { TextLaps = (("Lap " + CurrentLap) + "/") + TotalLaps; } else { gotoAndPlay(_currentframe + 2); } } } } TextTabNum = (((((((CheckPointNumArray[0] + " ") + CheckPointNumArray[1]) + " ") + CheckPointNumArray[2]) + " ") + CheckPointNumArray[3]) + " ") + CheckPointNumArray[4]; if (TotalLaps < OpponentLaps) { ClipOpponent.stop(); gotoAndPlay(_currentframe + 2); } play();
Frame 33
prevFrame();
Frame 35
stop();
Frame 36
gotoAndPlay (3);
Frame 40
SelectCircuit._visible = 0; _root.VarNumCircuit = "";
Frame 140
stop();
Symbol 49 Button
on (release) { gotoAndPlay (10); SelectCircuit._visible = 1; }
Symbol 65 MovieClip Frame 1
stop();
Symbol 65 MovieClip Frame 275
_parent.play();
Symbol 68 MovieClip Frame 1
stop();
Symbol 68 MovieClip Frame 259
_parent.play();
Symbol 94 Button
on (release) { _root.VarNumCircuit = "Circuit1"; _root.play(); }
Symbol 102 Button
on (release) { _root.VarNumCircuit = "Circuit2"; _root.play(); }
Symbol 108 Button
on (release) { _root.VarNumCircuit = "Circuit3"; _root.play(); }
Symbol 112 Button
on (release) { gotoAndPlay (10); ClipRegles.play(); }
Symbol 113 Button
on (release) { gotoAndPlay (10); ClipCredits.play(); }
Symbol 114 MovieClip Frame 1
SelectCircuit._visible = 0;
Symbol 114 MovieClip Frame 2
stop();
Symbol 114 MovieClip Frame 10
stop();
Symbol 114 MovieClip Frame 19
gotoAndPlay (1);
Symbol 114 MovieClip Frame 20
stop();
Symbol 114 MovieClip Frame 29
gotoAndPlay (1);
Symbol 114 MovieClip Frame 30
stop();
Symbol 114 MovieClip Frame 101
stop();
Symbol 127 MovieClip Frame 1
_root.OpponentLaps++;
Symbol 131 MovieClip Frame 45
_root.play();
Symbol 137 MovieClip Frame 1
-(root.OpponentLaps++);
Symbol 146 MovieClip Frame 1
_root.OpponentLaps++;
Symbol 158 Button
on (release) { SelectCircuit._visible = 1; }

Library Items

Symbol 1 GraphicUsed by:3
Symbol 2 SoundUsed by:3
Symbol 3 MovieClipUses:1 2Used by:Timeline
Symbol 4 GraphicUsed by:114
Symbol 5 GraphicUsed by:94 102 108 114  Timeline
Symbol 6 GraphicUsed by:114
Symbol 7 GraphicUsed by:8 9 94 102 108
Symbol 8 MovieClipUses:7Used by:94 102 108 114  Timeline
Symbol 9 MovieClipUses:7Used by:94 102 114  Timeline
Symbol 10 BitmapUsed by:11 13 15 147
Symbol 11 GraphicUses:10Used by:12 87 94 102 108
Symbol 12 MovieClipUses:11Used by:94 102 108 114  Timeline
Symbol 13 GraphicUses:10Used by:14 20 94 102 108
Symbol 14 MovieClipUses:13Used by:102 108 114  Timeline
Symbol 15 GraphicUses:10Used by:16 19 94 102 108
Symbol 16 MovieClipUses:15Used by:94 102 108 114  Timeline
Symbol 17 GraphicUsed by:94 102 108 114  Timeline
Symbol 18 GraphicUsed by:94 102 108 114  Timeline
Symbol 19 MovieClipUses:15Used by:94 102 108 114  Timeline
Symbol 20 MovieClipUses:13Used by:94 102 108 114  Timeline
Symbol 21 GraphicUsed by:114
Symbol 22 GraphicUsed by:23 94 102 108
Symbol 23 MovieClipUses:22Used by:94 102 108 114  Timeline
Symbol 24 GraphicUsed by:25 94 102 108
Symbol 25 MovieClipUses:24Used by:94 102 108 114  Timeline
Symbol 26 GraphicUsed by:64 94 102 108 114 127 129 137 138 146 154  Timeline
Symbol 27 GraphicUsed by:64 94 102 108 114 127 129 137 138 146 154  Timeline
Symbol 28 GraphicUsed by:114
Symbol 29 GraphicUsed by:31
Symbol 30 GraphicUsed by:31
Symbol 31 MovieClipUses:29 30Used by:114  Timeline
Symbol 32 GraphicUsed by:114
Symbol 33 GraphicUsed by:39 112 156
Symbol 34 FontUsed by:35
Symbol 35 TextUses:34Used by:39 112 156
Symbol 36 GraphicUsed by:39 112 156
Symbol 37 GraphicUsed by:39 112 156
Symbol 38 GraphicUsed by:39 45 49 112 113 156 157 158
Symbol 39 ButtonUses:33 35 36 37 38Used by:114
Symbol 40 GraphicUsed by:45 113 157
Symbol 41 GraphicUsed by:45 113 157
Symbol 42 GraphicUsed by:45 64 113 157
Symbol 43 GraphicUsed by:45 113 157
Symbol 44 GraphicUsed by:45 113 157
Symbol 45 ButtonUses:40 41 42 43 44 38Used by:114
Symbol 46 GraphicUsed by:49 158
Symbol 47 GraphicUsed by:49 158
Symbol 48 GraphicUsed by:49 158
Symbol 49 ButtonUses:46 47 48 38Used by:114
Symbol 50 GraphicUsed by:65
Symbol 51 GraphicUsed by:53
Symbol 52 GraphicUsed by:53
Symbol 53 MovieClipUses:51 52Used by:64 127 129 137 138 146  Timeline
Symbol 54 GraphicUsed by:64
Symbol 55 GraphicUsed by:64 146  Timeline
Symbol 56 FontUsed by:57 60 61 62 63 93 101 107
Symbol 57 TextUses:56Used by:64
Symbol 58 GraphicUsed by:64 127  Timeline
Symbol 59 GraphicUsed by:64 137  Timeline
Symbol 60 TextUses:56Used by:64
Symbol 61 TextUses:56Used by:64
Symbol 62 TextUses:56Used by:64
Symbol 63 TextUses:56Used by:64
Symbol 64 MovieClipUses:53 54 26 27 55 57 58 59 42 60 61 62 63Used by:65
Symbol 65 MovieClipUses:50 64Used by:114
Symbol 66 GraphicUsed by:68
Symbol 67 GraphicUsed by:68
Symbol 68 MovieClipUses:66 67Used by:114
Symbol 69 GraphicUsed by:109
Symbol 70 GraphicUsed by:109
Symbol 71 GraphicUsed by:94  Timeline
Symbol 72 GraphicUsed by:94  Timeline
Symbol 73 GraphicUsed by:94  Timeline
Symbol 74 GraphicUsed by:94  Timeline
Symbol 75 GraphicUsed by:94 108  Timeline
Symbol 76 GraphicUsed by:94  Timeline
Symbol 77 GraphicUsed by:94 154  Timeline
Symbol 78 GraphicUsed by:94 154  Timeline
Symbol 79 GraphicUsed by:94  Timeline
Symbol 80 GraphicUsed by:94  Timeline
Symbol 81 GraphicUsed by:94  Timeline
Symbol 82 GraphicUsed by:94  Timeline
Symbol 83 GraphicUsed by:94  Timeline
Symbol 84 GraphicUsed by:94  Timeline
Symbol 85 GraphicUsed by:94  Timeline
Symbol 86 GraphicUsed by:94  Timeline
Symbol 87 MovieClipUses:11Used by:94  Timeline
Symbol 88 GraphicUsed by:94  Timeline
Symbol 89 GraphicUsed by:94 102  Timeline
Symbol 90 GraphicUsed by:94  Timeline
Symbol 91 GraphicUsed by:94  Timeline
Symbol 92 GraphicUsed by:94  Timeline
Symbol 93 TextUses:56Used by:94
Symbol 94 ButtonUses:71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 8 9 5 86 87 12 88 26 27 89 90 91 92 20 16 17 18 19 23 25 93 7 11 13 15 22 24Used by:109
Symbol 95 GraphicUsed by:102  Timeline
Symbol 96 GraphicUsed by:102  Timeline
Symbol 97 GraphicUsed by:102  Timeline
Symbol 98 GraphicUsed by:102  Timeline
Symbol 99 GraphicUsed by:102  Timeline
Symbol 100 GraphicUsed by:102  Timeline
Symbol 101 TextUses:56Used by:102
Symbol 102 ButtonUses:95 5 96 8 9 12 97 26 27 89 98 99 100 14 16 17 18 19 20 23 25 101 7 11 13 15 22 24Used by:109
Symbol 103 GraphicUsed by:108  Timeline
Symbol 104 GraphicUsed by:108  Timeline
Symbol 105 GraphicUsed by:108  Timeline
Symbol 106 GraphicUsed by:108  Timeline
Symbol 107 TextUses:56Used by:108
Symbol 108 ButtonUses:75 103 8 12 104 26 27 105 14 17 18 19 20 16 23 25 5 106 107 7 11 13 15 22 24Used by:109
Symbol 109 MovieClipUses:69 70 94 102 108Used by:114  Timeline
Symbol 110 FontUsed by:111
Symbol 111 TextUses:110Used by:114
Symbol 112 ButtonUses:33 35 36 37 38Used by:114
Symbol 113 ButtonUses:40 41 42 43 44 38Used by:114
Symbol 114 MovieClipUses:4 5 6 8 9 12 14 16 17 18 19 20 21 23 25 26 27 28 31 32 39 45 49 65 68 109 111 112 113Used by:Timeline
Symbol 115 GraphicUsed by:116
Symbol 116 MovieClipUses:115Used by:Timeline
Symbol 117 GraphicUsed by:118 121
Symbol 118 MovieClipUses:117Used by:Timeline
Symbol 119 GraphicUsed by:120
Symbol 120 MovieClipUses:119Used by:Timeline
Symbol 121 MovieClipUses:117Used by:Timeline
Symbol 122 FontUsed by:123 134 143 144 145
Symbol 123 EditableTextUses:122Used by:Timeline
Symbol 124 FontUsed by:125 126 135 136
Symbol 125 EditableTextUses:124Used by:Timeline
Symbol 126 EditableTextUses:124Used by:Timeline
Symbol 127 MovieClipUses:53 58 26 27Used by:Timeline
Symbol 128 GraphicUsed by:129 138
Symbol 129 MovieClipUses:53 128 26 27Used by:Timeline
Symbol 130 GraphicUsed by:131
Symbol 131 MovieClipUses:130Used by:Timeline
Symbol 132 GraphicUsed by:133
Symbol 133 MovieClipUses:132Used by:Timeline
Symbol 134 EditableTextUses:122Used by:Timeline
Symbol 135 EditableTextUses:124Used by:Timeline
Symbol 136 EditableTextUses:124Used by:Timeline
Symbol 137 MovieClipUses:53 59 26 27Used by:Timeline
Symbol 138 MovieClipUses:53 128 26 27Used by:Timeline
Symbol 139 GraphicUsed by:140
Symbol 140 MovieClipUses:139Used by:Timeline
Symbol 141 GraphicUsed by:Timeline
Symbol 142 GraphicUsed by:Timeline
Symbol 143 EditableTextUses:122Used by:Timeline
Symbol 144 EditableTextUses:122Used by:Timeline
Symbol 145 EditableTextUses:122Used by:Timeline
Symbol 146 MovieClipUses:53 55 26 27Used by:Timeline
Symbol 147 GraphicUses:10Used by:Timeline
Symbol 148 GraphicUsed by:Timeline
Symbol 149 GraphicUsed by:Timeline
Symbol 150 GraphicUsed by:Timeline
Symbol 151 GraphicUsed by:Timeline
Symbol 152 GraphicUsed by:Timeline
Symbol 153 GraphicUsed by:154
Symbol 154 MovieClipUses:77 78 153 26 27Used by:Timeline
Symbol 155 GraphicUsed by:Timeline
Symbol 156 ButtonUses:33 35 36 37 38Used by:Timeline
Symbol 157 ButtonUses:40 41 42 43 44 38Used by:Timeline
Symbol 158 ButtonUses:46 47 48 38Used by:Timeline
Symbol 159 GraphicUsed by:Timeline

Instance Names

"BordsCircuit"Frame 10Symbol 116 MovieClip
"ClipInterLap1"Frame 10Symbol 118 MovieClip
"ClipNewLap"Frame 10Symbol 120 MovieClip
"ClipInterLap2"Frame 10Symbol 118 MovieClip
"ClipInterLap3"Frame 10Symbol 121 MovieClip
"ClipInterLap4"Frame 10Symbol 118 MovieClip
"ClipOpponent"Frame 11Symbol 127 MovieClip
"CarN1"Frame 11Symbol 129 MovieClip
"BordsCircuit"Frame 20Symbol 133 MovieClip
"ClipOpponent"Frame 21Symbol 137 MovieClip
"CarN1"Frame 21Symbol 138 MovieClip
"BordsCircuit"Frame 30Symbol 140 MovieClip
"ClipOpponent"Frame 31Symbol 146 MovieClip
"CarN1"Frame 31Symbol 138 MovieClip
"SelectCircuit"Frame 40Symbol 109 MovieClip
"ClipCredits"Symbol 114 MovieClip Frame 1Symbol 65 MovieClip
"ClipRegles"Symbol 114 MovieClip Frame 1Symbol 68 MovieClip
"SelectCircuit"Symbol 114 MovieClip Frame 1Symbol 109 MovieClip

Special Tags

Protect (24)Timeline Frame 10 bytes ""

Labels

"Menu"Frame 3
"Circuit1"Frame 10
"Circuit2"Frame 20
"Circuit3"Frame 30

Dynamic Text Variables

TextLapsSymbol 123 EditableText""
TextTabNumSymbol 125 EditableText""
TextTimeSymbol 126 EditableText""
TextLapsSymbol 134 EditableText""
TextTabNumSymbol 135 EditableText""
TextTimeSymbol 136 EditableText""
TextLapsSymbol 143 EditableText""
TextTabNumSymbol 144 EditableText""
TextTimeSymbol 145 EditableText""




http://swfchan.com/5/22240/info.shtml
Created: 27/5 -2019 01:08:15 Last modified: 27/5 -2019 01:08:15 Server time: 09/05 -2024 14:11:58