You do not need to do any thing extra for that. Just create the object
as u normally do and then you can assign different values to different
properties at runtime.

private function onCLick():void{
var obj:Object = new Object()
obj.name = firstNameTI.text;
obj.age = ageTI.text;
}

Its as simple as that.

-Ravi

On Apr 2, 8:53 am, Akhil Agrawal <[email protected]> wrote:
> Hi,
> i am new to flex. I want to create an object with multiple fields say
> name age group etc. and provide value at run time how can i create it
> and push in an array.
> thanks
>
> Rgds
> Akhil Agrawal
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to