#12002/6/21 9:46:11
acscriptmouse = 100;
dustymouse = 100;
outragedmouse = 100;
divfactor = 6;
}
onClipEvent (enterFrame) {
if (((_root.acscript._y - 15) < _root._ymouse) && (_root._ymouse < (_root.acscript._y + 15))) {
acscriptdist = Math.abs(_root._xmouse - _root.acscript._x);
acscriptmouse = _root._xmouse;
if (_root.acscript._x < _root._xmouse) {
_root.acscript._x = _root.acscript._x + (acscriptdist / divfactor);
}
if (_root._xmouse < _root.acscript._x) {
_root.acscript._x = _root.acscript._x - (acscriptdist / divfactor);
}
}
if (((_root.acscript._y - 15) >= _root._ymouse) || ((_root.acscript._y + 15) < _root._ymouse)) {
acscriptdist = Math.abs(acscriptmouse - _root.acscript._x);
if (_root.acscript._x < acscriptmouse) {
_root.acscript._x = _root.acscript._x + (acscriptdist / divfactor);
}
if (acscriptmouse < _root.acscript._x) {
_root.acscript._x = _root.acscript._x - (acscriptdist / divfactor);
}
}
if (((_root.dusty._y - 15) < _root._ymouse) && (_root._ymouse < (_root.dusty._y + 15))) {
dustydist = Math.abs(_root._xmouse - _root.dusty._x);
dustymouse = _root._xmouse;
if (_root.dusty._x < _root._xmouse) {
_root.dusty._x = _root.dusty._x + (dustydist / divfactor);
}
if (_root._xmouse < _root.dusty._x) {
_root.dusty._x = _root.dusty._x - (dustydist / divfactor);
}
}
if (((_root.dusty._y - 15) >= _root._ymouse) || ((_root.dusty._y + 15) < _root._ymouse)) {
dustydist = Math.abs(dustymouse - _root.dusty._x);
if (_root.dusty._x < dustymouse) {
_root.dusty._x = _root.dusty._x + (dustydist / divfactor);
}
if (dustymouse < _root.dusty._x) {
_root.dusty._x = _root.dusty._x - (dustydist / divfactor);
}
}
if (((_root.outraged._y - 15) < _root._ymouse) && (_root._ymouse < (_root.outraged._y + 15))) {
outrageddist = Math.abs(_root._xmouse - _root.outraged._x);
outragedmouse = _root._xmouse;
if (_root.outraged._x < _root._xmouse) {
_root.outraged._x = _root.outraged._x + (outrageddist / divfactor);
}
if (_root._xmouse < _root.outraged._x) {
_root.outraged._x = _root.outraged._x - (outrageddist / divfactor);
}
}
if (((_root.outraged._y - 15) >= _root._ymouse) || ((_root.outraged._y + 15) < _root._ymouse)) {
outrageddist = Math.abs(outragedmouse - _root.outraged._x);
if (_root.outraged._x < outragedmouse) {
_root.outraged._x = _root.outraged._x + (outrageddist / divfactor);
}
if (outragedmouse < _root.outraged._x) {
_root.outraged._x = _root.outraged._x - (outrageddist / divfactor);
}
}
}