What determines which index of the array is to be used? Is it random? Here's an example, not sure if it's going to help.
PHP Code:var dtArray:Array = new Array("one", "two", "three");
var randNum:int = Math.random() * dtArray.length;
dt.text = dtArray[randNum];




Reply With Quote
