some of you have probably seen something like this on experimental websites… i got bored and decided to see if i could come up with it. here’s the link and the code:
http://creativegroundworks.com/stuff/pointToCursor.swf
height = 5;
width = 5;
spacing = 100;
counter = 0;
this.onMouseMove = function() {
counter = 0;
for(i=0;i<width;i++) {
for(j=0;j<height;j++) {
counter++;
movieName = counter+"_mc";
this.createEmptyMovieClip(movieName,counter+100);
this[movieName].lineStyle(1,0xff0000,100);
this[movieName].moveTo(i*spacing,j*spacing);
this[movieName].lineTo((_xmouse+i*spacing)/2,(_ymouse+j*spacing)/2);
}
}
}