Mouse Problem

Hey I’m trying to get a mouse function working, but it doesn’t seem to work… It’s a bit messy coding, but it’s a straight foward goal. I’m trying to make it so that the animation responds to a “onMouseDown” function. However, I want it so that while the mouse is down the animation will run. Yet, if the mouse is down only until it reaches say 3 it stops and goes back to frame 1 of the animation w/o reaching 4. So basically it continues the animation until the user releases the mouse btn.

I have this code…

clickme.onMouseDown = function(){
        clickme.gotoAndPlay("click");
        trace("clicked");
    }

Here’s a preview of what I reached so far.
http://img291.imageshack.us/my.php?image=helpmepw9.swf