Frames

I have this code

stop();
rndFrame = [1, 35, 66, 97,129,161,193,225,257,289];
frameNumber = rndFrame[Math.floor(Math.random()*rndFrame.length)];
gotoAndPlay(frameNumber);

I just want want to random the specific Frame once.

Can anyone help me ?