I actually just tried that, and it all blew up. I'll probably figure out why soon...
It feels broken that I have to create my own Container just to get layout to happen when it becomes visible. > On Aug 7, 2017, at 11:55 PM, Alex Harui <aha...@adobe.com.INVALID> wrote: > > IMO, you should create a different Container (probably a cheap subclass of > Container) and apply the bead in the constructor or fetch it from CSS in > addedtoParent(). > > -Alex > > > On 8/7/17, 1:12 PM, "Harbs" <harbs.li...@gmail.com> wrote: > >> I would like to apply a bead (LayoutOnShow) to every Container in my app. >> I know I can subclass Container and add the bead using AS (or mxml), but >> I’d like to keep my mxml markup and just inject the bead. I think I want >> to use CSS to do that, but I cannot figure out how to specify a bead >> which is not one of the accepted interfaces in CSS. >> >> Is there something I’m missing? Ideas on how to accomplish this? >> >> Harbs >