[AS3] cooldown on attacks with Timer

Hello there.
Im trying for 2 days to give a cooldown on my knife attack with Timer countdown but i cant do it. Here is my last attempt at it:

(cutting to the relevant code parts or what i think its relevant :P)



var knifeCapTime:int=10000;
var knifeCurrentTime:int=0
var knifeTime:Timer=new Timer(knifeCurrentTime);
var knifeStatus:Boolean=true;


    if(knifeCurrentTime>=knifeCapTime)
    {
        knifeStatus=true;
        knifeTime.stop();
    }
    if(knifeCurrentTime<=knifeCapTime)
    {
        knifeStatus=false;
    }
    if(xKeyIsDown && knifeStatus==true)
    {
        knifeTime.reset();
        circle.gotoAndStop(5);
        if(knifeCurrentTime<knifeCapTime)
        {
            knifeTime.start();
        }
    }



X key is the key with the attack i want on cooldown.
10000 in timer is 10 seconds if i understood right.

So this is like 5th attempt with Timer, at the moment with this code the hero wont use the knife attack at all.

Any help is really appreciated.
Thanks in advance.