RE: [flexcoders] How to dynamically create the ArrayCollection attribute names at run time?

2007-11-20 Thread Alex Harui
ECTED] On Behalf Of Girish Sent: Tuesday, November 20, 2007 8:48 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; flexcoders@yahoogroups.com Subject: [flexcoders] How to dynamically create the ArrayCollection attribute names at run time? Hi, I am also facing same problem, but in my cause i

[flexcoders] How to dynamically create the ArrayCollection attribute names at run time?

2007-11-20 Thread Girish
Hi, I am also facing same problem, but in my cause i want to define ArrayCollection attribute names at run time. var myArr:ArrayCollection = new ArrayCollection(); myArr.addItem({ data: "hello", label: "hai" }); i wantto assign the 'data' and 'label' attribute name at runtime. how can i achiev