STORY LOOP FURRY PORN GAMES C SERVICES [?] [R] RND POPULAR | Archived flashes: 229594 |
/disc/ · /res/ — /show/ · /fap/ · /gg/ · /swf/ | P0001 · P2595 · P5190 |
This is the info page for Flash #251505 |
Thanks for watching this, this was the most tiring animation that i have ever did but one that i wanted to do ever since i started to animate, it's not something i'd consider good, but one that i will definitely look to improve upon when i get the chance. also there won't be a sequel despite the bait, i'm sorry for doing it but i wanted to do it just cause. |
SFX From: Insurgency, Prototype, VALVe and CturiX Kemilon |
ActionScript [AS1/AS2]
Symbol 3 MovieClip Frame 1_visible = false;Symbol 5 MovieClip [SHURIKEN255_CAMERA] Frame 1function convertToParent(clip, point) { var _local1 = clip.transform.matrix; var _local5 = (clip._x + (point.x * _local1.a)) + (point.y * _local1.c); var _local4 = (clip._y + (point.x * _local1.b)) + (point.y * _local1.d); point.x = _local5; point.y = _local4; } function convertFromParent(clip, point) { var _local1 = clip.transform.matrix; var _local4 = point.x; var _local3 = point.y; var _local7 = (((clip._x + (((clip._y - _local3) / (-_local1.d)) * _local1.c)) - _local4) / (-_local1.a)) / (1 - ((_local1.b * _local1.c) / (_local1.d * _local1.a))); var _local6 = (((clip._y + (((clip._x - _local4) / (-_local1.a)) * _local1.b)) - _local3) / (-_local1.d)) / (1 - ((_local1.c * _local1.b) / (_local1.a * _local1.d))); point.x = _local7; point.y = _local6; } function cameraLogic() { resetParentsPosition(); moveViewframe(); attachParentToViewframe(); shakeLogic(); } function shakeLogic() { inverted = !inverted; var _local2 = _parent.shuriken255_shake_multiplier; if (_local2 == undefined) { _local2 = defaultShakeMultiplier; } shakeX = shakeX * _local2; shakeY = shakeY * _local2; } function moveViewframe() { viewfinder._x = 0; viewfinder._y = 0; viewfinder._xscale = 100; viewfinder._yscale = 100; viewfinder._rotation = -this._rotation; var _local11 = _x; var _local9 = _y; var _local12 = _xscale; var _local10 = _yscale; var _local13 = _rotation; var _local5 = _local13 - prevR; if (_local5 < -180) { _local5 = _local5 + 360; } if (_local5 > 180) { _local5 = _local5 - 360; } var _local6 = prevR + (_local5 * binding); var _local3 = prevX + ((_local11 - prevX) * binding); var _local4 = prevY + ((_local9 - prevY) * binding); var _local8 = prevW + ((_local12 - prevW) * binding); var _local7 = prevH + ((_local10 - prevH) * binding); prevX = _local3; prevY = _local4; prevW = _local8; prevH = _local7; prevR = _local6; if (inverted && (shakeX != undefined)) { _local3 = _local3 - shakeX; _local4 = _local4 - shakeY; } else { _local3 = _local3 + shakeX; _local4 = _local4 + shakeY; } if ((_local3 == 0) && (_local4 == 0)) { _local3 = 0.5; } if (lastTrackingFrame != -2) { if (_parent._currentframe > lastTrackingFrame) { lastTrackingFrame = _parent._currentframe; trace((((((((_local3 + " ") + _local4) + " ") + ((_local8 * oW) / 100)) + " ") + ((_local7 * oH) / 100)) + " ") + _local6); } else { lastTrackingFrame = -2; trace("Done! Copy everything above into \"camera_tracking.txt\"."); } } point.x = _local3; point.y = _local4; convertFromParent(this, point); viewfinder._x = point.x; viewfinder._y = point.y; viewfinder._xscale = ((_local8 / 100) / (_xscale / 100)) * 100; viewfinder._yscale = ((_local7 / 100) / (_yscale / 100)) * 100; viewfinder._rotation = _local6 - _rotation; } function attachParentToViewframe() { point.x = (-oW) / 2; point.y = (-oH) / 2; convertToParent(viewfinder, point); convertToParent(this, point); var _local17 = point.x; var _local16 = point.y; var _local21 = 0; var _local20 = 0; point.x = oW / 2; point.y = (-oH) / 2; convertToParent(viewfinder, point); convertToParent(this, point); var _local4 = point.x; var _local5 = point.y; var _local15 = sW; var _local13 = 0; point.x = (-oW) / 2; point.y = oH / 2; convertToParent(viewfinder, point); convertToParent(this, point); var _local6 = point.x; var _local3 = point.y; var _local14 = 0; var _local12 = sH; var _local11 = _parent.transform.matrix; var _local18 = (_local6 * _local5) / (_local4 * _local3); var _local8 = _local4 * (1 - _local18); var _local7 = _local3 * (1 - _local18); var _local19 = (((_local17 / _local8) + (_local16 / _local7)) - ((_local5 * _local17) / (_local3 * _local8))) - ((_local6 * _local16) / (_local4 * _local7)); var _local10 = ((_local21 - (((_local15 - ((_local14 / _local3) * _local5)) / _local8) * _local17)) - (((_local14 - ((_local15 / _local4) * _local6)) / _local7) * _local16)) / (1 - _local19); var _local9 = ((_local20 - (((_local13 - ((_local12 / _local3) * _local5)) / _local8) * _local17)) - (((_local12 - ((_local13 / _local4) * _local6)) / _local7) * _local16)) / (1 - _local19); _local11.a = ((_local15 - _local10) - (((_local14 - _local10) / _local3) * _local5)) / _local8; _local11.b = ((_local13 - _local9) - (((_local12 - _local9) / _local3) * _local5)) / _local8; _local11.c = ((_local14 - _local10) - (((_local15 - _local10) / _local4) * _local6)) / _local7; _local11.d = ((_local12 - _local9) - (((_local13 - _local9) / _local4) * _local6)) / _local7; _parent.transform.matrix = _local11; _parent._x = _local10; _parent._y = _local9; } function resetParentsPosition() { _parent._x = 0; _parent._y = 0; var _local2 = _parent.transform.matrix; _local2.a = 1; _local2.b = 0; _local2.c = 0; _local2.d = 1; _parent.transform.matrix = _local2; } function addParallaxSymbol(parallax) { if (parallaxSymbols == null) { parallaxSymbols = new Array(); } parallaxSymbols.push(parallax); } function removeParallaxSymbol(parallax) { var _local1 = 0; while (_local1 < parallaxSymbols.length) { if (parallaxSymbols[_local1] == parallax) { parallaxSymbols.splice(_local1, 1); return(undefined); } _local1++; } } function moveParallaxes() { if (parallaxSymbols == null) { return(undefined); } var _local2 = getViewfinderLocation(); var _local1 = 0; while (_local1 < parallaxSymbols.length) { if (parallaxSymbols[_local1] == null) { parallaxSymbols.splice(_local1, 1); _local1--; } else { parallaxSymbols[_local1].putParallax(_local2); } _local1++; } } function getViewfinderLocation() { var _local2 = new Object(); var _local3 = new Object(); _local2.x = 0; _local2.y = 0; convertToParent(viewfinder, _local2); convertToParent(this, _local2); _local3.x = ((_local2.x * 2) / sw) - 1; _local3.y = ((_local2.y * 2) / sh) - 1; _local2.x = (-oW) / 2; _local2.y = (-oH) / 2; convertToParent(viewfinder, _local2); convertToParent(this, _local2); var _local6 = _local2.x; var _local4 = _local2.y; _local2.x = oW / 2; _local2.y = (-oH) / 2; convertToParent(viewfinder, _local2); convertToParent(this, _local2); var _local13 = _local2.x; var _local11 = _local2.y; _local2.x = (-oW) / 2; _local2.y = oH / 2; convertToParent(viewfinder, _local2); convertToParent(this, _local2); var _local12 = _local2.x; var _local10 = _local2.y; var _local9 = _local13 - _local6; var _local7 = _local11 - _local4; var _local8 = _local12 - _local6; var _local5 = _local10 - _local4; _local3.pw = Math.sqrt((_local9 * _local9) + (_local7 * _local7)); _local3.ph = Math.sqrt((_local8 * _local8) + (_local5 * _local5)); _local3.z = 1 - (_local3.pw / sw); return(_local3); } function activateShakeController() { var _local2 = searchForMovieClip(_parent, "isAShakeControllerByShuriken255", 0); if (_local2 != null) { _local2.searchForShake(); } } function activateBindingController() { var _local2 = searchForMovieClip(_parent, "isABindingByShuriken255", 0); if (_local2 != null) { _local2.searchForCamera(); _local2.onEnterFrame(); } } function searchForMovieClip(where, identifier, level) { if (level > 0) { level--; for (var _local6 in where) { if (where[_local6] instanceof MovieClip) { var _local3 = searchForMovieClip(where[_local6], identifier, level); if (_local3 != null) { return(_local3); } } } } else { for (var _local6 in where) { if (where[_local6] instanceof MovieClip) { var _local2 = where[_local6]; if (_local2[identifier]) { return(_local2); } } } } return(null); } function searchForMovieClips(where, identifier, level) { var _local3 = new Array(); if (level > 0) { level--; for (var _local7 in where) { if (where[_local7] instanceof MovieClip) { var _local4 = searchForMovieClips(where[_local7], identifier, level); _local3 = _local3.concat(_local4); } } } else { for (var _local7 in where) { if (where[_local7] instanceof MovieClip) { var _local2 = where[_local7]; if (_local2[identifier]) { _local3.push(_local2); } } } } return(_local3); } function initializeParallaxes() { var _local3 = searchForMovieClips(_parent, "isParallaxByShuriken255", 1); var _local2 = 0; while (_local2 < _local3.length) { _local3[_local2].initialized = _local3[_local2].tryToInit(); _local2++; } } onEnterFrame = function () { _root.filters = this.filters; cameraLogic(); moveParallaxes(); }; onUnload = function () { _root.filters = new Array(); resetParentsPosition(); moveParallaxes(); }; var binding = 1; var isACameraByShuriken255 = true; var bounds = viewfinder.getBounds(viewfinder); var oW = (bounds.xMax - bounds.xMin); var oH = (bounds.yMax - bounds.yMin); var sW = Stage.width; var sH = Stage.height; var swR = (Stage.width / oW); var shR = (Stage.height / oH); var point = new Object(); var prevX = _x; var prevY = _y; var prevW = _xscale; var prevH = _yscale; var prevR = _rotation; var defaultShakeMultiplier = 0.75; var inverted = false; var shakeX = 0; var shakeY = 0; var lastTrackingFrame = -2; var parallaxSymbols; var sw = Stage.width; var sh = Stage.height; initializeParallaxes(); activateShakeController(); activateBindingController(); onEnterFrame();Symbol 7 MovieClip Frame 1_visible = false; isCameraControlFieldByShuriken255 = true;Symbol 9 MovieClip Frame 1function searchForShake() { for (var _local4 in _parent) { if (_parent[_local4] instanceof MovieClip) { var _local3 = _parent[_local4]; if (_local3.isAShakeByShuriken255) { _local3.wakeUp(this); return(undefined); } } } } var isAShakeControllerByShuriken255 = true; _visible = false; searchForShake();Symbol 11 MovieClip Frame 1_visible = false; onEnterFrame = function () { _parent.shuriken255_shake_multiplier = this._xscale / 100; }; onEnterFrame();Symbol 13 MovieClip Frame 1_visible = false; onEnterFrame = function () { _parent.shuriken255_parallax_end = this._xscale / 10000; }; onEnterFrame();Symbol 15 MovieClip Frame 1_visible = false; onEnterFrame = function () { _parent.shuriken255_parallax_fade = this._xscale / 10000; }; onEnterFrame();Symbol 18 MovieClip Frame 1function searchForCamera() { for (var _local3 in _parent) { if (_parent[_local3] instanceof MovieClip) { var _local2 = _parent[_local3]; if (_local2.isACameraByShuriken255) { camera = _local2; return(undefined); } } } } function wakeUp(sc) { shakeController = sc; if (camera == null) { searchForCamera(); } setShaking(); } function searchForShakeController() { for (var _local3 in _parent) { if (_parent[_local3] instanceof MovieClip) { var _local2 = _parent[_local3]; if (_local2.isAShakeControllerByShuriken255) { shakeController = _local2; return(undefined); } } } } function setShaking() { var _local1 = _xscale; if (shakeController == null) { _local1 = _local1 * 0.2; } else { _local1 = _local1 * (shakeController._xscale / 400); } var _local2 = (_rotation * Math.PI) / 180; camera.shakeX = Math.cos(_local2) * _local1; camera.shakeY = Math.sin(_local2) * _local1; } var camera = null; var shakeController = null; var isAShakeByShuriken255 = true; _visible = false; onEnterFrame = function () { setShaking(); }; searchForShakeController(); searchForCamera(); setShaking();
Library Items
Symbol 1 Graphic | Used by:4 | |
Symbol 2 Graphic | Used by:3 | |
Symbol 3 MovieClip | Uses:2 | Used by:4 |
Symbol 4 MovieClip | Uses:1 3 | Used by:5 |
Symbol 5 MovieClip [SHURIKEN255_CAMERA] | Uses:4 | Used by:Timeline |
Symbol 6 Graphic | Used by:7 | |
Symbol 7 MovieClip | Uses:6 | Used by:Timeline |
Symbol 8 Graphic | Used by:9 | |
Symbol 9 MovieClip | Uses:8 | Used by:Timeline |
Symbol 10 Graphic | Used by:11 | |
Symbol 11 MovieClip | Uses:10 | Used by:Timeline |
Symbol 12 Graphic | Used by:13 | |
Symbol 13 MovieClip | Uses:12 | Used by:Timeline |
Symbol 14 Graphic | Used by:15 | |
Symbol 15 MovieClip | Uses:14 | Used by:Timeline |
Symbol 16 Graphic | Used by:Timeline | |
Symbol 17 Graphic | Used by:18 | |
Symbol 18 MovieClip | Uses:17 | Used by:Timeline |
Symbol 19 Graphic | Used by:Timeline | |
Symbol 20 Graphic | Used by:Timeline | |
Symbol 21 Graphic | Used by:Timeline | |
Symbol 22 Graphic | Used by:Timeline | |
Symbol 23 Graphic | Used by:Timeline | |
Symbol 24 Graphic | Used by:Timeline | |
Symbol 25 Graphic | Used by:Timeline | |
Symbol 26 Graphic | Used by:Timeline | |
Symbol 27 Graphic | Used by:Timeline | |
Symbol 28 Graphic | Used by:Timeline | |
Symbol 29 Graphic | Used by:Timeline | |
Symbol 30 Graphic | Used by:Timeline | |
Symbol 31 Graphic | Used by:Timeline | |
Symbol 32 Graphic | Used by:Timeline | |
Symbol 33 Graphic | Used by:Timeline | |
Symbol 34 Graphic | Used by:Timeline | |
Symbol 35 Graphic | Used by:Timeline | |
Symbol 36 Graphic | Used by:Timeline | |
Symbol 37 Graphic | Used by:Timeline | |
Symbol 38 Graphic | Used by:Timeline | |
Symbol 39 Graphic | Used by:Timeline | |
Symbol 40 Graphic | Used by:Timeline | |
Symbol 41 Graphic | Used by:Timeline | |
Symbol 42 Graphic | Used by:Timeline | |
Symbol 43 Graphic | Used by:Timeline | |
Symbol 44 Graphic | Used by:Timeline | |
Symbol 45 Graphic | Used by:Timeline | |
Symbol 46 Graphic | Used by:Timeline | |
Symbol 47 Graphic | Used by:Timeline | |
Symbol 48 Graphic | Used by:Timeline | |
Symbol 49 Graphic | Used by:Timeline | |
Symbol 50 Graphic | Used by:Timeline | |
Symbol 51 Graphic | Used by:Timeline | |
Symbol 52 Graphic | Used by:Timeline | |
Symbol 53 Graphic | Used by:Timeline | |
Symbol 54 Graphic | Used by:Timeline | |
Symbol 55 Graphic | Used by:Timeline | |
Symbol 56 Graphic | Used by:Timeline | |
Symbol 57 Graphic | Used by:Timeline | |
Symbol 58 Graphic | Used by:Timeline | |
Symbol 59 Graphic | Used by:Timeline | |
Symbol 60 Graphic | Used by:Timeline | |
Symbol 61 Graphic | Used by:Timeline | |
Symbol 62 Graphic | Used by:Timeline | |
Symbol 63 Graphic | Used by:Timeline | |
Symbol 64 Graphic | Used by:Timeline | |
Symbol 65 Graphic | Used by:Timeline | |
Symbol 66 Graphic | Used by:Timeline | |
Symbol 67 Graphic | Used by:Timeline | |
Symbol 68 Graphic | Used by:Timeline | |
Symbol 69 Graphic | Used by:Timeline | |
Symbol 70 Graphic | Used by:Timeline | |
Symbol 71 Graphic | Used by:Timeline | |
Symbol 72 Graphic | Used by:Timeline | |
Symbol 73 Graphic | Used by:Timeline | |
Symbol 74 Graphic | Used by:Timeline | |
Symbol 75 Graphic | Used by:Timeline | |
Symbol 76 Graphic | Used by:Timeline | |
Symbol 77 Graphic | Used by:Timeline | |
Symbol 78 Graphic | Used by:Timeline | |
Symbol 79 Graphic | Used by:Timeline | |
Symbol 80 Graphic | Used by:Timeline | |
Symbol 81 Graphic | Used by:Timeline | |
Symbol 82 Graphic | Used by:Timeline | |
Symbol 83 Graphic | Used by:Timeline | |
Symbol 84 Graphic | Used by:Timeline | |
Symbol 85 Graphic | Used by:Timeline | |
Symbol 86 Graphic | Used by:Timeline | |
Symbol 87 Graphic | Used by:Timeline | |
Symbol 88 Graphic | Used by:Timeline | |
Symbol 89 Graphic | Used by:Timeline | |
Symbol 90 Graphic | Used by:Timeline | |
Symbol 91 Graphic | Used by:Timeline | |
Symbol 92 Graphic | Used by:Timeline | |
Symbol 93 Graphic | Used by:Timeline | |
Symbol 94 Graphic | Used by:Timeline | |
Symbol 95 Graphic | Used by:Timeline | |
Symbol 96 Graphic | Used by:Timeline | |
Symbol 97 Graphic | Used by:Timeline | |
Symbol 98 Graphic | Used by:Timeline | |
Symbol 99 Graphic | Used by:Timeline | |
Symbol 100 Graphic | Used by:Timeline | |
Symbol 101 Graphic | Used by:Timeline | |
Symbol 102 Graphic | Used by:Timeline | |
Symbol 103 Graphic | Used by:Timeline | |
Symbol 104 Graphic | Used by:Timeline | |
Symbol 105 Graphic | Used by:Timeline | |
Symbol 106 Graphic | Used by:Timeline | |
Symbol 107 Graphic | Used by:Timeline | |
Symbol 108 Graphic | Used by:Timeline | |
Symbol 109 Graphic | Used by:Timeline | |
Symbol 110 Graphic | Used by:Timeline | |
Symbol 111 Graphic | Used by:Timeline | |
Symbol 112 Graphic | Used by:Timeline | |
Symbol 113 Graphic | Used by:Timeline | |
Symbol 114 Graphic | Used by:Timeline | |
Symbol 115 Graphic | Used by:Timeline | |
Symbol 116 Graphic | Used by:Timeline | |
Symbol 117 Graphic | Used by:Timeline | |
Symbol 118 Graphic | Used by:Timeline | |
Symbol 119 Graphic | Used by:Timeline | |
Symbol 120 Graphic | Used by:Timeline | |
Symbol 121 Graphic | Used by:Timeline | |
Symbol 122 Graphic | Used by:Timeline | |
Symbol 123 Graphic | Used by:Timeline | |
Symbol 124 Graphic | Used by:Timeline | |
Symbol 125 Graphic | Used by:Timeline | |
Symbol 126 Graphic | Used by:Timeline | |
Symbol 127 Graphic | Used by:Timeline | |
Symbol 128 Graphic | Used by:Timeline | |
Symbol 129 Graphic | Used by:Timeline | |
Symbol 130 Graphic | Used by:Timeline | |
Symbol 131 Graphic | Used by:Timeline | |
Symbol 132 Graphic | Used by:Timeline | |
Symbol 133 Graphic | Used by:Timeline | |
Symbol 134 Graphic | Used by:Timeline | |
Symbol 135 Graphic | Used by:Timeline | |
Symbol 136 Graphic | Used by:Timeline | |
Symbol 137 Graphic | Used by:Timeline | |
Symbol 138 Graphic | Used by:Timeline | |
Symbol 139 Graphic | Used by:Timeline | |
Symbol 140 Graphic | Used by:Timeline | |
Symbol 141 Graphic | Used by:Timeline | |
Symbol 142 Graphic | Used by:Timeline | |
Symbol 143 Graphic | Used by:Timeline | |
Symbol 144 Graphic | Used by:Timeline | |
Symbol 145 Graphic | Used by:Timeline | |
Symbol 146 Graphic | Used by:Timeline | |
Symbol 147 Graphic | Used by:Timeline | |
Symbol 148 Graphic | Used by:Timeline | |
Symbol 149 Graphic | Used by:Timeline | |
Symbol 150 Graphic | Used by:Timeline | |
Symbol 151 Graphic | Used by:Timeline | |
Symbol 152 Graphic | Used by:Timeline | |
Symbol 153 Graphic | Used by:Timeline | |
Symbol 154 Graphic | Used by:Timeline | |
Symbol 155 Graphic | Used by:Timeline | |
Symbol 156 Graphic | Used by:Timeline | |
Symbol 157 Graphic | Used by:Timeline | |
Symbol 158 Graphic | Used by:Timeline | |
Symbol 159 Graphic | Used by:Timeline | |
Symbol 160 Graphic | Used by:Timeline | |
Symbol 161 Graphic | Used by:Timeline | |
Symbol 162 Graphic | Used by:Timeline | |
Symbol 163 Graphic | Used by:Timeline | |
Symbol 164 Graphic | Used by:Timeline | |
Symbol 165 Graphic | Used by:Timeline | |
Symbol 166 Graphic | Used by:Timeline | |
Symbol 167 Graphic | Used by:Timeline | |
Symbol 168 Graphic | Used by:Timeline | |
Symbol 169 Graphic | Used by:Timeline | |
Symbol 170 Graphic | Used by:Timeline | |
Symbol 171 Graphic | Used by:Timeline | |
Symbol 172 Graphic | Used by:Timeline | |
Symbol 173 Graphic | Used by:Timeline | |
Symbol 174 Graphic | Used by:Timeline | |
Symbol 175 Graphic | Used by:Timeline | |
Symbol 176 Graphic | Used by:Timeline | |
Symbol 177 Graphic | Used by:Timeline | |
Symbol 178 Graphic | Used by:Timeline | |
Symbol 179 Graphic | Used by:Timeline | |
Symbol 180 Graphic | Used by:Timeline | |
Symbol 181 Graphic | Used by:Timeline | |
Symbol 182 Graphic | Used by:Timeline | |
Symbol 183 Graphic | Used by:Timeline | |
Symbol 184 Graphic | Used by:Timeline | |
Symbol 185 Graphic | Used by:Timeline | |
Symbol 186 Graphic | Used by:Timeline | |
Symbol 187 Graphic | Used by:Timeline | |
Symbol 188 Graphic | Used by:Timeline | |
Symbol 189 Graphic | Used by:Timeline | |
Symbol 190 Graphic | Used by:Timeline | |
Symbol 191 Graphic | Used by:Timeline | |
Symbol 192 Graphic | Used by:Timeline | |
Symbol 193 Graphic | Used by:Timeline | |
Symbol 194 Graphic | Used by:Timeline | |
Symbol 195 Graphic | Used by:Timeline | |
Symbol 196 Graphic | Used by:Timeline | |
Symbol 197 Graphic | Used by:Timeline | |
Symbol 198 Font | Used by:200 201 | |
Symbol 199 Font | Used by:200 | |
Symbol 200 Text | Uses:198 199 | Used by:Timeline |
Symbol 201 Text | Uses:198 | Used by:Timeline |
Streaming Sound 1 | Used by:Timeline |
Instance Names
"viewfinder" | Symbol 5 MovieClip [SHURIKEN255_CAMERA] Frame 1 | Symbol 4 MovieClip |
Special Tags
FileAttributes (69) | Timeline Frame 1 | Access local files only, Metadata not present, AS1/AS2. |
ExportAssets (56) | Timeline Frame 1 | Symbol 5 as "SHURIKEN255_CAMERA" |
|