Delaying execution of multiple functions

Hi,

I have 3 functions that I need to execute delayed by x seconds.

For instance on my first frame I have:

//Panel1Frame1
function panel1End() {
panel1.gotoAndPlay("out");
}

//Panel2Frame1
function panel2End() {
panel2.gotoAndPlay("out2");
}

//Panel3Frame1
function panel3End() {
panel3.gotoAndPlay("out3");
}

setTimeout(panel1End,1000); 
setTimeout(panel2End,3000);  
setTimeout(panel3End,6000);  


However, this doesn’t seem to be working. ;-(
Only the first function seems to be executing, that’s it.

Not sure if there is a better way to do this?

Thanks for your help,
Dada