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/53563548?noj=FRM53563548-9DC" width="1" height="1"></div>

Mini Wave.swf

This is the info page for
Flash #24657

(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 48 Button
on (release) { gotoAndPlay (10); SelectCircuit._visible = 1; }
Symbol 64 MovieClip Frame 1
stop();
Symbol 64 MovieClip Frame 275
_parent.play();
Symbol 67 MovieClip Frame 1
stop();
Symbol 67 MovieClip Frame 259
_parent.play();
Symbol 93 Button
on (release) { _root.VarNumCircuit = "Circuit1"; _root.play(); }
Symbol 101 Button
on (release) { _root.VarNumCircuit = "Circuit2"; _root.play(); }
Symbol 107 Button
on (release) { _root.VarNumCircuit = "Circuit3"; _root.play(); }
Symbol 111 Button
on (release) { gotoAndPlay (10); ClipRegles.play(); }
Symbol 112 Button
on (release) { gotoAndPlay (10); ClipCredits.play(); }
Symbol 113 MovieClip Frame 1
SelectCircuit._visible = 0;
Symbol 113 MovieClip Frame 2
stop();
Symbol 113 MovieClip Frame 10
stop();
Symbol 113 MovieClip Frame 19
gotoAndPlay (1);
Symbol 113 MovieClip Frame 20
stop();
Symbol 113 MovieClip Frame 29
gotoAndPlay (1);
Symbol 113 MovieClip Frame 30
stop();
Symbol 113 MovieClip Frame 101
stop();
Symbol 126 MovieClip Frame 1
_root.OpponentLaps++;
Symbol 130 MovieClip Frame 45
_root.play();
Symbol 136 MovieClip Frame 1
-(root.OpponentLaps++);
Symbol 145 MovieClip Frame 1
_root.OpponentLaps++;
Symbol 157 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:113
Symbol 5 GraphicUsed by:93 101 107 113  Timeline
Symbol 6 GraphicUsed by:113
Symbol 7 GraphicUsed by:8 9 93 101 107
Symbol 8 MovieClipUses:7Used by:93 101 107 113  Timeline
Symbol 9 MovieClipUses:7Used by:93 101 113  Timeline
Symbol 10 BitmapUsed by:11 13 15 146
Symbol 11 GraphicUses:10Used by:12 86 93 101 107
Symbol 12 MovieClipUses:11Used by:93 101 107 113  Timeline
Symbol 13 GraphicUses:10Used by:14 20 93 101 107
Symbol 14 MovieClipUses:13Used by:101 107 113  Timeline
Symbol 15 GraphicUses:10Used by:16 19 93 101 107
Symbol 16 MovieClipUses:15Used by:93 101 107 113  Timeline
Symbol 17 GraphicUsed by:93 101 107 113  Timeline
Symbol 18 GraphicUsed by:93 101 107 113  Timeline
Symbol 19 MovieClipUses:15Used by:93 101 107 113  Timeline
Symbol 20 MovieClipUses:13Used by:93 101 107 113  Timeline
Symbol 21 GraphicUsed by:113
Symbol 22 GraphicUsed by:23 93 101 107
Symbol 23 MovieClipUses:22Used by:93 101 107 113  Timeline
Symbol 24 GraphicUsed by:25 93 101 107
Symbol 25 MovieClipUses:24Used by:93 101 107 113  Timeline
Symbol 26 GraphicUsed by:63 93 101 107 113 126 128 136 137 145 153  Timeline
Symbol 27 GraphicUsed by:63 93 101 107 113 126 128 136 137 145 153  Timeline
Symbol 28 GraphicUsed by:113
Symbol 29 GraphicUsed by:31
Symbol 30 GraphicUsed by:31
Symbol 31 MovieClipUses:29 30Used by:113  Timeline
Symbol 32 GraphicUsed by:113
Symbol 33 GraphicUsed by:39 111 155
Symbol 34 FontUsed by:35
Symbol 35 TextUses:34Used by:39 111 155
Symbol 36 GraphicUsed by:39 111 155
Symbol 37 GraphicUsed by:39 111 155
Symbol 38 GraphicUsed by:39 44 48 111 112 155 156 157
Symbol 39 ButtonUses:33 35 36 37 38Used by:113
Symbol 40 GraphicUsed by:44 112 156
Symbol 41 GraphicUsed by:44 63 112 156
Symbol 42 GraphicUsed by:44 112 156
Symbol 43 GraphicUsed by:44 112 156
Symbol 44 ButtonUses:40 41 42 43 38Used by:113
Symbol 45 GraphicUsed by:48 157
Symbol 46 GraphicUsed by:48 157
Symbol 47 GraphicUsed by:48 157
Symbol 48 ButtonUses:45 46 47 38Used by:113
Symbol 49 GraphicUsed by:64
Symbol 50 GraphicUsed by:52
Symbol 51 GraphicUsed by:52
Symbol 52 MovieClipUses:50 51Used by:63 126 128 136 137 145  Timeline
Symbol 53 GraphicUsed by:63
Symbol 54 GraphicUsed by:63 145  Timeline
Symbol 55 FontUsed by:56 59 60 61 62 92 100 106
Symbol 56 TextUses:55Used by:63
Symbol 57 GraphicUsed by:63 126  Timeline
Symbol 58 GraphicUsed by:63 136  Timeline
Symbol 59 TextUses:55Used by:63
Symbol 60 TextUses:55Used by:63
Symbol 61 TextUses:55Used by:63
Symbol 62 TextUses:55Used by:63
Symbol 63 MovieClipUses:52 53 26 27 54 56 57 58 41 59 60 61 62Used by:64
Symbol 64 MovieClipUses:49 63Used by:113
Symbol 65 GraphicUsed by:67
Symbol 66 GraphicUsed by:67
Symbol 67 MovieClipUses:65 66Used by:113
Symbol 68 GraphicUsed by:108
Symbol 69 GraphicUsed by:108
Symbol 70 GraphicUsed by:93  Timeline
Symbol 71 GraphicUsed by:93  Timeline
Symbol 72 GraphicUsed by:93  Timeline
Symbol 73 GraphicUsed by:93  Timeline
Symbol 74 GraphicUsed by:93 107  Timeline
Symbol 75 GraphicUsed by:93  Timeline
Symbol 76 GraphicUsed by:93 153  Timeline
Symbol 77 GraphicUsed by:93 153  Timeline
Symbol 78 GraphicUsed by:93  Timeline
Symbol 79 GraphicUsed by:93  Timeline
Symbol 80 GraphicUsed by:93  Timeline
Symbol 81 GraphicUsed by:93  Timeline
Symbol 82 GraphicUsed by:93  Timeline
Symbol 83 GraphicUsed by:93  Timeline
Symbol 84 GraphicUsed by:93  Timeline
Symbol 85 GraphicUsed by:93  Timeline
Symbol 86 MovieClipUses:11Used by:93  Timeline
Symbol 87 GraphicUsed by:93  Timeline
Symbol 88 GraphicUsed by:93 101  Timeline
Symbol 89 GraphicUsed by:93  Timeline
Symbol 90 GraphicUsed by:93  Timeline
Symbol 91 GraphicUsed by:93  Timeline
Symbol 92 TextUses:55Used by:93
Symbol 93 ButtonUses:70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 8 9 5 85 86 12 87 26 27 88 89 90 91 20 16 17 18 19 23 25 92 7 11 13 15 22 24Used by:108
Symbol 94 GraphicUsed by:101  Timeline
Symbol 95 GraphicUsed by:101  Timeline
Symbol 96 GraphicUsed by:101  Timeline
Symbol 97 GraphicUsed by:101  Timeline
Symbol 98 GraphicUsed by:101  Timeline
Symbol 99 GraphicUsed by:101  Timeline
Symbol 100 TextUses:55Used by:101
Symbol 101 ButtonUses:94 5 95 8 9 12 96 26 27 88 97 98 99 14 16 17 18 19 20 23 25 100 7 11 13 15 22 24Used by:108
Symbol 102 GraphicUsed by:107  Timeline
Symbol 103 GraphicUsed by:107  Timeline
Symbol 104 GraphicUsed by:107  Timeline
Symbol 105 GraphicUsed by:107  Timeline
Symbol 106 TextUses:55Used by:107
Symbol 107 ButtonUses:74 102 8 12 103 26 27 104 14 17 18 19 20 16 23 25 5 105 106 7 11 13 15 22 24Used by:108
Symbol 108 MovieClipUses:68 69 93 101 107Used by:113  Timeline
Symbol 109 FontUsed by:110
Symbol 110 TextUses:109Used by:113
Symbol 111 ButtonUses:33 35 36 37 38Used by:113
Symbol 112 ButtonUses:40 41 42 43 38Used by:113
Symbol 113 MovieClipUses:4 5 6 8 9 12 14 16 17 18 19 20 21 23 25 26 27 28 31 32 39 44 48 64 67 108 110 111 112Used by:Timeline
Symbol 114 GraphicUsed by:115
Symbol 115 MovieClipUses:114Used by:Timeline
Symbol 116 GraphicUsed by:117 120
Symbol 117 MovieClipUses:116Used by:Timeline
Symbol 118 GraphicUsed by:119
Symbol 119 MovieClipUses:118Used by:Timeline
Symbol 120 MovieClipUses:116Used by:Timeline
Symbol 121 FontUsed by:122 133 142 143 144
Symbol 122 EditableTextUses:121Used by:Timeline
Symbol 123 FontUsed by:124 125 134 135
Symbol 124 EditableTextUses:123Used by:Timeline
Symbol 125 EditableTextUses:123Used by:Timeline
Symbol 126 MovieClipUses:52 57 26 27Used by:Timeline
Symbol 127 GraphicUsed by:128 137
Symbol 128 MovieClipUses:52 127 26 27Used by:Timeline
Symbol 129 GraphicUsed by:130
Symbol 130 MovieClipUses:129Used by:Timeline
Symbol 131 GraphicUsed by:132
Symbol 132 MovieClipUses:131Used by:Timeline
Symbol 133 EditableTextUses:121Used by:Timeline
Symbol 134 EditableTextUses:123Used by:Timeline
Symbol 135 EditableTextUses:123Used by:Timeline
Symbol 136 MovieClipUses:52 58 26 27Used by:Timeline
Symbol 137 MovieClipUses:52 127 26 27Used by:Timeline
Symbol 138 GraphicUsed by:139
Symbol 139 MovieClipUses:138Used by:Timeline
Symbol 140 GraphicUsed by:Timeline
Symbol 141 GraphicUsed by:Timeline
Symbol 142 EditableTextUses:121Used by:Timeline
Symbol 143 EditableTextUses:121Used by:Timeline
Symbol 144 EditableTextUses:121Used by:Timeline
Symbol 145 MovieClipUses:52 54 26 27Used by:Timeline
Symbol 146 GraphicUses:10Used by:Timeline
Symbol 147 GraphicUsed 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:153
Symbol 153 MovieClipUses:76 77 152 26 27Used by:Timeline
Symbol 154 GraphicUsed by:Timeline
Symbol 155 ButtonUses:33 35 36 37 38Used by:Timeline
Symbol 156 ButtonUses:40 41 42 43 38Used by:Timeline
Symbol 157 ButtonUses:45 46 47 38Used by:Timeline
Symbol 158 GraphicUsed by:Timeline

Instance Names

"BordsCircuit"Frame 10Symbol 115 MovieClip
"ClipInterLap1"Frame 10Symbol 117 MovieClip
"ClipNewLap"Frame 10Symbol 119 MovieClip
"ClipInterLap2"Frame 10Symbol 117 MovieClip
"ClipInterLap3"Frame 10Symbol 120 MovieClip
"ClipInterLap4"Frame 10Symbol 117 MovieClip
"ClipOpponent"Frame 11Symbol 126 MovieClip
"CarN1"Frame 11Symbol 128 MovieClip
"BordsCircuit"Frame 20Symbol 132 MovieClip
"ClipOpponent"Frame 21Symbol 136 MovieClip
"CarN1"Frame 21Symbol 137 MovieClip
"BordsCircuit"Frame 30Symbol 139 MovieClip
"ClipOpponent"Frame 31Symbol 145 MovieClip
"CarN1"Frame 31Symbol 137 MovieClip
"SelectCircuit"Frame 40Symbol 108 MovieClip
"ClipCredits"Symbol 113 MovieClip Frame 1Symbol 64 MovieClip
"ClipRegles"Symbol 113 MovieClip Frame 1Symbol 67 MovieClip
"SelectCircuit"Symbol 113 MovieClip Frame 1Symbol 108 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 122 EditableText""
TextTabNumSymbol 124 EditableText""
TextTimeSymbol 125 EditableText""
TextLapsSymbol 133 EditableText""
TextTabNumSymbol 134 EditableText""
TextTimeSymbol 135 EditableText""
TextLapsSymbol 142 EditableText""
TextTabNumSymbol 143 EditableText""
TextTimeSymbol 144 EditableText""




http://swfchan.com/5/24657/info.shtml
Created: 24/5 -2019 16:59:24 Last modified: 24/5 -2019 16:59:24 Server time: 09/05 -2024 17:20:13