hi easy old stuff here :: I want an object to follow the mouse when I roll over an MC. And then I want the object to stop following when I rollOut :::
here’s my code which doesn’t work, but probably only needs a tweek to fix it :: Can anyone help???!
var mouseEar:Object = new Object();
function hover()
{
Mouse.addListener(mouseEar);
Mouse.hide();
mouseEar.onMouseMove = function()
{
zoom_mc._x = _xmouse;
zoom_mc._y = _ymouse;
updateAfterEvent();
}
}
function endZoom()
{
Mouse.show();
removeListener(mouseEar);
}