Cursor icon changes on movie within a movie

;( hi

i have a movie clip that changed the cursor icon. But once i inserted the movie within another movie it stopped working.

heres the code of my movie clip ( FLASH 8 -ACTIONSCRIPT 2)

_root.onMouseMove = function() {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {

if (isAttached) {
Mouse.hide();
_root.attachMovie(“cursor”, “cursor”, 1);
isAttached = false;
}
with (cursor) {
_x = _root._xmouse;
_y = _root._ymouse;
}

} else {

if (!isAttached) {
Mouse.show();
cursor.removeMovieClip();
isAttached = true;
}
}
};

Please help !!!