Hi folks, wondering if someone has a function that returns a random position
from an array.
Thanks from a newbie,
something like myArray[randomNumber] whatever
- Original Message
From: Sean Scott [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
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
you can just increment the randomly chosen index
until you find something. Or randomly pick again (although with *really*
sparse arrays, this could theoretically be a perf problem).
--
Maciek Sakrejda
Truviso, Inc.
http://www.truviso.com
-Original Message-
From: Sean Scott [EMAIL
;
vbRenderer.determineHowLong(timelineObjs[i].createdAt, dateNowMS);
holder.addChild(vbRenderer)
}
trace(ObjectUtil.toString(timelineObjs));
trace(displayTimeline 2);
}
--
Sean Scott
cell: 612.867.8133
portfolio: http://www.flickr.com/photos/92876...@n00/sets/72157613990263453/
profile: http://www.linkedin.com
4 matches
Mail list logo