I am putting more work into my Layout Organizers project for various reasons. First, this code has already been quite helpful on a couple projects. Second, it is going to be worked in to a really cool open source Flex library. There are still a ton of features that need to be added and issues that need to be resolved, but progress is definitely being made. I spent time working on more primitive layout organizers that will be more helpful on everyday projects. The four new organizers are not anything fancy, but they will most likely be the most used out of all the ones I write.
Update: This code base has now been released under the name coordy. Read more.
I am also starting to wrap more base functionality into the layout organizers such as the swap positions – there are still a few bugs that need to be worked out with this feature, but it’s moving along. If you have any ideas or thoughts on how to improve this project, by all means, let me know.



The Discussion
12 Comments on “More Layout Organizers Developed”Bjorn
5.02.2008 3:18 pmChampion!
awesome work..
Do you have an SVN repo ?
Are you taking on contributors to this project ?
somerandomdude
5.02.2008 4:41 pmHey Bjorn, why yes, I am setting up this project on Google Code (page will be up this week) and I would love to take on contributors. Let’s chat about this.
JB
5.02.2008 5:05 pmToo bad this will be another separate initiative for graphical layouts; would be nice as a contribution to a lib such as http://code.google.com/p/flexvizgraphlib/
somerandomdude
5.02.2008 5:21 pmOh, I think it’s great that other people are attempting to do the same thing. I have no illusions that my method will the best or solve all the problems. I think the more people that throw their hat into the ring, the better. Thanks for the link!
Evan Gifford
6.02.2008 7:41 amHow about a layout which organizes items based on a numerical property on a data object in the renderer?
If you combine this layout organizer with a comparator, the comparator could calculate a “revelance” value for each renderer and the layout organizer could layout accordingly anytime a “REVELANCE_CHANGE” is dispatched.
The other missing piece (or is it there already?) would be the ability to flow items in the layout so that they could change size and be layed out again at any time. Again the layout organizer would respond to a RESIZE event.
Those two combined could make for some great product comparison layouts.
Evan Gifford
6.02.2008 7:44 amerr “relevance”, not “revelance” :^)
Ben
6.02.2008 10:46 amLoooking great PJ. Kudos for the work and making it open source for others to watch, learn and improve.
Does this one support the dynamic adding?
somerandomdude
6.02.2008 11:41 amEvan – Thanks for the thoughts.
I am leaning towards towards not getting that ‘Flexy’ as the only clean way I could think of executing something like that is to have objects dispatch events when their display properties change. By doing that, it would force all DisplayObjects to inherit from some base class that would do that. I like the fact that I can throw any DisplayObject at this and it will just work.
That being said, that could be a whole new project to take later on down the road.
Ben – It certainly does. :) The grid organizer is still rigid, but but lattice organizers will adjust appropriately and grow/shrink when needed. Hope this helps!
mg
25.02.2008 9:45 pmThanks for the layout demos and code PJ. It’s a really fun project. One question on this update… the zip file appears to be missing some key files.
Flex builder points to the adjustLayout methods in the organizer .as files as problematic. The error I’m getting in each one is “Method marked override must override another method”. The older examples all seem to be working fine. I’m assuming it’s because I’m missing something crucial that I’m seeing these errors.
Do you have a working zip or better yet a flex project you could repost? Thanks in advance.
Vic
20.01.2009 9:35 pmIt seems that no source?
mason
29.05.2009 10:48 amon the elliptical layout manager, seems like there’s issues with the rotation. it doesn’t seem to be compesating for the cartesian angles in flash. the lower left quadrant flips when adjusting… any thoughts on how to fix this? i’ve been working with it, but nothing’s come of it so far. any help would be appreciated
RW
4.08.2009 1:43 amI think it would be wiser that you share your most updated source to us even if it has bug as it would make your development process faster and outline what needs to be done. Just do it as other developers do it. Make tweenlite as one of your reference of how they grow real quick because the developer share the latest version. Like your swap and lattice are not included in current version. Just a suggestion. Cheers.