Re: [flexcoders] How would i layout different objects in grid form

2008-06-13 Thread Tom Chiverton
On Friday 13 Jun 2008, anuj sharma wrote: And if we can the grid has to be dynamic depending upon the number of videos in the container. For example for 1 1x1 , for 2-4 it has to be 2x2, Adjust the relevant properties as needed when the user adds a video. -- Tom Chiverton

Re: [flexcoders] How would i layout different objects in grid form

2008-06-12 Thread anuj sharma
Hi Tom Thanks for reply. I am kind of new to FLEX world. Can we put already existed videos in Grid And if we can the grid has to be dynamic depending upon the number of videos in the container. For example for 1 1x1 , for 2-4 it has to be 2x2, for 5-9 it has to be 3x3. Can you help in giving me

[flexcoders] How would i layout different objects in grid form

2008-06-11 Thread anuj181
Hi I have few objects containing of type image in my HBOX container. I am letting user drag and drop those objects within the HBOX. I want to provide user the option to arrange those objects in grid layout form. There is radio button on the main application saying 'Grid' and if user selects that

Re: [flexcoders] How would i layout different objects in grid form

2008-06-11 Thread Tom Chiverton
On Wednesday 11 Jun 2008, anuj181 wrote: user selects that button then depending on the number of objects, the grid layout will be generated in HBOX (to arrange those objects). For Sounds like you could put your current HBox along with a Grid into a ViewStack, binding them both to the same

RE: [flexcoders] How would i layout different objects in grid form

2008-06-11 Thread Alex Harui
You might be able to use constraintColumns/Rows. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of anuj181 Sent: Wednesday, June 11, 2008 12:27 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] How would i layout different objects