trace ("go insane!!")
May. 30th, 2002 07:44 pm[Error: Irreparable invalid markup ('<font [...] monaco,>') in entry. Owner must fix manually. Raw contents below.]
<pre><font face=Courier, Monaco, Monaco CY size = -3>
_root.ghostHead.onEnterFrame = function () {
with (ghostPart0) {
speedX = speedX * friction + (_root._xmouse - _x) * ratio;
speedY = speedY * friction + (_root._ymouse - _y) * ratio;
_x = _x + speedX;
_y = _y + speedY;
}
for (i = 1; i <= 20; i++) {
var myGhostPart = eval ("ghostPart" + i);
var prevGhostPart = eval ("ghostPart" + String (i - 1));
with (myGhostPart) {
_xscale = _yscale = 100 - i * 5;
_x = _x - (_x - prevGhostPart._x) / i + _root.neurositX;
_y = _y - (_y - prevGhostPart._y) / i + _root.neurositY + 2;
_alpha = 100 - 5 * i;
}
}
_root.calmDown = Boolean (random (2));
_root.dontGoInsane = Boolean (random (_root.addLSD));
if (_root.dontGoInsane) {
if (!_root.calmDown) {
_root.dispersion = Math.floor (Math.sqrt (
Math.pow ((_root._xmouse - _root.ghostPart0._x), 2)
+ Math.pow ((_root._ymouse - _root.ghostPart0._y), 2)) / 2);
_root.neurositX = _root.dispersion / 2 - random (_root.dispersion);
_root.neurositY = _root.dispersion / 2 - random (_root.dispersion);
} else {
trace ("calm down!!");
_root.neurositX = 0;
_root.neurositY = 0;
_root.addLSD = 200;
}
} else {
trace ("go insane!!");
_root.neurositX = 200 - random (401);
_root.neurositY = 200 - random (401);
}
};
_root.ghostHead.onMouseMove = function () {
_root.addLSD = 500;
};
</font></pre>
_root.ghostHead.onEnterFrame = function () {
with (ghostPart0) {
speedX = speedX * friction + (_root._xmouse - _x) * ratio;
speedY = speedY * friction + (_root._ymouse - _y) * ratio;
_x = _x + speedX;
_y = _y + speedY;
}
for (i = 1; i <= 20; i++) {
var myGhostPart = eval ("ghostPart" + i);
var prevGhostPart = eval ("ghostPart" + String (i - 1));
with (myGhostPart) {
_xscale = _yscale = 100 - i * 5;
_x = _x - (_x - prevGhostPart._x) / i + _root.neurositX;
_y = _y - (_y - prevGhostPart._y) / i + _root.neurositY + 2;
_alpha = 100 - 5 * i;
}
}
_root.calmDown = Boolean (random (2));
_root.dontGoInsane = Boolean (random (_root.addLSD));
if (_root.dontGoInsane) {
if (!_root.calmDown) {
_root.dispersion = Math.floor (Math.sqrt (
Math.pow ((_root._xmouse - _root.ghostPart0._x), 2)
+ Math.pow ((_root._ymouse - _root.ghostPart0._y), 2)) / 2);
_root.neurositX = _root.dispersion / 2 - random (_root.dispersion);
_root.neurositY = _root.dispersion / 2 - random (_root.dispersion);
} else {
trace ("calm down!!");
_root.neurositX = 0;
_root.neurositY = 0;
_root.addLSD = 200;
}
} else {
trace ("go insane!!");
_root.neurositX = 200 - random (401);
_root.neurositY = 200 - random (401);
}
};
_root.ghostHead.onMouseMove = function () {
_root.addLSD = 500;
};
</font></pre>
Re: thank you
Date: 2002-05-30 10:49 am (UTC)thank you
Date: 2002-05-30 10:57 am (UTC)