Hello,

I'm trying to create a custom look for a Flex app and have run into a
problem.

I need to set custom images for both the panel's border and background
areas.  The problem I have is whenever I set the border image, the
background image is no longer rendered.

Take a look at this screen capture
<http://tommyb.com/flex/SkinPieces.jpg>  to see what I'm talking about.

The top left image shows the panel with the custom background image. 
The top right image shows the panel with both the backgroundImage and
borderSkin properties set.

As you can see, I now have the custom border but no longer see the
custom background.  Also, the original stock panel highlights are still
being rendered (note the thin white line above the top of my custom
panel).  I've tried setting highlightAlpha to 0.0 but it still shows up.

I've also included images of the PNG files being assigned as well as the
original Photoshop mock-up of how the panel should appear.  They appear
below the two Flex screen captures.

You can review the MXML source code
<http://tommyb.com/flex/stPanel.mxml>  here.

Any help would be greatly appreciated!

TommyB

Reply via email to