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

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

X-Traning.swf

This is the info page for
Flash #22716

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


Text
100%

Loading Progress...

SPEED

FOLLOW

Rush Bullet!

Guiding Bullet!

Olympic champion!

Rank

1234567

Score

123

Bullet

Motion

12345

Connecting to Rank Board...

Your Score

1234567

Congratulations!
Please enter your name.

1234567

NAME

SCORE

TIME

1234567

Don't cheat anymore!!

ActionScript [AS1/AS2]

Frame 1
var sValidateUrl = "http://www.hastars.com/flashgame/haExtreme/validateScore.asp"; var sSetScoreUrl = "http://www.hastars.com/flashgame/haExtreme/setScoreBoard.asp"; var sGetScoreUrl = "http://www.hastars.com/flashgame/haExtreme/getScoreBoard.asp"; fscommand ("showmenu", "false"); fscommand ("fullscreen", "false"); fscommand ("allowscale", "true"); stop();
Frame 2
stop();
Frame 3
function detectKey(obj, iMoveDis) { if (Key.isDown(Key.UP)) { _root.iTouch++; if (0 < (obj._y - iMoveDis)) { obj._y = obj._y - iMoveDis; } } else if (Key.isDown(Key.DOWN)) { _root.iTouch++; if ((obj._y + iMoveDis) < _root.I_SCREEN_HEIGHT) { obj._y = obj._y + iMoveDis; } } if (Key.isDown(Key.LEFT)) { _root.iTouch++; if (0 < (obj._x - iMoveDis)) { obj._x = obj._x - iMoveDis; } } else if (Key.isDown(Key.RIGHT)) { _root.iTouch++; if ((obj._x + iMoveDis) < _root.I_SCREEN_WIDTH) { obj._x = obj._x + iMoveDis; } } } function genBullet(sB, iB, iT) { if (iT == 0) { _root.attachMovie(sB, sB + iB, iB); _root[sB + iB].mcRealBullet.iBulletV = _root.iBulletV; _root[sB + iB].mcRealBullet.iType = iT; _root[sB + iB].mcRealBullet.gotoAndStop(random(5) + 1); } else if (iT == 1) { _root.mcStatus.gotoAndPlay("highSpeed"); _root.attachMovie(sB, sB + iB, iB); _root[sB + iB].mcRealBullet.iBulletV = _root.iBulletV * 1.5; _root[sB + iB].mcRealBullet.iType = iT; _root[sB + iB].mcRealBullet.gotoAndStop("highSpeed"); } else if (iT == 2) { _root.mcStatus.gotoAndPlay("tracing"); _root.attachMovie(sB, sB + iB, iB); _root[sB + iB].mcRealBullet.iBulletV = _root.iBulletV; _root[sB + iB].mcRealBullet.iType = iT; _root[sB + iB].mcRealBullet.gotoAndStop("tracing"); } } function getRank(i) { if (i < 3) { return("Protozoan!"); } if (i < 6) { return("Monkey cup!"); } if (i < 9) { return("Coelenterate!"); } if (i < 12) { return("Echinoderm!"); } if (i < 15) { return("Reptile!"); } if (i < 18) { return("Mammal!"); } if (i < 21) { return("Primate!"); } if (i < 24) { return("Human being!"); } if (i < 27) { return("Sportsman!"); } if (i < 30) { return("Olympic champion!"); } if (i < 33) { return("Street fighter!"); } if (i < 36) { return("King of fighter!"); } if (i < 39) { return("X-Man!"); } if (i < 42) { return("Spiderman!"); } if (i < 45) { return("Superman!"); } if (i < 48) { return("Sprite!"); } if (i < 51) { return("Angel!"); } return("God!"); } var I_SCREEN_WIDTH = 400; var I_SCREEN_HEIGHT = 300; var iBulletV = 3; var iRoleV = 2; var iDropStep = 3; var iFPS = 24; var I_TRACING_ACC = 2; var S_BULLET = "mcBullet"; var I_HIGHSPEED_STEP = 4; var I_TRACING_STEP = 5; var sndBoom = new Sound(mcRole); sndBoom.attachSound("sndBoom"); var sndBg = new Sound(_root); sndBg.attachSound("sndBg"); var sndNormal = new Sound(); sndNormal.attachSound("sndNormal"); var sndHighspeed = new Sound(); sndHighspeed.attachSound("sndHighspeed"); var sndTracing = new Sound(); sndTracing.attachSound("sndTracing");
Frame 4
var iScore = 0; var iFramesPlayed = 0; var iTouch = 0; var iBulletNo = 0; iBulletNo = 0; while (iBulletNo < 50) { genBullet(S_BULLET, iBulletNo, 0); iBulletNo++; } sndBg.start(0, 99999); stop();
Instance of Symbol 54 MovieClip in Frame 4
onClipEvent (load) { } onClipEvent (enterFrame) { _root.iFramesPlayed++; _root.detectKey(_root.mcRole, _root.iRoleV); if ((_root.iFramesPlayed % (_root.iFPS * _root.iDropStep)) == 0) { _root.iBulletNo++; if ((_root.iFramesPlayed % ((_root.iFPS * _root.iDropStep) * _root.I_HIGHSPEED_STEP)) == 0) { _root.genBullet(_root.S_BULLET, _root.iBulletNo, 1); _root.sndHighspeed.start(); } else if ((_root.iFramesPlayed % ((_root.iFPS * _root.iDropStep) * _root.I_TRACING_STEP)) == 0) { _root.genBullet(_root.S_BULLET, _root.iBulletNo, 2); _root.sndTracing.start(); } else { _root.genBullet(_root.S_BULLET, _root.iBulletNo, 0); _root.sndNormal.start(); } } }
Frame 5
iScore = Math.floor((iFramesPlayed / iFPS) * 1000) / 1000; i = 0; while (i < (iBulletNo + 1)) { _root[S_BULLET + i].removeMovieClip(); i++; } sndBg.stop("sndBg"); if ((1 < (iScore / iTouch)) && (10 < iScore)) { gotoAndStop (7); } txtTime = iScore; txtBulletNo = iBulletNo; txtRank = getRank(iScore); stop();
Frame 6
stop();
Frame 7
stop();
Symbol 13 MovieClip Frame 1
stop();
Symbol 13 MovieClip Frame 2
stop();
Symbol 13 MovieClip Frame 3
stop();
Symbol 13 MovieClip Frame 4
stop();
Symbol 13 MovieClip Frame 5
stop();
Symbol 13 MovieClip Frame 6
stop();
Symbol 13 MovieClip Frame 7
stop();
Instance of Symbol 13 MovieClip "mcRealBullet" in Symbol 14 MovieClip [mcBullet] Frame 1
onClipEvent (load) { function initPos() { var iRnd = random(4); if (iRnd == 0) { _parent._x = Math.floor((Math.random() * I_SCREEN_WIDTH) + 1); _parent._y = 0; } else if (iRnd == 1) { _parent._x = I_SCREEN_WIDTH; _parent._y = Math.floor((Math.random() * I_SCREEN_HEIGHT) + 1); } else if (iRnd == 2) { _parent._x = Math.floor((Math.random() * I_SCREEN_WIDTH) + 1); _parent._y = I_SCREEN_HEIGHT; } else if (iRnd == 3) { _parent._x = 0; _parent._y = Math.floor((Math.random() * I_SCREEN_HEIGHT) + 1); } } function aim() { var fBias = Math.random(); if (0.8 < fBias) { iV = Math.sqrt((((_root.mcRole._x * fBias) - _parent._x) * ((_root.mcRole._x * fBias) - _parent._x)) + (((_root.mcRole._y * fBias) - _parent._y) * ((_root.mcRole._y * fBias) - _parent._y))); iXV = (((_root.mcRole._x * fBias) - _parent._x) / iV) * iBulletV; iYV = (((_root.mcRole._y * fBias) - _parent._y) / iV) * iBulletV; } else { iV = Math.sqrt(((_root.mcRole._x - _parent._x) * (_root.mcRole._x - _parent._x)) + ((_root.mcRole._y - _parent._y) * (_root.mcRole._y - _parent._y))); iXV = ((_root.mcRole._x - _parent._x) / iV) * iBulletV; iYV = ((_root.mcRole._y - _parent._y) / iV) * iBulletV; } } var iV; var iXV; var iYV; var I_SCREEN_WIDTH = _root.I_SCREEN_WIDTH; var I_SCREEN_HEIGHT = _root.I_SCREEN_HEIGHT; var i; initPos(); aim(); } onClipEvent (enterFrame) { _parent._x = _parent._x + iXV; _parent._y = _parent._y + iYV; if (iType == 2) { if (_root.mcRole._x < _parent._x) { _parent._x = _parent._x - _root.I_TRACING_ACC; } else if (_parent._x < _root.mcRole._x) { _parent._x = _parent._x + _root.I_TRACING_ACC; } if (_root.mcRole._y < _parent._y) { _parent._y = _parent._y - _root.I_TRACING_ACC; } else if (_parent._y < _root.mcRole._y) { _parent._y = _parent._y + _root.I_TRACING_ACC; } } if (I_SCREEN_WIDTH < _parent._x) { initPos(); aim(); } else if (_parent._x < 0) { initPos(); aim(); } else if (I_SCREEN_HEIGHT < _parent._y) { initPos(); aim(); } else if (_parent._y < 0) { initPos(); aim(); } if (_parent.hitTest(_root.mcRole)) { _root.sndBoom.start(); _root.nextFrame(); } }
Instance of Symbol 20 MovieClip "loaderReal_mc" in Symbol 21 MovieClip Frame 1
onClipEvent (load) { totalFileSize = _root.getBytesTotal(); } onClipEvent (enterFrame) { bytesLoaded = _root.getBytesLoaded(); amountLoaded = bytesLoaded / totalFileSize; percentLoaded = int(100 * amountLoaded); loaderPercent_txt = percentLoaded + "%"; if (amountLoaded >= 1) { _root.gotoAndStop(2); } }
Symbol 47 Button
on (release, keyPress "<Enter>") { gotoAndPlay (3); }
Symbol 51 MovieClip Frame 1
stop();
Symbol 51 MovieClip Frame 25
gotoAndStop (1);
Symbol 51 MovieClip Frame 49
gotoAndStop (1);
Symbol 66 Button
on (release, keyPress "<Enter>") { _root.gotoAndPlay("game_over"); }
Symbol 76 Button
on (release, keyPress "<Enter>") { _root.gotoAndPlay("playing"); }
Symbol 84 Button
on (release, keyPress "<Enter>") { if (!mcSend.isSend) { mcSend.isSend = true; mcSend.sPlayer = sPlayer; mcSend.iScore = _root.iScore; mcSend.loadVariables(_root.sSetScoreUrl, "POST"); } }
Symbol 120 MovieClip Frame 1
var iScore = _root.iScore; txtScore = iScore; this.mcValidate.iScore = this.iScore; this.mcValidate.loadVariables(_root.sValidateUrl, "POST"); stop();
Instance of Symbol 69 MovieClip "mcValidate" in Symbol 120 MovieClip Frame 1
onClipEvent (load) { var sPass = ""; } onClipEvent (data) { if (sPass == "y") { _parent.gotoAndStop(2); } else { _parent.gotoAndStop(3); } }
Symbol 120 MovieClip Frame 2
stop();
Instance of Symbol 77 MovieClip "mcSend" in Symbol 120 MovieClip Frame 2
onClipEvent (load) { var sPass = ""; var isSend = false; } onClipEvent (data) { if (sPass == "y") { _parent.gotoAndStop(3); } }
Symbol 120 MovieClip Frame 3
stop();
Instance of Symbol 118 MovieClip "mcScoreTable" in Symbol 120 MovieClip Frame 3
onClipEvent (load) { var testNo = getTimer(); this.loadVariables(_root.sGetScoreUrl, "POST"); } onClipEvent (data) { }
Symbol 122 Button
on (release, keyPress "<Enter>") { _root.gotoAndPlay("playing"); }

Library Items

Symbol 1 Sound [sndBoom]
Symbol 2 Sound [sndTracing]
Symbol 3 Sound [sndNormal]
Symbol 4 Sound [sndHighspeed]
Symbol 5 Sound [sndBg]
Symbol 6 GraphicUsed by:13
Symbol 7 GraphicUsed by:13
Symbol 8 GraphicUsed by:13
Symbol 9 GraphicUsed by:13
Symbol 10 GraphicUsed by:13
Symbol 11 GraphicUsed by:13
Symbol 12 GraphicUsed by:13
Symbol 13 MovieClipUses:6 7 8 9 10 11 12Used by:14
Symbol 14 MovieClip [mcBullet]Uses:13
Symbol 15 FontUsed by:16 17 86 87 88 89 90 91 92 93 94 95 97 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117
Symbol 16 EditableTextUses:15Used by:20
Symbol 17 EditableTextUses:15Used by:20
Symbol 18 GraphicUsed by:19
Symbol 19 MovieClipUses:18Used by:20
Symbol 20 MovieClipUses:16 17 19Used by:21
Symbol 21 MovieClipUses:20Used by:Timeline
Symbol 22 GraphicUsed by:Timeline
Symbol 23 GraphicUsed by:31
Symbol 24 GraphicUsed by:31
Symbol 25 GraphicUsed by:31
Symbol 26 GraphicUsed by:31
Symbol 27 GraphicUsed by:31
Symbol 28 GraphicUsed by:31
Symbol 29 GraphicUsed by:31
Symbol 30 GraphicUsed by:31
Symbol 31 MovieClipUses:23 24 25 26 27 28 29 30Used by:Timeline
Symbol 32 GraphicUsed by:Timeline
Symbol 33 GraphicUsed by:Timeline
Symbol 34 GraphicUsed by:Timeline
Symbol 35 GraphicUsed by:Timeline
Symbol 36 GraphicUsed by:Timeline
Symbol 37 GraphicUsed by:40
Symbol 38 FontUsed by:39 42
Symbol 39 TextUses:38Used by:40
Symbol 40 MovieClipUses:37 39Used by:Timeline
Symbol 41 GraphicUsed by:43
Symbol 42 TextUses:38Used by:43
Symbol 43 MovieClipUses:41 42Used by:Timeline
Symbol 44 GraphicUsed by:47
Symbol 45 GraphicUsed by:47
Symbol 46 GraphicUsed by:47 66
Symbol 47 ButtonUses:44 45 46Used by:Timeline
Symbol 48 FontUsed by:49 50 56 57 58 59 60 61 62 63 70 71 72 78 79 80 85 96 98 119 121
Symbol 49 TextUses:48Used by:51
Symbol 50 TextUses:48Used by:51
Symbol 51 MovieClipUses:49 50Used by:Timeline
Symbol 52 GraphicUsed by:53
Symbol 53 MovieClipUses:52Used by:Timeline
Symbol 54 MovieClipUsed by:Timeline
Symbol 55 GraphicUsed by:Timeline
Symbol 56 EditableTextUses:48Used by:Timeline
Symbol 57 TextUses:48Used by:Timeline
Symbol 58 EditableTextUses:48Used by:Timeline
Symbol 59 TextUses:48Used by:Timeline
Symbol 60 EditableTextUses:48Used by:Timeline
Symbol 61 TextUses:48Used by:Timeline
Symbol 62 TextUses:48Used by:Timeline
Symbol 63 EditableTextUses:48Used by:Timeline
Symbol 64 GraphicUsed by:66
Symbol 65 GraphicUsed by:66
Symbol 66 ButtonUses:64 65 46Used by:Timeline
Symbol 67 GraphicUsed by:68
Symbol 68 MovieClipUses:67Used by:120
Symbol 69 MovieClipUsed by:120
Symbol 70 TextUses:48Used by:120
Symbol 71 TextUses:48Used by:120
Symbol 72 EditableTextUses:48Used by:120
Symbol 73 GraphicUsed by:76 122
Symbol 74 GraphicUsed by:76 122
Symbol 75 GraphicUsed by:76 122
Symbol 76 ButtonUses:73 74 75Used by:120
Symbol 77 MovieClipUsed by:120
Symbol 78 EditableTextUses:48Used by:120
Symbol 79 TextUses:48Used by:120
Symbol 80 EditableTextUses:48Used by:120
Symbol 81 GraphicUsed by:84
Symbol 82 GraphicUsed by:84
Symbol 83 GraphicUsed by:84
Symbol 84 ButtonUses:81 82 83Used by:120
Symbol 85 TextUses:48Used by:118
Symbol 86 EditableTextUses:15Used by:118
Symbol 87 EditableTextUses:15Used by:118
Symbol 88 EditableTextUses:15Used by:118
Symbol 89 EditableTextUses:15Used by:118
Symbol 90 EditableTextUses:15Used by:118
Symbol 91 EditableTextUses:15Used by:118
Symbol 92 EditableTextUses:15Used by:118
Symbol 93 EditableTextUses:15Used by:118
Symbol 94 EditableTextUses:15Used by:118
Symbol 95 EditableTextUses:15Used by:118
Symbol 96 TextUses:48Used by:118
Symbol 97 EditableTextUses:15Used by:118
Symbol 98 TextUses:48Used by:118
Symbol 99 EditableTextUses:15Used by:118
Symbol 100 EditableTextUses:15Used by:118
Symbol 101 EditableTextUses:15Used by:118
Symbol 102 EditableTextUses:15Used by:118
Symbol 103 EditableTextUses:15Used by:118
Symbol 104 EditableTextUses:15Used by:118
Symbol 105 EditableTextUses:15Used by:118
Symbol 106 EditableTextUses:15Used by:118
Symbol 107 EditableTextUses:15Used by:118
Symbol 108 EditableTextUses:15Used by:118
Symbol 109 EditableTextUses:15Used by:118
Symbol 110 EditableTextUses:15Used by:118
Symbol 111 EditableTextUses:15Used by:118
Symbol 112 EditableTextUses:15Used by:118
Symbol 113 EditableTextUses:15Used by:118
Symbol 114 EditableTextUses:15Used by:118
Symbol 115 EditableTextUses:15Used by:118
Symbol 116 EditableTextUses:15Used by:118
Symbol 117 EditableTextUses:15Used by:118
Symbol 118 MovieClipUses:85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117Used by:120
Symbol 119 EditableTextUses:48Used by:120
Symbol 120 MovieClipUses:68 69 70 71 72 76 77 78 79 80 84 118 119Used by:Timeline
Symbol 121 TextUses:48Used by:Timeline
Symbol 122 ButtonUses:73 74 75Used by:Timeline

Instance Names

"mcStatus"Frame 4Symbol 51 MovieClip
"mcRole"Frame 4Symbol 53 MovieClip
"mcRealBullet"Symbol 14 MovieClip [mcBullet] Frame 1Symbol 13 MovieClip
"loaderReal_mc"Symbol 21 MovieClip Frame 1Symbol 20 MovieClip
"mcValidate"Symbol 120 MovieClip Frame 1Symbol 69 MovieClip
"mcSend"Symbol 120 MovieClip Frame 2Symbol 77 MovieClip
"mcScoreTable"Symbol 120 MovieClip Frame 3Symbol 118 MovieClip

Special Tags

Protect (24)Timeline Frame 10 bytes ""
ExportAssets (56)Timeline Frame 1Symbol 1 as "sndBoom"
ExportAssets (56)Timeline Frame 1Symbol 2 as "sndTracing"
ExportAssets (56)Timeline Frame 1Symbol 3 as "sndNormal"
ExportAssets (56)Timeline Frame 1Symbol 4 as "sndHighspeed"
ExportAssets (56)Timeline Frame 1Symbol 5 as "sndBg"
ExportAssets (56)Timeline Frame 1Symbol 14 as "mcBullet"

Labels

"loading"Frame 1
"begin"Frame 2
"init"Frame 3
"playing"Frame 4
"ending"Frame 5
"game_over"Frame 6
"cheat"Frame 7
"highSpeed"Symbol 13 MovieClip Frame 6
"tracing"Symbol 13 MovieClip Frame 7
"highSpeed"Symbol 51 MovieClip Frame 2
"tracing"Symbol 51 MovieClip Frame 26

Dynamic Text Variables

loaderPercent_txtSymbol 16 EditableText"100%"
txtRankSymbol 56 EditableText"Olympic champion!"
txtTimeSymbol 58 EditableText"1234567"
txtBulletNoSymbol 60 EditableText"123"
iTouchSymbol 63 EditableText"12345"
txtScoreSymbol 72 EditableText"1234567"
sPlayerSymbol 78 EditableText""
txtScoreSymbol 80 EditableText"1234567"
txtPlayer1Symbol 86 EditableText""
txtPlayer2Symbol 87 EditableText""
txtPlayer3Symbol 88 EditableText""
txtPlayer4Symbol 89 EditableText""
txtPlayer5Symbol 90 EditableText""
txtPlayer6Symbol 91 EditableText""
txtPlayer7Symbol 92 EditableText""
txtPlayer8Symbol 93 EditableText""
txtPlayer9Symbol 94 EditableText""
txtPlayer10Symbol 95 EditableText""
txtScore1Symbol 97 EditableText""
txtPlayTime1Symbol 99 EditableText""
txtScore2Symbol 100 EditableText""
txtScore3Symbol 101 EditableText""
txtScore4Symbol 102 EditableText""
txtScore5Symbol 103 EditableText""
txtScore6Symbol 104 EditableText""
txtScore7Symbol 105 EditableText""
txtScore8Symbol 106 EditableText""
txtScore9Symbol 107 EditableText""
txtScore10Symbol 108 EditableText""
txtPlayTime2Symbol 109 EditableText""
txtPlayTime3Symbol 110 EditableText""
txtPlayTime4Symbol 111 EditableText""
txtPlayTime5Symbol 112 EditableText""
txtPlayTime6Symbol 113 EditableText""
txtPlayTime7Symbol 114 EditableText""
txtPlayTime8Symbol 115 EditableText""
txtPlayTime9Symbol 116 EditableText""
txtPlayTime10Symbol 117 EditableText""
txtScoreSymbol 119 EditableText"1234567"




http://swfchan.com/5/22716/info.shtml
Created: 26/5 -2019 18:18:28 Last modified: 26/5 -2019 18:18:28 Server time: 14/11 -2024 17:23:52