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/94820032?noj=FRM94820032-22DC" width="1" height="1"></div>

drawingstuffInFlash0_5.swf

This is the info page for
Flash #104421

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


ActionScript [AS1/AS2]
Combined Code
movieClip 2 eventHandler { } movieClip 4 brushTool { frame 1 { this.onEnterFrame = function () { mcColor = new Color(this); mcColor.setRGB(_root.brushColor); }; } } movieClip 6 { } movieClip 7 brushTip { frame 1 { this.onEnterFrame = function () { movement = _parent._xmouse - this._x; this._x += movement * 0.9; movement = _parent._ymouse - this._y; this._y += movement * 0.9; }; } } frame 1 { this.onLoad = function () { this.moveTo(_root.brushTip._x, _root.brushTip._y); }; this.onEnterFrame = function () { if (Key.isDown(40) && brushSize > 1) { _root.brushTip._height -= 5; _root.brushTip._width -= 5; } if (Key.isDown(38)) { _root.brushTip._height += 5; _root.brushTip._width += 5; } if (Key.isDown(32)) { this.moveTo(_root.brushTip._x - 1, _root.brushTip._y - 1); } brushSize = _root.brushTip._height; if (Key.isDown(1)) { this.lineStyle(_root.brushSize, _root.brushColor, 100); this.lineTo(_root.brushTip._x, _root.brushTip._y); } }; } instance of movieClip 2 eventHandler { onClipEvent (load) { _root.brushSize = _root.brushTip._height; _root.r = random(256) & 255; _root.g = random(256) & 255; _root.b = random(256) & 255; hexR = _root.r.toString(16); hexG = _root.g.toString(16); hexB = _root.b.toString(16); hex_color = hexR + hexG + hexB; _root.brushColor = '0x' + hex_color; this.moveTo(_root.brushTip._x, _root.brushTip._y); this.lineStyle(_root.brushSize, _root.brushColor, 100); } onClipEvent (enterFrame) { _root.brushColor = '0x' + hex_color; this.lineStyle(_root.brushSize, _root.brushColor, 100); if (Key.isDown(81) && _root.r < 256) { ++_root.r; hexR = _root.r.toString(16); hex_color = hexR + hexG + hexB; } if (Key.isDown(65) && _root.r > 1) { --_root.r; hexR = _root.r.toString(16); hex_color = hexR + hexG + hexB; } if (Key.isDown(87) && _root.g < 256) { ++_root.g; hexG = _root.g.toString(16); hex_color = hexR + hexG + hexB; } if (Key.isDown(83) && _root.g > 1) { --_root.g; hexG = _root.g.toString(16); hex_color = hexR + hexG + hexB; } if (Key.isDown(69) && _root.b < 256) { ++_root.b; hexB = _root.b.toString(16); hex_color = hexR + hexG + hexB; } if (Key.isDown(68) && _root.b > 1) { --_root.b; hexB = _root.b.toString(16); hex_color = hexR + hexG + hexB; } } }




http://swfchan.com/21/104421/info.shtml
Created: 18/3 -2019 13:51:38 Last modified: 18/3 -2019 13:51:38 Server time: 22/12 -2024 07:27:12