Cursor keeps disappearing?

Hi

I’m customising a tutorial from “Flash 3d” book. Basically its a horizontal/panorama scroller but I don’t want to have a custom cursor like they suggest so I have deleted all the bits of actionscript relevant to the cursor.

But for some reason when I test the movie the cursor keeps disappearing at randomly on and off when scrolling.

Please, can anyone see anything in the code that could make the cursor disappear ? I’ve checked there isn’t any more actionscript in the hidden elsewhere in the file.

Thanks
David

// initialize variables
var moveAmount:Number = 15; // how fast the pano will move
var centerX:Number = Stage.width/2; // horiz. center of Stage
var xmax:Number = pano_mc._width/2; // max position of pano
var xmin:Number = Stage.width - xmax; // min position of pano

// define the panorama actions
pano_mc.onRollOver = function() {Mouse.hide(); }
pano_mc.onRollOut = function() {Mouse.show(); }

pano_mc.onEnterFrame = function()
{
checkTheMouse();
}

checkTheMouse = function()
{
if (_xmouse < centerX-70) { panLeft() }
else if (_xmouse > centerX+70 ) { panRight() }
else dontPan();
}

panLeft = function()
{
pano_mc._x += moveAmount;
if (pano_mc._x > xmax) { pano_mc._x -= pano_mc._width/2 }
}

panRight = function()
{
pano_mc._x -= moveAmount;
if (pano_mc._x < xmin) { pano_mc._x += pano_mc._width/2 }
}

dontPan = function()
{
}