STORY LOOP FURRY PORN GAMES C SERVICES [?] [R] RND POPULAR | Archived flashes: 229671 |
/disc/ · /res/ — /show/ · /fap/ · /gg/ · /swf/ | P0001 · P2596 · P5191 |
This is the info page for Flash #238930 |
LOADING... |
50 |
100 |
400 |
200 |
PLAY AGAIN? |
PLAY AGAIN? |
HIT! |
MISS! |
Your Final Score: |
Visit the Tales of Phantasia website |
LAUNCH |
SCORE: |
WIND: |
ActionScript [AS1/AS2]
Frame 5stop(); loadingbar.onEnterFrame = function () { var _local1 = this; var loadedBytes = (_local1._parent.getBytesLoaded() / 1024); var _local3 = _local1._parent.getBytesTotal() / 1024; var _local2 = int((loadedBytes / _local3) * 100); _local1.bar._width = _local2; if (_local2 == 100) { delete _local1.onEnterFrame; play(); } };Frame 46stop();Frame 74function resetGame() { score = 0; scoreClip.input = "0"; shots = 9; quiver.gotoAndStop(1); tryAgain(); } function hitTarget(whichTarget) { var _local1 = whichTarget; arrowStatus = "hitTarget"; if (_local1 == "1") { thisScore = 50; } else if (_local1 == "2") { thisScore = 100; } else if (_local1 == "3") { thisScore = 200; } else if (_local1 == "4") { thisScore = 400; } scoreClip.input = int(scoreClip.input) + thisScore; arrowLanded(); } function returnToShoot() { courseControl.gotoAndStop(1); game._x = gameStart; viewingCourse = false; } function viewCourse() { courseControl.gotoAndStop(2); viewingCourse = true; } function airVars() { wind = random(15); windDir = random(100); if (windDir < 50) { windDir = -1; } else { windDir = 1; } wind = wind * windDir; airFriction = wind / 15000; windTxt = wind + " MPH"; } function arrowLanded() { game.realArrow.gotoAndPlay(2); if (arrowStatus == "hitTarget") { if (shots > 0) { shots--; resultMessage.score = thisScore + " points!"; resultMessage.gotoAndPlay("hit"); } else { resultMessage.score = scoreClip.input + " points"; resultMessage.gotoAndPlay("hit_over"); } } else if (shots > 0) { shots--; resultMessage.gotoAndPlay("miss"); } else { resultMessage.score = scoreClip.input + " points"; resultMessage.gotoAndPlay("miss_over"); } arrowStatus = null; } function moveArrow() { game.realArrow._rotation = (ySpeed / startSpeed) * startAngle; game.realArrow._x = game.realArrow._x + xSpeed; game.realArrow._y = game.realArrow._y - ySpeed; if (ySpeed > 0) { arrowDirection = "down"; } currentX = game.realArrow._x; currentY = game.realArrow._y; ySpeed = ySpeed - gravity; xSpeed = xSpeed + airFriction; if ((game.realArrow._y > groundY) or (game.realArrow._x > 1950)) { resultMessage.gotoAndPlay("miss"); arrowLanded(); } if ((arrowDirection == "down") and (game.realArrow._y > groundY)) { game.realArrow._y = groundY; } if ((game.realArrow._x > 200) and (game._x > -1580)) { game._x = game._x - xSpeed; } } function tryAgain() { quiver.nextFrame(); resultMessage.gotoAndStop("off"); courseControl.gotoAndStop(1); game.realArrow.gotoAndStop(1); viewingCourse = false; ySpeed = 0; xSpeed = 0; game.bow._rotation = -1; game.bow.tempArrow._x = arrowStart; game._x = gameStart; game.bow.tempArrow._visible = true; game.realArrow._visible = false; game.bow.string._width = 1; arrowStatus = "inbow"; airVars(); } function degreesToRadians(degrees) { return((degrees / 180) * Math.PI); } game._x = 67; arrowStart = game.bow.tempArrow._x; halfStart = game.halfMark._x; fullStart = game.fullMark._x; groundY = 240; gameStart = game._x; gravity = 0.035; viewingCourse = false; sound1.sfxWoosh = new Sound(); sound1.sfxWoosh.attachSound("woosh"); sound2.sfxStretch = new Sound(); sound2.sfxStretch.attachSound("stretch"); var btnOver = new Sound(); btnOver.attachSound("btnOverSnd"); airVars(); keypressListener = new Object(); keypressListener.onKeyDown = function () { if (!viewingCourse) { pressed = Key.getCode(); if ((pressed == "38") and (game.bow._rotation >= -40)) { game.bow._rotation = game.bow._rotation - 1; } else if ((pressed == "40") and (game.bow._rotation < -2)) { game.bow._rotation = game.bow._rotation + 1; } else if ((pressed == "37") and (game.bow.string._width < 20)) { if (arrowStatus != "drawn") { sound2.sfxStretch.setVolume(80); sound2.sfxStretch.start(0, 1); } game.bow.string._width = game.bow.string._width + 1; game.bow.tempArrow._x = game.bow.tempArrow._x - 1; arrowStatus = "drawn"; } } }; Key.addListener(keypressListener); keyreleaseListener = new Object(); keyreleaseListener.onKeyUp = function () { if (!viewingCourse) { released = Key.getCode(); if ((released == "37") and (arrowStatus == "drawn")) { startAngle = game.bow._rotation; power = game.bow.string._width / 2; currentAngle = startAngle; game.realArrow._rotation = game.bow._rotation; game.realArrow._x = game.bow._x; game.realArrow._y = game.bow._y; radians = degreesToRadians(currentAngle); newX = game.realArrow._x + (Math.cos(radians) * power); newY = game.realArrow._y - (Math.sin(radians) * power); xSpeed = newX - game.realArrow._x; ySpeed = newY - game.realArrow._y; startSpeed = ySpeed; game.bow.tempArrow._visible = false; game.realArrow._visible = true; arrowStatus = "inflight"; courseControl.gotoAndStop(3); arrowDirection = "up"; viewingCourse = true; sound2.sfxStretch.stop(); sound1.sfxWoosh.setVolume(int((game.bow.string._width / 20) * 100)); sound1.sfxWoosh.start(0, 1); game.bow.string._width = 1; } } }; Key.addListener(keyreleaseListener); resetGame(); stop();Symbol 46 Buttonon (rollOver) { gotoAndPlay ("over"); } on (rollOut) { gotoAndPlay ("out"); } on (press) { _parent.play(); }Symbol 47 MovieClip Frame 1stop();Symbol 47 MovieClip Frame 5stop();Symbol 47 MovieClip Frame 11stop();Symbol 89 MovieClip Frame 1stop(); count = 0;Symbol 89 MovieClip Frame 4count++;Symbol 89 MovieClip Frame 7if (count >= 7) { stop(); } else { gotoAndPlay (4); }Instance of Symbol 89 MovieClip "realArrow" in Symbol 100 MovieClip Frame 1onClipEvent (load) { _visible = false; } onClipEvent (enterFrame) { if (_parent._parent.arrowStatus == "inflight") { point = new Object(); point.x = hitarea._x; point.y = hitarea._y; localToGlobal(point); n = 1; while (n < 5) { if (eval ("_parent.target" + n).hitTest(point.x, point.y, true)) { _parent._parent.hitTarget(n); } n++; } _parent._parent.moveArrow(); } }Symbol 110 Buttonon (release) { _parent.viewCourse(); }Symbol 114 Buttonon (press) { scrollRight = true; } on (release, dragOut, releaseOutside) { scrollRight = false; }Symbol 115 Buttonon (press) { scrollLeft = true; } on (release, dragOut, releaseOutside) { scrollLeft = false; }Symbol 119 Buttonon (release) { _parent.returnToShoot(); }Symbol 124 Buttonon (release, keyPress "<Space>") { _parent.tryAgain(); }Symbol 125 MovieClip Frame 1stop();Symbol 125 MovieClip Frame 2stop();Instance of Symbol 116 MovieClip in Symbol 125 MovieClip Frame 2onClipEvent (enterFrame) { if (scrollRight and (_parent._parent.game._x > -1580)) { _parent._parent.game._x = _parent._parent.game._x - 10; } else if (scrollLeft and (_parent._parent.game._x < _parent._parent.gameStart)) { _parent._parent.game._x = _parent._parent.game._x + 10; } }Symbol 125 MovieClip Frame 3stop();Symbol 126 MovieClip Frame 1stop();Symbol 137 Buttonon (rollOver) { _parent.btnOver.start(); gotoAndPlay ("over"); } on (rollOut) { gotoAndPlay ("out"); } on (release) { _parent._parent.tryAgain(); }Symbol 138 MovieClip Frame 1stop();Symbol 138 MovieClip Frame 5stop();Symbol 138 MovieClip Frame 11stop();Symbol 147 Buttonon (rollOver) { _parent.btnOver.start(); gotoAndPlay ("over"); } on (rollOut) { gotoAndPlay ("out"); } on (release, keyPress "<Space>") { _parent._parent.resetGame(); }Symbol 148 MovieClip Frame 1stop();Symbol 148 MovieClip Frame 5stop();Symbol 148 MovieClip Frame 11stop();Symbol 152 Buttonon (rollOver) { _parent.btnOver.start(); gotoAndPlay ("over"); } on (rollOut) { gotoAndPlay ("out"); } on (release) { getURL ("http://www.gameboy.com/phantasia", "_blank"); }Symbol 153 MovieClip Frame 1stop();Symbol 153 MovieClip Frame 5stop();Symbol 153 MovieClip Frame 11stop();Symbol 155 MovieClip Frame 1stop();Symbol 155 MovieClip Frame 16stop();Symbol 155 MovieClip Frame 31stop();Symbol 155 MovieClip Frame 42stop();Symbol 155 MovieClip Frame 53stop();Symbol 156 Buttonon (keyPress "<Space>") { resetArcher(); }
Library Items
Symbol 1 Sound [btnOverSnd] | ||
Symbol 2 Sound [stretch] | ||
Symbol 3 Sound [woosh] | ||
Symbol 4 Graphic | Used by:10 | |
Symbol 5 Graphic | Used by:6 | |
Symbol 6 MovieClip | Uses:5 | Used by:10 |
Symbol 7 Font | Used by:8 121 122 131 133 140 142 143 149 150 154 157 158 159 161 | |
Symbol 8 Text | Uses:7 | Used by:10 |
Symbol 9 Graphic | Used by:10 | |
Symbol 10 MovieClip | Uses:4 6 8 9 | Used by:Timeline |
Symbol 11 Bitmap | Used by:12 | |
Symbol 12 Graphic | Uses:11 | Used by:13 |
Symbol 13 MovieClip | Uses:12 | Used by:Timeline |
Symbol 14 Bitmap | Used by:15 | |
Symbol 15 Graphic | Uses:14 | Used by:16 |
Symbol 16 MovieClip | Uses:15 | Used by:Timeline |
Symbol 17 Bitmap | Used by:18 | |
Symbol 18 Graphic | Uses:17 | Used by:19 |
Symbol 19 MovieClip | Uses:18 | Used by:26 |
Symbol 20 Bitmap | Used by:21 | |
Symbol 21 Graphic | Uses:20 | Used by:22 |
Symbol 22 MovieClip | Uses:21 | Used by:26 |
Symbol 23 Bitmap | Used by:24 | |
Symbol 24 Graphic | Uses:23 | Used by:25 |
Symbol 25 MovieClip | Uses:24 | Used by:26 |
Symbol 26 MovieClip | Uses:19 22 25 | Used by:Timeline |
Symbol 27 Bitmap | Used by:28 | |
Symbol 28 Graphic | Uses:27 | Used by:29 |
Symbol 29 MovieClip | Uses:28 | Used by:Timeline |
Symbol 30 Bitmap | Used by:31 | |
Symbol 31 Graphic | Uses:30 | Used by:32 |
Symbol 32 MovieClip | Uses:31 | Used by:Timeline |
Symbol 33 Bitmap | Used by:34 | |
Symbol 34 Graphic | Uses:33 | Used by:35 |
Symbol 35 MovieClip | Uses:34 | Used by:Timeline |
Symbol 36 Bitmap | Used by:37 | |
Symbol 37 Graphic | Uses:36 | Used by:38 |
Symbol 38 MovieClip | Uses:37 | Used by:Timeline |
Symbol 39 Bitmap | Used by:40 | |
Symbol 40 Graphic | Uses:39 | Used by:41 124 |
Symbol 41 MovieClip | Uses:40 | Used by:47 124 138 148 153 |
Symbol 42 Bitmap | Used by:43 | |
Symbol 43 Graphic | Uses:42 | Used by:44 |
Symbol 44 MovieClip | Uses:43 | Used by:47 |
Symbol 45 Graphic | Used by:46 110 119 137 147 152 156 | |
Symbol 46 Button | Uses:45 | Used by:47 |
Symbol 47 MovieClip | Uses:41 44 46 | Used by:Timeline |
Symbol 48 Graphic | Used by:49 | |
Symbol 49 MovieClip | Uses:48 | Used by:64 |
Symbol 50 Graphic | Used by:64 | |
Symbol 51 Graphic | Used by:60 | |
Symbol 52 Bitmap | Used by:53 | |
Symbol 53 Graphic | Uses:52 | Used by:60 |
Symbol 54 Graphic | Used by:60 | |
Symbol 55 Graphic | Used by:60 | |
Symbol 56 Graphic | Used by:60 | |
Symbol 57 Graphic | Used by:60 | |
Symbol 58 Graphic | Used by:60 | |
Symbol 59 Graphic | Used by:60 | |
Symbol 60 MovieClip | Uses:51 53 54 55 56 57 58 59 | Used by:61 |
Symbol 61 MovieClip | Uses:60 | Used by:64 |
Symbol 62 Graphic | Used by:63 | |
Symbol 63 MovieClip | Uses:62 | Used by:64 |
Symbol 64 MovieClip | Uses:49 50 61 63 | Used by:100 |
Symbol 65 Graphic | Used by:71 74 77 80 | |
Symbol 66 Graphic | Used by:67 | |
Symbol 67 MovieClip | Uses:66 | Used by:71 74 77 80 100 |
Symbol 68 Graphic | Used by:71 | |
Symbol 69 Font | Used by:70 73 76 79 | |
Symbol 70 Text | Uses:69 | Used by:71 |
Symbol 71 MovieClip | Uses:65 67 68 70 | Used by:100 |
Symbol 72 Graphic | Used by:74 | |
Symbol 73 Text | Uses:69 | Used by:74 |
Symbol 74 MovieClip | Uses:65 67 72 73 | Used by:100 |
Symbol 75 Graphic | Used by:77 | |
Symbol 76 Text | Uses:69 | Used by:77 |
Symbol 77 MovieClip | Uses:65 67 75 76 | Used by:100 |
Symbol 78 Graphic | Used by:80 | |
Symbol 79 Text | Uses:69 | Used by:80 |
Symbol 80 MovieClip | Uses:65 67 78 79 | Used by:100 |
Symbol 81 Graphic | Used by:89 | |
Symbol 82 Graphic | Used by:83 | |
Symbol 83 MovieClip | Uses:82 | Used by:89 Timeline |
Symbol 84 Sound | Used by:89 | |
Symbol 85 Graphic | Used by:89 | |
Symbol 86 Graphic | Used by:89 | |
Symbol 87 Graphic | Used by:89 | |
Symbol 88 Graphic | Used by:89 | |
Symbol 89 MovieClip | Uses:81 83 84 85 86 87 88 | Used by:100 |
Symbol 90 Bitmap | Used by:91 | |
Symbol 91 Graphic | Uses:90 | Used by:100 |
Symbol 92 Graphic | Used by:99 | |
Symbol 93 Graphic | Used by:94 | |
Symbol 94 MovieClip | Uses:93 | Used by:99 |
Symbol 95 Graphic | Used by:96 | |
Symbol 96 MovieClip | Uses:95 | Used by:99 |
Symbol 97 Graphic | Used by:98 | |
Symbol 98 MovieClip | Uses:97 | Used by:99 126 |
Symbol 99 MovieClip | Uses:92 94 96 98 | Used by:100 |
Symbol 100 MovieClip | Uses:64 71 67 74 77 80 89 91 99 | Used by:Timeline |
Symbol 101 Bitmap | Used by:102 | |
Symbol 102 Graphic | Uses:101 | Used by:103 |
Symbol 103 MovieClip | Uses:102 | Used by:160 Timeline |
Symbol 104 Bitmap | Used by:105 | |
Symbol 105 Graphic | Uses:104 | Used by:106 |
Symbol 106 MovieClip | Uses:105 | Used by:Timeline |
Symbol 107 Bitmap | Used by:108 | |
Symbol 108 Graphic | Uses:107 | Used by:109 |
Symbol 109 MovieClip | Uses:108 | Used by:125 |
Symbol 110 Button | Uses:45 | Used by:125 |
Symbol 111 Graphic | Used by:114 115 | |
Symbol 112 Graphic | Used by:114 115 | |
Symbol 113 Graphic | Used by:114 115 | |
Symbol 114 Button | Uses:111 112 113 | Used by:116 |
Symbol 115 Button | Uses:111 112 113 | Used by:116 |
Symbol 116 MovieClip | Uses:114 115 | Used by:125 |
Symbol 117 Bitmap | Used by:118 | |
Symbol 118 Graphic | Uses:117 | Used by:125 |
Symbol 119 Button | Uses:45 | Used by:125 |
Symbol 120 Graphic | Used by:124 | |
Symbol 121 Text | Uses:7 | Used by:124 |
Symbol 122 Text | Uses:7 | Used by:124 |
Symbol 123 Graphic | Used by:124 | |
Symbol 124 Button | Uses:41 120 121 122 40 123 | Used by:125 |
Symbol 125 MovieClip | Uses:109 110 116 118 119 124 | Used by:Timeline |
Symbol 126 MovieClip | Uses:98 | Used by:Timeline |
Symbol 127 Bitmap | Used by:128 | |
Symbol 128 Graphic | Uses:127 | Used by:129 |
Symbol 129 MovieClip | Uses:128 | Used by:Timeline |
Symbol 130 Graphic | Used by:132 | |
Symbol 131 Text | Uses:7 | Used by:132 |
Symbol 132 MovieClip | Uses:130 131 | Used by:155 |
Symbol 133 EditableText | Uses:7 | Used by:155 |
Symbol 134 Bitmap | Used by:135 | |
Symbol 135 Graphic | Uses:134 | Used by:136 |
Symbol 136 MovieClip | Uses:135 | Used by:138 |
Symbol 137 Button | Uses:45 | Used by:138 |
Symbol 138 MovieClip | Uses:41 136 137 | Used by:155 |
Symbol 139 Graphic | Used by:141 | |
Symbol 140 Text | Uses:7 | Used by:141 |
Symbol 141 MovieClip | Uses:139 140 | Used by:155 |
Symbol 142 EditableText | Uses:7 | Used by:155 |
Symbol 143 Text | Uses:7 | Used by:155 |
Symbol 144 Bitmap | Used by:145 | |
Symbol 145 Graphic | Uses:144 | Used by:146 |
Symbol 146 MovieClip | Uses:145 | Used by:148 |
Symbol 147 Button | Uses:45 | Used by:148 |
Symbol 148 MovieClip | Uses:41 146 147 | Used by:155 |
Symbol 149 Text | Uses:7 | Used by:155 |
Symbol 150 Text | Uses:7 | Used by:151 |
Symbol 151 MovieClip | Uses:150 | Used by:153 |
Symbol 152 Button | Uses:45 | Used by:153 |
Symbol 153 MovieClip | Uses:41 151 152 | Used by:155 |
Symbol 154 EditableText | Uses:7 | Used by:155 |
Symbol 155 MovieClip | Uses:132 133 138 141 142 143 148 149 153 154 | Used by:Timeline |
Symbol 156 Button | Uses:45 | Used by:Timeline |
Symbol 157 EditableText | Uses:7 | Used by:Timeline |
Symbol 158 Text | Uses:7 | Used by:160 |
Symbol 159 EditableText | Uses:7 | Used by:160 |
Symbol 160 MovieClip | Uses:103 158 159 | Used by:Timeline |
Symbol 161 Text | Uses:7 | Used by:Timeline |
Symbol 162 Bitmap | Used by:163 | |
Symbol 163 Graphic | Uses:162 | Used by:164 |
Symbol 164 MovieClip | Uses:163 | Used by:Timeline |
Instance Names
"loadingbar" | Frame 1 | Symbol 10 MovieClip |
"game" | Frame 74 | Symbol 100 MovieClip |
"courseControl" | Frame 74 | Symbol 125 MovieClip |
"quiver" | Frame 74 | Symbol 126 MovieClip |
"resultMessage" | Frame 74 | Symbol 155 MovieClip |
"scoreClip" | Frame 74 | Symbol 160 MovieClip |
"sound1" | Frame 74 | Symbol 83 MovieClip |
"sound2" | Frame 74 | Symbol 83 MovieClip |
"bar" | Symbol 10 MovieClip Frame 1 | Symbol 6 MovieClip |
"hitarea" | Symbol 89 MovieClip Frame 1 | Symbol 83 MovieClip |
"string" | Symbol 99 MovieClip Frame 1 | Symbol 96 MovieClip |
"tempArrow" | Symbol 99 MovieClip Frame 1 | Symbol 98 MovieClip |
"target1" | Symbol 100 MovieClip Frame 1 | Symbol 67 MovieClip |
"target2" | Symbol 100 MovieClip Frame 1 | Symbol 67 MovieClip |
"target4" | Symbol 100 MovieClip Frame 1 | Symbol 67 MovieClip |
"target3" | Symbol 100 MovieClip Frame 1 | Symbol 67 MovieClip |
"realArrow" | Symbol 100 MovieClip Frame 1 | Symbol 89 MovieClip |
"bow" | Symbol 100 MovieClip Frame 1 | Symbol 99 MovieClip |
Special Tags
ExportAssets (56) | Timeline Frame 1 | Symbol 1 as "btnOverSnd" |
ExportAssets (56) | Timeline Frame 1 | Symbol 2 as "stretch" |
ExportAssets (56) | Timeline Frame 1 | Symbol 3 as "woosh" |
Labels
"over" | Symbol 47 MovieClip Frame 2 |
"out" | Symbol 47 MovieClip Frame 6 |
"tryAgain" | Symbol 125 MovieClip Frame 4 |
"playAgain" | Symbol 125 MovieClip Frame 5 |
"over" | Symbol 138 MovieClip Frame 2 |
"out" | Symbol 138 MovieClip Frame 6 |
"over" | Symbol 148 MovieClip Frame 2 |
"out" | Symbol 148 MovieClip Frame 6 |
"over" | Symbol 153 MovieClip Frame 2 |
"out" | Symbol 153 MovieClip Frame 6 |
"off" | Symbol 155 MovieClip Frame 1 |
"hit" | Symbol 155 MovieClip Frame 2 |
"miss" | Symbol 155 MovieClip Frame 17 |
"hit_over" | Symbol 155 MovieClip Frame 32 |
"miss_over" | Symbol 155 MovieClip Frame 43 |
Dynamic Text Variables
score | Symbol 133 EditableText | "" |
score | Symbol 142 EditableText | "" |
score | Symbol 154 EditableText | "" |
windTxt | Symbol 157 EditableText | "" |
input | Symbol 159 EditableText | "" |
|