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