I guess you were using AS2? There is no native RegEx in AS2, though, so I don't
see how you were going to use AS3 in AS2. In AS3, you should NEVER use anything
other than ints to iterate integer values. Don't use uint, and don't use Number.
That code I provided is code I wrote and tested in Flash, not in the email. That
being said, it should have been:
int(Math.random() * 62)
not
Math.round(Math.random() * 62)
Since array[array.length] will return undefined.
On 6/17/2010 12:45 PM, Karl DeSaulniers wrote:
Thanks Juan, Thanks Jim.
@Steve
I noticed with your example I get "undefined" as one of the results.
Also, I had to change the var i:int; to var i:number = 0;
I got an error with int saying it could not load the class or interface
for int.
What am I missing here?
TIA
Karl
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders