I think you're going to need to override the box. I'd look at "Overriding the layout mechanics of the VBox container" in the "Creating Advanced Visual Components in Actionscript" doc (pg 161). It might be similar enough to help.
- Dan On 12/12/06, jroblang <[EMAIL PROTECTED]> wrote:
Thanks for the suggestions. The problem with setChildIndex() is that the HDividedBox is always drawn left-to-right with the lowest level child always on the left. So as soon as you change the Index, the box is redrawn and your items are in reverse order. Not good. I've looked into extending the BoxLayout class, but the class is "private" and so not easily done. Just seems like there should be a simple fix for this. --- In [email protected] <flexcoders%40yahoogroups.com>, "Daniel Freiman" <[EMAIL PROTECTED]> wrote: > > Using setChildIndex() works for me. > > - Dan Freiman > > On 12/11/06, Lachlan Cotter <[EMAIL PROTECTED]> wrote: > > > > Perhaps there is another way to clip or mask the content without relying > > on layering it with other components. > > > > Cheers, > > Lach > > > > > > On 10/12/2006, at 5:42 PM, jroblang wrote: > > > > Is there any way to permanently change the child order in an HDividedBox > > so that the child > > on the right side of the DividedBox is "behind" the child in the left > > side. I've used the > > swapChildAt method which works fine until you move the Divider. Upon > > release of the > > divider, the child order changes and the left side flips over to the right > > side. > > > > The content in the right side of the Divided Box can sometimes overflow > > and I need it to be > > behind the left side content. > > > > Thanks for any suggestions. > > > > > > > > >

