Stop a MC from looping or playing

how to stop a movie clip from playing or looping?

i have main movie clip, i use looping to insert ‘pass’ movie clip into it, in ‘pass’ movie clip, there is a script to make ‘pass’ movie clip to move around, here is the logic

setinterval(move,1)

function move()
{



setinterval(rest,2000)
function rest()
{
 ..............................
 ..............................
 ..............................
 if (pass._y == yyy)
{
 //stop this pass movie clip from looping or moving or interval
}
}

}

any idea, thanks