Re: [flexcoders] Question about arrays

2005-02-14 Thread Manish Jethani
Dirk Eismann wrote: Also note that Arrays in Flex are not typed (there's no concept of String[] or Number[]) so you can store any kind of data into an Array and mix it, too: var arr:Array = new Array(); arr.push(123); arr.push("foo"); arr.push(new Date()); They should be compared with Java's Array

RE: [flexcoders] Question about arrays

2005-02-14 Thread Dirk Eismann
From: Manish Jethani [mailto:[EMAIL PROTECTED] > Sent: Monday, February 14, 2005 7:20 AM > To: flexcoders@yahoogroups.com > Subject: Re: [flexcoders] Question about arrays > > > > [EMAIL PROTECTED] wrote: > > Is making arrays with Flex similar to making arrays with &g

Re: [flexcoders] Question about arrays

2005-02-14 Thread JesterXL
lexcoders@yahoogroups.com Sent: Monday, February 14, 2005 5:51 AM Subject: [flexcoders] Question about arrays Is making arrays with Flex similar to making arrays with Visual basic meaning is it possible to make an array of objects like say an array of buttons or labels?

Re: [flexcoders] Question about arrays

2005-02-14 Thread Manish Jethani
[EMAIL PROTECTED] wrote: Is making arrays with Flex similar to making arrays with Visual basic meaning is it possible to make an array of objects like say an array of buttons or labels? Yes. var buttons:Array = new Array(10); // 10 buttons for (var i:Number = 0; i < buttons.length; i++) buttons[i

Question about arrays

2005-02-13 Thread nostra72
Is making arrays with Flex similar to making arrays with Visual basic meaning is it possible to make an array of objects like say an array of buttons or labels?