Problem with setTimeOut() in AS3

Hello all.

In a previous Flash8 app I used the following code to control frame by frame time transitions

function A2SecTimer() {
setTimeout(this, “gotoAndStop”, 2000, this._currentframe + 1);
}

A2SecTimer();

Now that I’ve upgraded to AS3 this code no longer works.

Any ideas on how I can make this code work for AS3?

Cheers,

~Atris