Hello
I have an array that I want to shuffle but at different percentages. Like "Hello" would show up 80% in the Output window. "Bye" would show the other 20% of the time.
How do I do this?
Code:var myArray:Array = new Array("Hello", "Bye"); function randomIt() { randomizeArray = random(myArray.length); trace(myArray[randomizeArray]); } setInterval(randomIt,1000);