Re: [flexcoders] How would i layout different objects in grid form
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 This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by The Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.halliwells.com. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] How would i layout different objects in grid form
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 information about how would i achieve this. Thanks a lot Anuj On Wed, Jun 11, 2008 at 6:34 AM, Tom Chiverton [EMAIL PROTECTED] wrote: 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 data provider. Then change viewStack.selectedIndex from the click event of your radio button. -- Tom Chiverton This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by The Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.halliwells.com. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links
[flexcoders] How would i layout different objects in grid form
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 button then depending on the number of objects, the grid layout will be generated in HBOX (to arrange those objects). For example if there are 2-4 objects then they will be generated in form of 2x2 matrix, if 5-9 objects then they will be generated in 3x3 matrix and if 10-16 objects then they will be arranged in 4x4 matrix. For the time being I am just considering 16 objects in the HBOX. The size of the objects can be shrunk depending on the layout generated. Definitely if user selects grid option he cannot drag and drop any more. Does anyone know which is the best approach to achieve this? And is there any inbuilt Flex 3 component that will take care of this. Any help will be highly appreciated. Thanks a lot. Anuj
Re: [flexcoders] How would i layout different objects in grid form
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 data provider. Then change viewStack.selectedIndex from the click event of your radio button. -- Tom Chiverton This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by The Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.halliwells.com. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] How would i layout different objects in grid form
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 in grid form 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 button then depending on the number of objects, the grid layout will be generated in HBOX (to arrange those objects). For example if there are 2-4 objects then they will be generated in form of 2x2 matrix, if 5-9 objects then they will be generated in 3x3 matrix and if 10-16 objects then they will be arranged in 4x4 matrix. For the time being I am just considering 16 objects in the HBOX. The size of the objects can be shrunk depending on the layout generated. Definitely if user selects grid option he cannot drag and drop any more. Does anyone know which is the best approach to achieve this? And is there any inbuilt Flex 3 component that will take care of this. Any help will be highly appreciated. Thanks a lot. Anuj