Para fazer isto basta transformar uma imagem em movieclip e dar-lhe o nome de cursor, depois e colocar este código na frame( atenção na frame, não na imagem):
- Código:
stop();
_root.cursor.onMouseMove = function() {
this._x = _root._xmouse;
this._y = _root._ymouse;
updateAfterEvent();
Mouse.hide();
};
quad.onRollOut=function(){
_root.cursor.gotoAndStop(1)
}
quad.onPress = function() {
_root.cursor.gotoAndStop()
startDrag(this);
}
quad.onRollOver = function() {
_root.cursor.gotoAndStop()
}
quad.onRelease = function() {
_root.cursor.gotoAndStop()
stopDrag();
}