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
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
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?
[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
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?
5 matches
Mail list logo