PDA

View Full Version : Random Frame



zuriki
December 14th, 2006, 01:57 PM
I need a code that makes flash "gotoAndStop" on a random frame between (1-10) Don't exclude frame one.

Btw its not in a code for a button or movieclip.

rhamej
December 14th, 2006, 02:23 PM
gotoAndStop(Math.floor(Math.random()*9+1));