Hi friends,

I'm seeing the following behavior: if a component's backgroundColor is
not set, its borderSkin is completely ignored--even if the borderSkin
does not care about the backgroundColor.

This seems wrong to me. Does anyone have information about whether this
is the correct behavior?

Example:

    1. Take the "Programmatic skinning" sample code from
http://www.adobe.com/devnet/flex/quickstart/skinning_components/
<http://www.adobe.com/devnet/flex/quickstart/skinning_components/>
    2. Remove   backgroundColor="0xCCCC99"  from the sample and see that
it doesn't work.
    3. If you think that's because the skin is now drawing with an
invisible color, go into the skin and change this line:
    var backgroundColor:int = getStyle("backgroundColor");
to
    var backgroundColor:int = 0xff0000;
  (hard-code the color as red). You'll see that it still doesn't draw.

Am I crazy or is this the right behavior?

- Brian Morearty
   Intuit

Reply via email to