Hi,
for ur problem u can use new keyword to generate components dynamically.
for Ex:var Btn:Button = new Button();
First create a function and make a for loop that takes user input ie.,number
of components to create. and in that loop generate dynamic components
If u keep these components in vbox or hbox they can arrange automatically.

On Tue, Mar 3, 2009 at 8:03 PM, cool saurabh
<[email protected]>wrote:

> hi all,
>
> Can anyone help me know how i can generate dynamic components eg: based on
> users input if user chooses 1 then 1 datagrid will be displayed & total
> width of datagrid is same as that of page. Now if user selects 3 then 3
> datgrids have to be displayed ;the given page width is divided into 3 parts
> then. Can anyone let me know how i can go for it(note: i am in need of
> seperate components eg 3 datagrids seperately & not datagrid with 3
> columns).
> Please help me to fix the problem i am unable to fix it out.
>
> Regards
> Saurabh
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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