something like this should work var randomNumber:int = Math.Random * myArray.length; then do something like myArray[randomNumber] whatever
----- Original Message ---- From: Sean Scott <[EMAIL PROTECTED]> To: [email protected] Sent: Saturday, March 1, 2008 9:39:39 PM Subject: [flexcoders] Newbie Question - Random position in an array Hi folks, wondering if someone has a function that returns a random position from an array. Thanks from a newbie, ____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ

