SuperPanel Component 1.3

I added a few updates to my SuperPanel component:

  • Better event dispatching
  • Added an optional sizing constraint ratio called ’sizeRatio’ to ensure that the panel stays at a certain width and height ratio when resizing.
  • Misc. bug-fixes and refactoring.

SuperPanelDemo

If you found this post useful, please consider a small donation.

12 Comments

  1. Robsonn Martins
    Posted February 16, 2009 at 9:43 am | Permalink

    Hi Brandon,

    SuperPanel really rocks, are you planning to add something like a Taskbar to control all opened SuperPanels? Like, when you minimize a Panel, instead of hide its content keeping title, it minimize to a bar, where you can click to restore the Panel.

    It would be very nice.

    Thanks for share it.

    Robs.

  2. David C
    Posted February 18, 2009 at 9:01 am | Permalink

    Hi Brandon

    Your component looks awesome! It’s just what I’d been looking for and I would love to incorporate it to my project… is there any way I can get a hold of the source code?

    Thanks,
    David

  3. Sean M
    Posted February 19, 2009 at 8:50 am | Permalink

    I was wondering the same thing as David C. I’ve been using the current SuperPanel but I really like yours can I get the source code?

  4. Posted March 17, 2009 at 11:28 pm | Permalink

    Hi

    Somebody knows how to trigger a minimized version of a panel? [onload/init]
    Cannot figure it out at the moment…
    Valentijn

  5. admin
    Posted March 18, 2009 at 6:32 am | Permalink

    In the creationComplete handler call the minimize() function on the panel like so: myPanel.minimize();

  6. Posted June 9, 2009 at 7:44 pm | Permalink

    Very very nice. Installed easily, built and ran. Not all packages do that!
    Thanks.

  7. Posted June 26, 2009 at 7:01 am | Permalink

    Thank you very much for the great component!

    found a minor bug. if the superpanel height value was not provided, it failed to render the resizeHitBox even if we set allowResize to true. resizeHitBox only shows up if we move the superpanel.

    my fix: modified this line (line 1799 in SuperPanel.as)
    if (this.height == titleBar.height || maximized)
    to
    if (this.height != 0 && (this.height == titleBar.height || maximized))

  8. Posted June 26, 2009 at 7:08 am | Permalink

    Thanks for the fix, Will!
    Patch applied in 1.3.4

  9. Nick
    Posted October 1, 2009 at 2:04 pm | Permalink

    Hey Brandon! Thanks for the excellent code… it saved me from having a big headache. Quick question (and a little background): I have a menubar that, when a sub-menu item is clicked, a superpanel is displayed (visible=”true”). Once the superpanel is closed using the “X” button, the superpanel can’t be restored through the sub-menu item.
    I’m still getting used to Flex so any ideas you have that would help me fix this are greatly appreciated!!!

  10. Andy Clark
    Posted October 9, 2009 at 8:49 am | Permalink

    Like this a lot in IE. However, when I run it in Firefox I completely lose the ability to mouse click

    http://www.premiersoccerstats.com/epl.html

  11. Andy Clark
    Posted October 14, 2009 at 8:30 am | Permalink

    Has anyone else come across this problem? viz losing ability to
    do mouse clicks when using FireFox
    It also applies in IE if the browser is not at maximum size

  12. Andy Clark
    Posted October 27, 2009 at 7:41 am | Permalink

    Also does not appear to work if using swfobject to embed the swf. Shame as its a great component

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*