flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Harui <aha...@adobe.com>
Subject Re: [FlexJS] Flash Only Beads
Date Wed, 07 Dec 2016 16:05:05 GMT

On 12/7/16, 7:34 AM, "Peter Ent" <pent@adobe.com> wrote:

>I believe the original intent was that beads like SolidBackgroundBead and
>SingleLineBorderBead weren't going to be "exposed" for use by developers.
>Rather, they support CSS background-color and border styles for the SWF
>side. For example, if you have a Container and give it those styles,
>FlexJS automatically adds in the SolidBackgroundBead and
>SingleLineBorderBead to the SWF version since the Flash player does not
>know how to supply a background or border to display objects; JS/HTML can
>do that so they aren't present.
>I may be wrong about this, but that's how I remember it.

That's correct.  We need to mark certain beads as only for certain
platforms and/or only for framework developers.  IMO, adding empty beads
would only make the code look like it had excess fat.  It wouldn't be very
PAYG.  Eventually, it would all add up to something.  I don't know about
you, but when I pack for a trip, I do not take the same quantity and list
of things as my wife.  The platforms are different, at some point the code
has to be different, and we want to encapsulate and re-use the code that
is different.

The question for Yishay is, what did you use SingleLineBorderBead for in
your app?  Was it just to draw a rectangle or something else?  It may just
mean we need another component.


View raw message