More Layout Organizers Developed
5.02.08 @ 11:24 amI 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.
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.actionscript, as3, demo, flash player, lattice, layout organizers, open source organizers

February 5th, 2008 at 3:18 pm
$0.00 in Comment Love for October
Champion!
awesome work..
Do you have an SVN repo ?
Are you taking on contributors to this project ?
February 5th, 2008 at 4:41 pm
Hey 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.
February 5th, 2008 at 5:05 pm
$0.00 in Comment Love for October
Too 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/
February 5th, 2008 at 5:21 pm
Oh, 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!
February 6th, 2008 at 7:41 am
$0.00 in Comment Love for October
How 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.
February 6th, 2008 at 7:44 am
$0.00 in Comment Love for October
err “relevance”, not “revelance” :^)
February 6th, 2008 at 10:46 am
$0.00 in Comment Love for October
Loooking 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?
February 6th, 2008 at 11:41 am
Evan - 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!
February 25th, 2008 at 9:45 pm
$0.00 in Comment Love for October
Thanks 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.