flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Harui <aha...@adobe.com.INVALID>
Subject Re: FlexJS Applying a bead by default
Date Mon, 07 Aug 2017 20:55:40 GMT
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.lists@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

Mime
View raw message