Set Interval / Clear Interval question

Ok, here is my problem. I have a bit of actionscript the makes a sentence of text slide out. I just want this text to hang around for about 3 seconds and then slide back out. A delay within the AS to pause the AS before it continues through. I posted this question in here before and I got back some responses on set interval and clear interval. Now I did find a great link to this which I’m sure will help a lot of people out
http://www.umbc.edu/interactive/flash/tutorials/showpage.php?p=setInterval

but I just didn’t understand how I could use that with what I’m trying to accomplish. Here is the start of my code.

onClipEvent (load) {
myX = 650;
myY= 480;
div = 6;
}
onClipEvent (enterFrame) {
_x += (myX-_x)/div;
_y += (myY-_y)/div;
}
onClipEvent (enterFrame) {
if (this._alpha <100) {
this._alpha += 5;
}
}

I also have the text fade in.
I’m just not sure how to put a delay on this AS before it runs to the end.
Just plain confused.
Any help would be great.


onClipEvent (load) {
myX = 650;
myY= 480;
div = 6;
}

function doneDelay(){
onClipEvent (enterFrame) {
_x += (myX-_x)/div;
_y += (myY-_y)/div;
if (this._alpha <100) {
this._alpha += 5;

}
}
        clearInterval(delay);

}
delay = setInterval(doneDelay, 600); //milliseconds

that should work