Furious Clicking causes problems :(

Howdy,

I have created this menubar in flash (http://www.whatadewitt.com/coolriot/menubar.html) and anyways, it’s working how I want it to unless I click the “over” buttons too fast, when I do that, well… it messes up (‘specific areas’ don’t match up with their ‘general container’), go to that site and check it out…

This is an example of the code I am using:



    // right slider button functionality

    mcRightButton.onRelease = function()
    {        

        moveLeft();
        
        for (var i:Number = 0; i < arCount.length; i++)
        {
            if (nCurClip == arCount*) 
            {
                shouldMoveGen = true;
            }
        }
        
        if (shouldMoveGen)
        {
            shouldMoveGen = false;
            moveUp();
        }
        
        this.getURL(arNav[nCurClip].smackletTeaseLink, "contentframe");
        
    }

    function moveLeft():Void
    {
        if (nCurClip == nClips - 1)
        {
            nCurClip = 0;
            if (specHolderA._x < specHolderC._x)
            {
                specHolderA._x = specHolderC._x + specHolderC._width + spacingX;
            }
            else if (specHolderB._x < specHolderA._x)
            {
                specHolderB._x = specHolderA._x + specHolderA._width + spacingX;
            }
            else if (specHolderC._x < specHolderB._x)
            {
                specHolderC._x = specHolderB._x + specHolderB._width + spacingX;
            }
        }
        else
        {
            nCurClip++;
        }
        
        if(!isInProgressLeft)
        {
            slideMenu = new Tween(menuHolder, "_x", Strong.easeOut, menuHolder._x, menuHolder._x - mcCurrent._width - spacingX, 20);
            isInProgressLeft = true;
            slideMenu.onMotionFinished = function()
            {
                isInProgressLeft = false;
            }
        }
    } // moveLeft


Any ideas how I can fix this?

Thanks,

–D