RE: [Flashcoders] Converting a comma delimitted list to an array fromMySql

2006-10-20 Thread Steven Sacks | BLITZ
It used to be bad but as of Flash MX 2004, it was improved a bit. Most of the Array methods are slow, though, when compared to other languages. For instance, it's faster to use myArray[x] = val than myArray.push(val). Shift and Unshift are extremely slow. If you need speed for an array that

Re: [Flashcoders] Converting a comma delimitted list to an array fromMySql

2006-10-19 Thread Victor Gaudioso
No, not that slow; about as long as a .ASPX page can make a server call. - Original Message - From: Carl Welch [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Thursday, October 19, 2006 8:53 PM Subject: Re: [Flashcoders] Converting a comma

Re: [Flashcoders] Converting a comma delimitted list to an array fromMySql

2006-10-19 Thread Victor Gaudioso
] Converting a comma delimitted list to an array fromMySql var my_str:String = P,A,T,S,Y; var my_array:Array = my_str.split(,); for (var i = 0; imy_array.length; i++) { trace(my_array[i]); } // output: P A T S Y easily found in the documentation. On 10/19/06, Carl Welch [EMAIL PROTECTED] wrote: Oi