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

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

Sonic Powerthirst Ad - another remake of funny flash ad.swf

This is the info page for
Flash #88643

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


ActionScript [AS1/AS2]
Combined Code
frame 1 { stop(); } // unknown tag 88 length 123 // unknown tag 88 length 67 button 11 { on (press) { getURL('http://www.deviantart.com', '_blank'); } on (rollOver) { gotoAndPlay('rollover'); } on (rollOut) { gotoAndPlay('rollout'); } } movieClip 12 { frame 1 { stop(); } frame 13 { stop(); } } movieClip 16 { } movieClip 17 { frame 1 { function fractalLine(mc, A, B, width, roughness, branching, col, alpha) { mc.lineStyle(width, col, alpha); var v5 = Math.atan2(B.y - A.y, B.x - A.x); var v2 = distance(A, B); var v10 = {'x': A.x + (v2 / 2) * Math.cos(v5), 'y': A.y + (v2 / 2) * Math.sin(v5)}; var v13 = (v2 / 2) * roughness * 2 * Math.random() - ((v2 / 2) * roughness + 0.1); var v1 = {'x': v10.x + v13 * Math.cos(v5 - 1.570796326794897), 'y': v10.y + v13 * Math.sin(v5 - 1.570796326794897)}; if (branching && v2 > 80) { var v15 = v5 + Math.random() * Math.PI / 2 - 0.7853981633974483; var v8 = v2 / 2; dest = {'x': v1.x + v8 * Math.cos(v15), 'y': v1.y + v8 * Math.sin(v15)}; fractalLine(mc, v1, dest, width / 1.5, roughness, branching, col, alpha); } if (v2 > 40) { fractalLine(mc, A, v1, width, roughness, branching, col, alpha); fractalLine(mc, v1, B, width, roughness, branching, col, alpha); } else { mc.moveTo(A.x, A.y); mc.lineTo(v1.x, v1.y); mc.lineTo(B.x, B.y); } } function distance(A, B) { return Math.sqrt(Math.pow(B.x - A.x, 2) + Math.pow(B.y - A.y, 2)); } function render() { this.clear(); var v2 = 0; while (v2 < 3) { idx = v2 * 3; fractalLine(this, pts[idx], pts[idx + 1], 3, pts[idx + 2], false, 16777215, 100); ++v2; } } function teslaStart() { teslaStop(); intervalID = setInterval(this, 'render', 50); } function teslaStop() { clearInterval(intervalID); } var pts = new Array(new Object({'x': -50, 'y': -20}), new Object({'x': 330, 'y': -20}), 0.2, new Object({'x': -50, 'y': 0}), new Object({'x': 330, 'y': 0}), 0.25, new Object({'x': -50, 'y': 20}), new Object({'x': 330, 'y': 20}), 0.2); var intervalID = 0; } } movieClip 19 { } movieClip 20 { frame 1 { stop(); } } movieClip 21 { frame 1 { var _maxStripes = 5; var _yRadius = 20; var _zRadius = 20; var _sAlpha = 50; var _stripes; var s = _parent._parent.stripeSettings; initStripes = function () { _maxStripes = s.maxStripes; _yRadius = s.yRadius; _zRadius = s.zRadius; _sAlpha = s.alpha; _stripes = new Array(); var v3 = 0; while (v3 < _maxStripes) { var v2 = this.attachMovie('Stripe', 'Stripe' + v3, this.getNextHighestDepth()); v2._xscale = 60; v2._yscale = 50; v2.angle = (Math.PI / _maxStripes) * v3 * 2; _stripes.push(v2); ++v3; } }; onEnterFrame = function () { var v3 = s.rotSpeed; _sAlpha += (s.alpha - _sAlpha) / 5; _yRadius += (s.yRadius - _yRadius) / 5; _zRadius += (s.zRadius - _zRadius) / 5; var v2 = 0; while (v2 < _maxStripes) { var v1 = _stripes[v2]; v1.angle += v3; v1._y = Math.sin(v1.angle) * _yRadius; v1._alpha = Math.round(Math.cos(v1.angle) * _zRadius + _sAlpha); ++v2; } }; initStripes(); stop(); } } movieClip 22 { } movieClip 24 { } // unknown tag 88 length 67 movieClip 28 { frame 1 { var stripeSettings = new Object(); stripeSettings.rotSpeed = 0.05; stripeSettings.alpha = 70; stripeSettings.zRadius = 30; stripeSettings.yRadius = 20; stripeSettings.maxStripes = 5; _parent.stop(); } frame 43 { var percent = 0; var percentLast = 0; var percentMaxPart = 10; var percentString = '0.00%'; loadingPill.Lightning.teslaStart(); onEnterFrame = function () { var v3 = Math.round(_root.getBytesLoaded()); var v2 = Math.round(_root.getBytesTotal()); percent = !isNaN(v3 / v2) ? v3 * 100 / v2 : 0; var v4 = percent - percentLast; if (v4 > percentMaxPart) { percent = percentLast + percentMaxPart; } percentLast = percent; p = percentLast; if (p >= 100) { p = 100; } loadingPill.Progress.gotoAndStop(Math.ceil(p)); percentString = String(Math.round(p) + '.' + ((Math.round(p * 100)).toString()).substr(-2)) + '%'; if (p == 100) { delete onEnterFrame; loadingPill.Lightning.teslaStop(); gotoAndPlay('loaded'); } }; } frame 54 { stop(); } frame 74 { stop(); Pill_btn.onRelease = function () { gotoAndPlay('outro'); stopAllSounds(); }; Pill_btn.onRollOver = function () { stripeSettings.yRadius = 10; stripeSettings.zRadius = 40; stripeSettings.alpha = 60; stripeSettings.rotSpeed = 0.06; }; Pill_btn.onRollOut = function () { stripeSettings.yRadius = 20; stripeSettings.zRadius = 30; stripeSettings.alpha = 70; stripeSettings.rotSpeed = 0.05; }; } frame 90 { stop(); _parent.play(); } } movieClip 34 { } movieClip 38 { frame 11 { stop(); } } movieClip 44 { } // unknown tag 88 length 64 movieClip 69 { } movieClip 73 { } movieClip 88 { frame 19 { stop(); } } movieClip 136 { frame 44 { stop(); } } movieClip 160 { } movieClip 162 { } // unknown tag 88 length 107 movieClip 179 { frame 15 { stop(); } } movieClip 186 { frame 20 { stop(); } } movieClip 192 { } movieClip 194 { } movieClip 220 { } movieClip 222 { } frame 2162 { stop(); } button 305 { on (release) { gotoAndPlay(2); } }




http://swfchan.com/18/88643/info.shtml
Created: 29/3 -2019 10:06:02 Last modified: 29/3 -2019 10:06:02 Server time: 22/12 -2024 14:29:58