'Mouse trail' by JohnJensen on DeviantArt (original) (raw)
Move around with the mouse to see the different colors and sizes, and get amazed!
It's kinda fun!
Click with the mouse to reset, from empty screen!
The ball counter helps your computer not to crash.
If you have more than 500 balls on the screen they'll get deleted automacticly!
Enjoy
... For those which think it's an advanced script, then it's not, you can see it now:
onLoad = function () {
size = 5;
};
onEnterFrame = function () {
size = random(30)+5
color = random(999999);
alpha = random(80)+21;
longness = 0.5;
lineStyle(size, color, alpha);
moveTo(_root._xmouse, _root._ymouse);
lineTo(_root._xmouse, _root._ymouse+longness);
_root.balls++;
if (_root.balls>500) {
clear();
_root.balls = 0;
}
};
onMouseDown = function () {
clear();
_root.balls = 0;
};
credit me if you use my script :3
ENJOY XD