Groups | Blog | Home
all groups > flash (macromedia) > june 2006 >

flash (macromedia) : anyone up for a challenge?


joeq
6/23/2006 8:13:15 PM
as some of you you may have seen, i posted this link
(http://jacksonpollock.org/) earlier in the week because i thought it was
really impressive. well, curiousity got the better of me so i downloaded a
decompiler and, uh, decompiled it to see if i could learn a little about how it
was done.... specifically, i'm curious as to how the colors were spec'd and how
the order by which they appear was determined.

the fla that i generated is here: www.quintandquint.com/pollock.fla ? i'd love
if someone who knew more than i do (a lot more ? from the looks of it) would
take a peek under the hood and lend a little insight.

oh, and if some people think this is poor form or unethical, allow me to point
your attention to some of the author's beliefs on the subject:
http://www.iamgonnacopy.com/. furthermore, i opened up the file for educational
purposes - i have no intention of claiming it as my own.
Nickels55
6/23/2006 8:24:20 PM
Code:
function splat(obj, x1, y1, x2, y2, x3, y3, d) {
var local3 = obj;
shadow = 1;
local3.lineStyle(d, _root.colora, 100);
local3.moveTo(x1, y1);
local3.curveTo(x3, y3, x2, y2);
dd = Math.sqrt(Math.pow(x2 - x1, 2) + (Math.pow(y2 - y1, 2)));
for (var i = 0; i < Math.floor(5 * Math.pow(Math.random(), 4)); i++) {
var local1 = dd * 4 * (Math.pow(Math.random(), 2) - 0.5);
var local2 = dd * 4 * (Math.pow(Math.random(), 2) - 0.5);
var x5 = Math.random() - 0.5;
var y5 = Math.random() - 0.5;
local3.lineStyle(d * 0.5 + Math.random(), _root.colora, 100);
local3.moveTo(x1 + local1, y1 + local2);
local3.lineTo(x1 + local1 + x5, y1 + local2 + y5);
}
}
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;
info._visible = true;
stop();
===================================
It only took me .5 seconds to know I will never figure that out. Try the
actionscript forum. I am surprised at how litle code and art is needed for that
swf file to work.


urami_
6/24/2006 12:00:00 AM


[quoted text, click to view]

"educational purposes" - because saying that makes it all...

Please, spare us, bottom line is you can't justify bad ethics, simple as that.

Whether you believe in some bullshit like "freedom of data" , "open source for all"
and that kind of stuff, regardless how you phrase it, reverse engineering is what it is.

Hope you all smarter now after checking the source....after all it was "educational purposes"
so it should educate you, right ?





--
Regards

Urami


--



Happy New Year guys - all the best there is in the 2006 :)




<urami>
http://www.Flashfugitive.com
</urami>

<web junk free>
http://www.firefox.com
joeq
6/24/2006 12:07:35 PM
joeq
6/24/2006 12:15:27 PM
AddThis Social Bookmark Button