Home  >  

Flex floating panel manager

Author photo
March 27, 2009 | | Comments (3)
AddThis Social Bookmark Button

FlexMDI is an excellent floating panel implementation.

flexmdi.pngIf you have tried other floating panel implementations then you know they leave much to be desired. DragPanel is awkward to work with, and does not provide much functionality. SuperPanel is very slow and buggy. SuperPanelPlus is faster than SuperPanel, but does not address the bugs.  All of these are difficult to extend since they are monolithic.

FlexMDI is part of FlexLib, but you would only know that from a diligent hunt for a good floating window manager. FlexMDI is not listed in the FlexLib component list, although the FlexMDI documentation is included in the FlexLib ASDoc.  The older FlexMDI documentation on the FlexMDI Google code project page uses different package names, so beware.  I have logged a bug report.  Both FlexLib and FlexMDI are open source projects.  Work on the standalone FlexMDI project has been discontinued.  FlexLib has not had a release is at a year, and it is due for a refresh.

The primary sample application is available from the original FlexMDI project site.  Unfortunately, it requires some fussing to make it compile because it has a bad reference to the library swc.  I replaced the project reference to flexlib.swc, and modified the imports from flexmdi.* to flexlib.mdi* and flexlib.mdi.containers.*.  Be sure to reference the FlexLib asdoc if you attempt this.

If you have need to write ActionScript that manipulates floating windows, you should read Ben Clinkinbeard's blog to get started.  Here is a more advanced sample application that I wrote, which features nested floating windows and an example of how to locate arbitrary components in the title bar.  Source code is here.

Late breaking news: I just discovered what appears to be another resizable Panel component, also called SuperPanel (let's call this one "SuperPanel III").  It seems to be better than the other SuperPanel and its derivatives.  Right-click on the demo to view source.  I'm going to stick with FlexMDI because it was implemented in such a flexible manner, and is part of Flexlib, which I use in many of my Flex projects.

_______________________________

Mike Slinn
Independent full-service software contractor and author
http://slinnbooks.com
http://mslinn.com

Read more from Mike Slinn. Mike Slinn's Atom feed mslinn on Twitter

Comments

3 Comments

Oz DiGennaroן said:

Very nice components here. Integration of FlexMDI was a bit tricky for me, and some of the sample content is out of date. It sure does the things that I need to get done!

SuperPanel looks good too.

handoyo said:

Hi,thanks for the tutorial.Is it possible to call mdiwindow that i've created as mxml component by using button?Thanks..

Ali Mostafa said:

i need to do menu like the right menu in this wesite

http://maps.auckland.govt.nz/AucklandRegionViewer/#


how can i do that ???

please i need urgent help


Thanks

Leave a comment


Tag Cloud

iPad

What's your take on the iPad? (Putting aside the Flash/iPad flame war)

Answer

Latest Features

Recommended for You

@InsideRIA on Twitter

Archives

  • Or, visit our complete archive.  

About This Site

Welcome to the premiere community site for all things RIA sponsored by O'Reilly Media and Adobe Systems Incorporated.