setInterval

Hi

Trying something basic - just want to print out Hello five times with a delay using a for loop. Tried the code below but doesn’t work. What’s up?

function printout(){
trace(“Hello”);}

for(var i=0;i<5;i++){

id=setInterval(printout,30);
//clearInterval(id);
}