[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] = container.createChild(Button, "", {label: "Test"});

(Strictly speaking, you make arrays of _references_ to objects, not arrays of objects themselves.)

Manish




Reply via email to