# Furious Clicking causes problems :(

**URL:** https://forum.kirupa.com/t/furious-clicking-causes-problems/193634
**Category:** flash
**Created:** [July 14, 2006, 5:18pm UTC](https://forum.kirupa.com/t/furious-clicking-causes-problems/193634 "2006-07-14T17:18:04Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![dewey](https://avatars.discourse-cdn.com/v4/letter/d/919ad9/32.png) [@dewey](https://forum.kirupa.com/u/dewey)
#### Post date: [July 14, 2006, 5:18pm UTC](https://forum.kirupa.com/t/furious-clicking-causes-problems/193634/1 "2006-07-14T17:18:04Z")

</div>

Howdy,

I have created this menubar in flash ([http://www.whatadewitt.com/coolriot/menubar.html](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:

```auto

    // 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
