STORY LOOP FURRY PORN GAMES C SERVICES [?] [R] RND POPULAR | Archived flashes: 229455 |
/disc/ · /res/ — /show/ · /fap/ · /gg/ · /swf/ | P0001 · P2574 · P5148 |
This is the info page for Flash #13764 |
Jacksonpollock.org, a website by Miltos Manetas , 2003. Unique edition, Courtesy Yvon Lambert Gallery, NY Flash animation based on "Splatter" by Michal Migurski http://stamen.com/projects/splatter ©2003 Michal Migurski, Stamen Design <mike@stamen.com> This work is offered under a Creative Commmons license. |
ActionScript [AS1/AS2]
Frame 2function splat(obj, x1, y1, x2, y2, x3, y3, d) { var _local4 = obj; shadow = 1; _local4.lineStyle(d, _root.currentcolor, 100); _local4.moveTo(x1, y1); _local4.curveTo(x3, y3, x2, y2); dd = Math.sqrt(Math.pow(x2 - x1, 2) + Math.pow(y2 - y1, 2)); var _local9 = 0; while (_local9 < Math.floor(5 * Math.pow(Math.random(), 4))) { var _local3 = (dd * 4) * (Math.pow(Math.random(), 2) - 0.5); var _local2 = (dd * 4) * (Math.pow(Math.random(), 2) - 0.5); var _local6 = Math.random() - 0.5; var _local5 = Math.random() - 0.5; _local4.lineStyle(d * (0.5 + Math.random()), _root.currentcolor, 100); _local4.moveTo(x1 + _local3, y1 + _local2); _local4.lineTo((x1 + _local3) + _local6, (y1 + _local2) + _local5); _local9++; } } function colorcycle() { _root.isCycling = true; _root.currentcolor = randRange(0, 160000000); } function killcolorcycle() { _root.isCycling = false; square_mc.clear(); } function millis() { var _local1 = new Date(); return(_local1.getTime()); } function randRange(min, max) { var _local1 = Math.floor(Math.random() * ((max - min) + 1)) + min; return(_local1); } _root.focusEnabled = true; Selection.setFocus(_root); var myListener = new Object(); myListener.onKeyDown = function () { _root.resultField = "please press another key"; if (Key.getCode() == 17) { _root.stopdraw = true; } else if ((Key.getCode() == 13) || (Key.getCode() == 32)) { _root.obj.clear(); } else if (_root.mc_signature._currentFrame == 1) { _root.mc_signature.gotoAndStop(2); } else { _root.mc_signature.gotoAndStop(1); } }; myListener.onKeyUp = function () { if (Key.getCode() == 17) { _root.stopdraw = false; } }; Key.addListener(myListener); var new_size_influence; var mid_point_push; var max_line_width; new_size_influence = (Math.floor(Math.random() * 20) / 10) - 0.5; mid_point_push = (Math.floor(Math.random() * 8) / 4) - 1; new_size_influence = 0.5; mid_point_push = 0.75; max_line_width = (Math.random() * 50) + 50; max_line_width = 91; mid_point_push = 0.8; new_size_influence = 0.55; trace(new_size_influence); trace(mid_point_push); trace(max_line_width); info._visible = true; stop(); var currentcolor = 0; var beginWait = true; var stopdraw = false; var currentcolor = 0; var killingcolorcycle = false;Instance of Symbol 9 MovieClip "obj" in Frame 2onClipEvent (mouseMove) { if ((!_root.stopdraw) && (!_root.beginWait)) { mid_x = ((end_x - start_x) * (1 + _root.mid_point_push)) + start_x; mid_y = ((end_y - start_y) * (1 + _root.mid_point_push)) + start_y; start_x = end_x; start_y = end_y; end_x = _xmouse; end_y = _ymouse; distance = Math.sqrt(Math.pow(end_x - start_x, 2) + Math.pow(end_y - start_y, 2)); if (distance == 0) { new_size = _root.max_line_width / 90; } else { new_size = _root.max_line_width / distance; } size = (_root.new_size_influence * new_size) + ((1 - _root.new_size_influence) * size); _parent.splat(this, start_x, start_y, end_x, end_y, mid_x, mid_y, size); } else { start_x = _xmouse; start_y = _ymouse; end_x = _xmouse; end_y = _ymouse; } if (_root.beginWait) { start_x = _xmouse; start_y = _ymouse; end_x = _xmouse; end_y = _ymouse; _root.beginWait = false; } } onClipEvent (mouseDown) { _root.colorcycle(); } onClipEvent (mouseUp) { } onClipEvent (enterFrame) { if (_root.isCycling) { _root.isCycling = false; _root.killingcolorcycle = true; _root.cycletimer = _root.millis(); } if (_root.killingcolorcycle && ((_root.millis() - _root.cycletimer) > 700)) { _root.killcolorcycle(); _root.killingcolorcycle = false; } }Symbol 1 MovieClip Frame 1stop();Symbol 8 MovieClip Frame 1stop();Symbol 8 MovieClip Frame 2my_btn.onPress = function () { getURL ("http://www.manetas.com"); };Symbol 9 MovieClip Frame 1_x = 0; _y = 0; var start_x; var start_y; var mid_x; var mid_y; var end_x; var end_y; var parity; var size; start_x = (mid_x = (end_x = Stage.width / 2)); start_y = (mid_y = (end_y = Stage.height / 2)); parity = false; size = 0;
Library Items
Symbol 1 MovieClip | Used by:Timeline | |
Symbol 2 Font | Used by:4 | |
Symbol 3 Font | Used by:4 | |
Symbol 4 Text | Uses:2 3 | Used by:8 |
Symbol 5 Graphic | Used by:8 | |
Symbol 6 Graphic | Used by:7 | |
Symbol 7 Button | Uses:6 | Used by:8 |
Symbol 8 MovieClip | Uses:4 5 7 | Used by:Timeline |
Symbol 9 MovieClip | Used by:Timeline | |
Symbol 10 Button | Used by:Timeline |
Instance Names
"info" | Frame 1 | Symbol 1 MovieClip |
"mc_signature" | Frame 1 | Symbol 8 MovieClip |
"obj" | Frame 2 | Symbol 9 MovieClip |
"my_btn" | Symbol 8 MovieClip Frame 2 | Symbol 7 Button |
Special Tags
FileAttributes (69) | Timeline Frame 1 | Access local files only, Metadata not present, AS1/AS2. |
|