Timed Pause on 3D Carousel

Hi all,

I have made this carousel based on the gotolearn.com tutorial and it looks awesome…however, instead of this being based on mouse movement I need to make it animate round and pause for a set time then play again and pause on next item. I have been trying to do something like : If item is 100% pause for xxx seconds but this was just not working so used set interval which works great for first pause but can not make it loop. I’m not great with AS…In fact i just seem to ruin other peoples great AS so any help or examples would really be appreciated,

var icons:Array = new Array();
icons.push(“item”, “item2”);

var numOfItems:Number = icons.length;
var radiusX:Number = 100;
var radiusY:Number = 50;
var centerX:Number = Stage.width/2;
var centerY:Number = Stage.height/2;
var speed:Number = 0.07;

for(var i=0; i<numOfItems;i++)
{
var t = this.attachMovie(icons*, “item”+i, i+1);
t.angle = i * ((Math.PI*2)/numOfItems);
t.onEnterFrame = mover;
}

function mover()
{
this._x = Math.cos(this.angle) * radiusX + centerX;
this._y = Math.sin(this.angle) * radiusY + centerY;
var s:Number = this._y / (centerY+radiusY);
this._xscale = this._yscale = s * 100;
this.angle += this._parent.speed;
this.swapDepths(Math.round(this._xscale) + 100);
}

//pause and restart function below
function wait2() {
function wait() {
speed = speed-0.01;
if(speed<=0){
clearInterval(myTimer);
}
clearInterval(myTimer2);
}
myTimer = setInterval(wait, 100);
}
myTimer2 = setInterval(wait2, 1800);
function wait4() {
function wait3() {
speed = speed+0.01;
if(speed==0.07){
clearInterval(myTimer3);
}
clearInterval(myTimer4);
}
myTimer3 = setInterval(wait3, 100);
}
myTimer4 = setInterval(wait4, 5000);
front_mc.onEnterFrame = function(){
this.getNextHighestDepth(10);
}

Edit: Actionscript 2 on Flash CS3
Ta!