Quick rotation question

I am familiar with using _rotation on the clip I want to rotate continuously.


_root.myClip._rotation += speed;

speed = 3;


However when I create a button and I want to rotate some object when I press it, it only does it by degree times speed and so I have to keep pressing the button to rotate the object all the way around.

My question then is how do I change the following so that the clip ‘rect’ rotates by itself until I press another button to stop it?



on(release){
    _root.rect._rotation += speed;
    speed = 3;
    
        
        
    
}