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

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

AK_47_Simulator_by_Fewes.swf

This is the info page for
Flash #87630

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


ActionScript [AS1/AS2]
Combined Code
movieClip 5 { } movieClip 7 { } movieClip 8 muzzleflash { frame 34 { this.swapDepths(1); this.removeMovieClip(); } } movieClip 11 { frame 1 { stop(); } frame 2 { stop(); } } movieClip 13 casingempty { frame 1 { casing.gotoAndStop(2); } frame 45 { this.swapDepths(1); this.removeMovieClip(); } } movieClip 14 casing { frame 45 { this.swapDepths(1); this.removeMovieClip(); } } frame 1 { var boltcharged = 0; var capacity = 30; var ammo = 0; var chambered = 0; var grab = 0; var fire = 0; var boltspeed = 15; var singlefire = 1; var eject = 0; var boltlength = 85; var temp = 0; var charge = 6; var toggle = 0; var motionblur; var softsmoke; } frame 2 { stop(); } movieClip 19 { } button 21 { on (release) { _root.ammo = 0; gotoAndPlay(2); } } movieClip 25 { } movieClip 29 { frame 1 { stop(); } frame 100 { _root.ammo = _root.capacity; gotoAndStop(1); } } movieClip 33 { } movieClip 34 { frame 1 { var boltreset = 0; var opos = _root.rifle.bolt._x; var blur; var speed; var myBlurFilter = new flash.filters.BlurFilter(0, 0, 0); var oldx; var newx; onEnterFrame = function () { this.filters = [myBlurFilter]; newx = this._x; speed = newx - oldx; oldx = newx; blur = speed; if (blur < 0) { blur *= -1; } myBlurFilter = new flash.filters.BlurFilter(blur * 2, 0, 3); if (_root.grab == 0 && _root.rifle.bolt._x < opos && _root.rifle.bolt._x < opos - _root.boltspeed) { this._x += _root.boltspeed; } else { if (_root.grab == 0 && _root.rifle.bolt._x < opos) { this._x += opos - this._x; } } if (_root.rifle.bolt._x == -_root.boltlength && boltreset == 0) { if (_root.chambered == 1) { var v3 = _root.rifle.attachMovie('casing', _root.temp, _root.temp); v3._y = -73; ++_root.temp; if (_root.ammo < 1) { _root.chambered = 0; } else {} } _root.boltcharged = 1; bolt1 = new Sound(this); bolt1.attachSound('boltback'); bolt1.start(0, 1); boltreset = 1; } if (_root.rifle.bolt._x == opos && boltreset == 1) { if (_root.ammo > 0) { _root.chambered = 1; --_root.ammo; } boltreset = 0; bolt2 = new Sound(this); bolt2.attachSound('boltforward'); bolt2.start(0, 1); } }; bolthandle.onPress = function () { _root.rifle.bolt.startDrag(false, -_root.boltlength, _root.rifle.bolt._y, -9, _root.rifle.bolt._y); _root.grab = 1; }; bolthandle.onReleaseOutside = function () { _root.rifle.bolt.stopDrag(); _root.grab = 0; }; bolthandle.onRelease = bolthandle.onReleaseOutside; } } button 37 { on (press) { if (_root.singlefire != 2) { gotoAndPlay(2); _root.fire = 1; } } on (release) { _root.fire = 0; } on (releaseOutside) { _root.fire = 0; } } movieClip 40 { frame 1 { var reset = _root.charge; stop(); } frame 8 { if (reset < _root.charge && _root.singlefire != 1) { ++reset; } else { if (reset == _root.charge) { if (_root.chambered == 1) { _root.rifle.bolt._x = -_root.boltlength - 20; var obj = _root.rifle.attachMovie('casingempty', _root.temp, _root.temp); obj._y = -73; obj._rotation += -10 + random(20); ++_root.temp; reset = 0; if (_root.ammo < 1) { _root.chambered = 0; } if (_root.ammo >= 1) { --_root.ammo; } _root.boltcharged = 1; _root.gotoAndPlay(3); } else { if (_root.boltcharged == 1) { empty = new Sound(this); empty.attachSound('empty'); empty.start(0, 1); _root.boltcharged = 0; } _root.chambered = 0; } } } if (_root.fire == 1) { gotoAndPlay(7); } } frame 10 { if (reset < _root.charge && _root.singlefire != 1) { ++reset; } else { if (reset == _root.charge) { if (_root.chambered == 1) { _root.rifle.bolt._x = -_root.boltlength - 20; var obj = _root.rifle.attachMovie('casing', _root.temp, _root.temp); obj._y = -73; ++_root.temp; reset = 0; if (_root.ammo < 1) { _root.chambered = 0; } if (_root.ammo >= 1) { --_root.ammo; } _root.boltcharged = 1; _root.gotoAndPlay(3); } else { if (_root.boltcharged == 1) { empty = new Sound(this); empty.attachSound('empty'); empty.start(0, 1); _root.boltcharged = 0; } _root.chambered = 0; } } } if (_root.fire == 1) { gotoAndPlay(7); } } } button 44 { on (press) { play(); } } movieClip 46 { frame 2 { stop(); } frame 10 { _root.singlefire = 0; stop(); } frame 20 { _root.singlefire = 2; stop(); } frame 30 { _root.singlefire = 1; gotoAndStop(2); } } movieClip 47 { frame 1 { onEnterFrame = function () { poop.removeMovieClip(); }; } } button 49 { on (press) { if (toggle == 0) { toggle = 1; capacity = 100; charge = 3; poop._alpha = 100; } else { if (toggle == 1) { toggle = 0; capacity = 30; charge = 6; poop._alpha = 3; } } } } frame 4 { var obj = attachMovie('muzzleflash', temp, temp); ++temp; obj._y = 118; obj._x = 1000; } frame 25 { gotoAndStop(2); } movieClip 62 { }




http://swfchan.com/18/87630/info.shtml
Created: 29/3 -2019 21:46:31 Last modified: 29/3 -2019 21:46:31 Server time: 29/04 -2024 14:15:57