I want set graphical skin for Flex2.0 components (ComboBox for Ex.). The way I
do it:


But upSkin don't work properly when width attribut is changed, upSkin overpals
textField in downArrowButton (ComboBox selected label). It's seems changes in
height parameter unlike width working good.

Other skins look like work good.

Please, could you check this mysterious behaviour ?

yours sincerely, Philip

Code source:

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"
xmlns:ui='classes.ui.*'>

<mx:Style>
ComboBox {
upSkin: Embed("CBSkins/up.png");
overSkin: Embed("CBSkins/over.png");
downSkin: Embed("CBSkins/down.png");
disabledSkin: Embed("CBSkins/disabled.png");
upIcon: Embed("CBSkins/up.png");
}
</mx:Style>

<mx:Script>
<![CDATA[
[Bindable]
public var cbData: Array = [ {label:"F", data:1},
{label:"S", data:2}, {label:"B", data:3} ];
]]>
</mx:Script>
<mx:ComboBox width="100" dataProvider="{cbData}"/>
</mx:Application>