Hey there, it looks like this is your first time here. May I suggest subscribing to this blog and checking out these articles.

SOME RANDOM DUDE

More Layout Organizers Developed

5.02.08 @ 11:24 am

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.

You need to upgrade your Flash Player

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., , , , , ,

Liked This Post?

Well then, post the article to del.icio.us and subscribe to Some Random Dude's RSS Feed.

Show some comment love.

Total Donations for October:

$1.50

Want to help a good cause? Want to get this number higher? Learn how.

9 Responses to “More Layout Organizers Developed”

  1. Gravatar
    $0.00 in Comment Love for October

    Champion!

    awesome work..

    Do you have an SVN repo ?
    Are you taking on contributors to this project ?


  2. 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.


  3. Gravatar
    $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/


  4. 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!


  5. Gravatar
    $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.


  6. Gravatar
    $0.00 in Comment Love for October

    err “relevance”, not “revelance” :^)


  7. Gravatar
    $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?


  8. 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!


  9. Gravatar
    $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.


Leave a Reply

Additional Doodads

Subscribe to Some Random Dude

Related Entries:

Most Commented Pages