Hit Test Issue

Hey everyone!

I’m having an issue with using a hitTest to make a thumb menu from an image gallery I’m working with move up and down. Basically I need to use a hitTest because there is a conflict with the other rollover functions in the menu itself that prevents me from using a simple onRollOver function. All I want to do is hide the menu until the mouse rolls over it then I want it to pop up then on roll out hide itself again. The gallery is part of a larger site that loads the gallery into the index page and has a full screen function so it needs to stay at the absolute bottom of the page just above the footer at all times.

Here is the code I’m working with but think I’m over complicating it. (Any suggestions?)

//
// THUMB MENU
//
destY = menu_mcY + 130;
originY = menu_mcY;

var tweenMenu = new mx.transitions.Tween(menu_mc, “_y”, mx.transitions.easing.Strong.easeOut, destY, originY, 15, false);
openThumbMenu = function ()
{
trace(“openThumbMenu”);
tweenMenu.continueTo(originY);
}
;

onMouseMove = function ()
{
if (menu_mc.hitTest(this._xmouse + 1, this._ymouse, true))
{
activated = true;
if (this._y != originY)
{
tweenMenu.continueTo(originY);
}
return;
}
if (this._y != destY && activated)
{
tweenMenu.continueTo(destY);
}
}
;