Hi,

I did skin like this. but the display is incorrect. why?

Thanks

Mark

PS:

<s:View xmlns:fx="http://ns.adobe.com/mxml/2009"; 
                xmlns:s="library://ns.adobe.com/flex/spark" title="HomeView" 
actionBarVisible="false">
        <fx:Declarations>
                <!-- Place non-visual elements (e.g., services, value objects) 
here -->
        </fx:Declarations>
        <fx:Style>
                @namespace s "library://ns.adobe.com/flex/spark";
                
                .smallBtn
                {   
                        fontFamily:     Arial;
                        fontSize:       10;
                        fontWeight: bold;
                        disabledSkin: Embed(source="btn_skin.swf", 
symbol="Button_disabledSkin");
                        downSkin: Embed(source="btn_skin.swf", 
symbol="Button_downSkin");
                        overSkin: Embed(source="btn_skin.swf", 
symbol="Button_overSkin");
                        upSkin: Embed(source="btn_skin.swf", 
symbol="Button_upSkin");
                        color: #1C4E03;    
                }
                
                
        </fx:Style>
        <s:Button label="Test me" styleName="smallBtn" />
</s:View>


Reply via email to