I'm listening :) but yeah, a bit busy.
I've actually been focusing on FlexLib a bit over the past few weeks, and
last night I committed a whole bunch of bugfixes (I'll be posting an
announcement about what was fixed soon).
Dave, I took a look at the WindowShade component. Overall it's a nice
component. This is basically what Peter Ent called his "Stack" component (
http://weblogs.macromedia.com/pent/archives/2007/04/the_stack_compo.cfm).
One question I have is did you think about adding in the other direction to
allow the buttons to be vertical instead of horizontal? FlexLib include a
vertical version of the accordion, and it would be nice if we had the same
ability for this type of component. The main thing though is that this
component seems like it should really be a container, like Accordion. Your
sample show that you wrap each child in a WindowShade component, as opposed
to having a single container that you place children in. I'd prefer to see a
component like this as a proper container (which also means it would support
differed instantiation of child components). I'm wondering if the "right"
way to do this is to extend the Accordion that we have in FlexLib already
and add the ability to have multiple items open at once (and also all items
closed). That might be more work, but the benefit is that you would have a
proper container component, and since the accordion in FlexLib does both
horizontal and vertical layout we would get those out of the box.
If anyone on this list wants to chime in, fell free. Am I over-analyzing it
and should I just say fuck it and drop in the component as is? I'd like to
see a component that is basically an Accordion with multiple open children,
I just think the right way to do that is to extend Accordion and make it
support that (heh, if anyone wants to do that be my guest).
Doug
On 1/3/08, Tianzhen Lin <tang...@usa.net> wrote:
> I guess all of them are sort of busy. BTW, have you got the msg
> regarding the error of the WindowShade component in Flex 3?
> *From:* flexlib@googlegroups.com [mailto:flexlib@googlegroups.com] *On
> Behalf Of *Dave Glasser
> *Sent:* Thursday, January 03, 2008 11:14 AM
> *To:* flexlib@googlegroups.com
> *Subject:* [flexlib] Re: Offered contribution: WindowShade control
> Hi, could I get a response on this from the project owners?
> *Dave Glasser <dglas...@pobox.com>* wrote:
> Attached is the source for a component I wrote which I've found to
> be pretty useful. A sample can be seen here:
> http://qform.sourceforge.net/WindowShade_Sample.swf
> I'd like to contribute it to the Flexlib project, if it is deemed worthy.
> This control displays a button, which when clicked, will cause a panel to
> "unroll" beneath
> it like a windowshade being pulled down; or if the panel is already
> displayed it will be "rolled up" like a windowshade being rolled up. When
> multiple WindowShades are stacked in a VBox, the result will be similar to
> an mx.containers.Accordian container, except that multiple WindowShades
> can be opened simultaneously whereas an Accordian acts like a tab navigator,
> with only one panel visible at a time.
> If you unzip the attached file in a clean working directory, everything
> should build; the library, the example app, the ASDoc, etc. It's all there,
> along with the proper license notices.
> If this becomes part of Flexlib, there are a few more enhancements I'll
> make to it, but for right now it serves my own purposes as it is.</DIV
> <BR