嵌入.swf文件的皮肤

时间:2012-10-29 03:01:12

标签: flex

我已经下载了这样的CSS样式。

Panel
{

closeButtonDisabledSkin: Embed(source="AeonGraphical.swf",symbol="CloseButtonDisabled");
closeButtonDownSkin: Embed(source="AeonGraphical.swf",symbol="CloseButtonDown");
closeButtonOverSkin: Embed(source="AeonGraphical.swf",symbol="CloseButtonOver");
closeButtonUpSkin: Embed(source="AeonGraphical.swf",symbol="CloseButtonUp");
titleBackgroundSkin: Embed(source="AeonGraphical.swf", symbol="PanelTitleBackground");

borderColor: #A1A5AF;
borderAlpha: 1;
backgroundColor: #eeeeee;
backgroundAlpha: 1;
borderThicknessTop: 0;
borderThicknessBottom: 0;
borderThicknessLeft: 4;
borderThicknessRight: 4;
cornerRadius: 10;
headerHeight: 36;
titleStyleName: "mypanelTitle";     

}


.mypanelTitle {
    color: #4b5f0c;
    fontSize: 13;
    fontWeight: bold;
}

但我发现Flex没有这四部分

closeButtonDisabledSkin: Embed(source="AeonGraphical.swf",symbol="CloseButtonDisabled");
    closeButtonDownSkin: Embed(source="AeonGraphical.swf",symbol="CloseButtonDown");
    closeButtonOverSkin: Embed(source="AeonGraphical.swf",symbol="CloseButtonOver");
    closeButtonUpSkin: Embed(source="AeonGraphical.swf",symbol="CloseButtonUp");
    titleBackgroundSkin: Embed(source="AeonGraphical.swf", symbol="PanelTitleBackground");

我该如何使用它?这四部分是什么意思?

1 个答案:

答案 0 :(得分:0)

这些“部分”意味着有人创建了一个带有单个皮肤符号的swf(使用flash),用于每个按钮状态。你不能在没有swf文件的情况下使用那个css(或者自己创建一个新文件)。