我最近制作了一款移动应用。我已经包含css for ios按钮,它是斜面的。在调试运行期间,它很好,但在桌面的导出构建之后,它的结果不同,因为斜面按钮不在那里以及操作栏的chrome颜色。
http://forums.adobe.com/servlet/JiveServlet/showImage/2-6245767-616796/test.png
上面的链接是调试运行的图像,下面是我从.air文件安装的桌面版本。希望你们能帮助我。谢谢。
编辑:
<fx:Style>
@namespace s "library://ns.adobe.com/flex/spark";
@media (os-platform: "iOS")
{
s|ActionBar
{
defaultButtonAppearance:beveled;
chromeColor: #C24641;
textShadowColor: #000000;
textShadowAlpha: .65;
fontFamily: "Calibri";
}
.backButton
{
skinClass:ClassReference("spark.skins.mobile.BeveledBackButtonSkin");
}
s|Button
{
color: #ffffff;
textShadowColor: #000000;
textShadowAlpha: .65;
fontFamily: "Calibri";
}
s|ActionBar #titleDisplay, s|ActionBar s|Button
{
color: #ffffff;
fontFamily: "Calibri";
textShadowColor: #000000;
textShadowAlpha: .65;
}
s|TabbedViewNavigator #tabBar, s|ButtonBar s|Scroller
{
defaultButtonAppearance:beveled;
chromeColor: #C24641;
textShadowColor: #000000;
textShadowAlpha: .65;
fontFamily: "Calibri";
fontSize: 26;
}
}
global
{
font-weight: bold;
fontFamily: "Calibri";
defaultButtonAppearance:beveled;
textShadowColor: #000000;
textShadowAlpha: .65;
}
</fx:Style>