STORY LOOP FURRY PORN GAMES C SERVICES [?] [R] RND POPULAR | Archived flashes: 229593 |
/disc/ · /res/ — /show/ · /fap/ · /gg/ · /swf/ | P0001 · P2595 · P5190 |
This is the info page for Flash #1571 |
Jackson Pollock .org, by Miltos Manetas, 2003. Unique edition, Courtesy Yvon Lambert Gallery, NY Flash animation based on "Splatter" a work by Michal Migurski offered under a Creative Commmons license. http://stamen.com/projects/splatter ©2003 Michal Migurski Stamen Design |
Dazed & Confused Magazine is doing a competition for the Digital 50. Vote for JacksonPollock.org here: http://www.dazeddigital.com/projects/digital50/article.aspx?a=530 tip: press SPACE to erase your drawing |
ActionScript [AS1/AS2]
Instance of Symbol 4 MovieClip [heart] "heart" in Frame 1onClipEvent (load) { this._visible = false; }Instance of Symbol 14 MovieClip "votetext" in Frame 1onClipEvent (load) { this._visible = false; }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.q++; if (_root.q == 15) { _root.currentcolor = 0; _root.q = 0; } else { _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); } function turnonheart() { _root.heart._visible = true; clearInterval(_root.turnonID); } _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 q = 0; var beginWait = true; var stopdraw = false; var currentcolor = 0; var killingcolorcycle = false; heart.heartbutton.onPress = function () { trace("wtf"); if (_root.votetext._visible == false) { _root.votetext._visible = true; } else if (_root.votetext._visible == true) { _root.heart._visible = false; _root.votetext._visible = false; } }; heart._visible = false; votetext._visible = false; var turnonID; var startup = false; Stage.scaleMode = "noScale"; var myListener = new Object(); myListener.onResize = function () { }; Stage.addListener(myListener);Instance of Symbol 15 MovieClip "obj" in Frame 2onClipEvent (mouseMove) { if (!_root.startup) { trace("HI!"); _root.turnonID = setInterval(_root.turnonheart, 4000); _root.startup = true; } 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) { _root.heart._x = ((-(Stage.width - 800)) / 2) + 20; _root.votetext._x = ((-(Stage.width - 800)) / 2) + 45; }Symbol 5 MovieClip Frame 1stop();Symbol 10 MovieClip Frame 1stop();Symbol 12 Buttonon (release) { getURL ("http://www.dazeddigital.com/projects/digital50/article.aspx?a=530", "_blank"); _root.votetext._visible = false; _root.heart._visible = false; }Symbol 14 MovieClip Frame 1stop();Symbol 15 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 Graphic | Used by:2 | |
Symbol 2 MovieClip | Uses:1 | Used by:4 |
Symbol 3 Graphic | Used by:4 | |
Symbol 4 MovieClip [heart] | Uses:2 3 | Used by:Timeline |
Symbol 5 MovieClip | Used by:Timeline | |
Symbol 6 Font | Used by:8 13 | |
Symbol 7 Font | Used by:8 | |
Symbol 8 Text | Uses:6 7 | Used by:10 |
Symbol 9 Graphic | Used by:10 | |
Symbol 10 MovieClip | Uses:8 9 | Used by:Timeline |
Symbol 11 Graphic | Used by:12 | |
Symbol 12 Button | Uses:11 | Used by:14 |
Symbol 13 Text | Uses:6 | Used by:14 |
Symbol 14 MovieClip | Uses:12 13 | Used by:Timeline |
Symbol 15 MovieClip | Used by:Timeline | |
Symbol 16 Button | Used by:Timeline |
Instance Names
"info" | Frame 1 | Symbol 5 MovieClip |
"mc_signature" | Frame 1 | Symbol 10 MovieClip |
"heart" | Frame 1 | Symbol 4 MovieClip [heart] |
"votetext" | Frame 1 | Symbol 14 MovieClip |
"obj" | Frame 2 | Symbol 15 MovieClip |
"heartbutton" | Symbol 4 MovieClip [heart] Frame 1 | Symbol 2 MovieClip |
"votelink" | Symbol 14 MovieClip Frame 1 | Symbol 12 Button |
Special Tags
FileAttributes (69) | Timeline Frame 1 | Access local files only, Metadata not present, AS1/AS2. |
ExportAssets (56) | Timeline Frame 1 | Symbol 4 as "heart" |
|