This is my first posted flash experiment, other than my footers… Source code
below
Also, feel free to move this if it isn’t in the right place. I wasn’t sure where to post this in the in the first place.
[AS]
this.createEmptyMovieClip(“drawing_mc”, 1000);
drawing_mc._x = 0; drawing_mc._y = 0;
var xArray_array = [0];
var yArray_array = [0];
for (var i = 0; i<(random(10)+10); i++) {
xArray_array.push(random(401));
yArray_array.push(random(401));
}
drawing_mc.lineStyle(1, 0x000000, 100);
drawing_mc.moveTo(xArray_array[0], yArray_array[0]);
this.onMouseDown = function() {
drawing_mc.removeMovieClip();
this.createEmptyMovieClip(“drawing_mc”, 1000);
drawing_mc._x = 0; drawing_mc._y = 0;
var xArray_array = [0];
var yArray_array = [0];
for (var i = 0; i<(random(10)+10); i++) {
xArray_array.push(random(401));
yArray_array.push(random(401));
}
drawing_mc.lineStyle(1, 0x000000, 100);
for (var i = 0; i<xArray_array.length; i++) {
for (var h = 0; h<yArray_array.length; h++) {
drawing_mc.lineTo(xArray_array[h], yArray_array[h]);
drawing_mc.moveTo(xArray_array*, yArray_array*);
}
}
};
for (var i = 0; i<xArray_array.length; i++) {
for (var h = 0; h<yArray_array.length; h++) {
drawing_mc.lineTo(xArray_array[h], yArray_array[h]);
drawing_mc.moveTo(xArray_array*, yArray_array*);
}
}
Ok nice, but there isn’t something “crazy”, you’re just connecting lines from what I’m seeing, njs, I would instead make it more “interactive” and add events and such…
You might have to clear your cache though. (Tools->Internet Options->Clear Files)
Also, when I post swfs I don’t see the file, all I see is blank space the size of the swf. If I right-click the space, I see “Movie not loaded” and the rest of the flash player menu.