El código que tengo hasta ahora es este:
Código:
Espero haberme explicado. ¿Alguna sugerencia? onClipEvent (load) {
_x = 0;
_y = 0;
velocidad = 5;
}
onClipEvent (enterFrame) {
posicionX = _root._xmouse;
posicionY = _root._ymouse;
_x += (posicionX-_x)/velocidad;
_y += (posicionY-_y)/velocidad;
if (_x>835) {
_x = 835;
}
if (_x<235) {
_x = 235;
}
if (_y<285) {
_y = 285;
}
if (_y>385) {
_y = 385;
}
}

