Setinterval for a loop function

_root.leftButton.onRelease = function() { 
        for(var i=0; i<6; i++){
		animateThumbsToLeft(variable_1, variable2);
	}	
};

ok how and where do i put the setInterval script if i want to execute the “animateThumbsToLeft” function for 6 times and inbetween each time have a delay of say half a second…

i tried alot of ways and i still can’t get it to work…

thanks