我目前正在使用 Flex Hero mobile 4.5 开发移动程序。我已经搜索了一些论坛,但没有人可以帮助我。
如何更改移动程序的背景颜色。我已经尝试过使用:
this.setStyle("backgroundColor","0x00FFFF");
有人知道如何做到这一点吗?你应该帮我很多。
亲切的问候,
蒂博海伦
我目前正在使用 Flex Hero mobile 4.5 开发移动程序。我已经搜索了一些论坛,但没有人可以帮助我。
如何更改移动程序的背景颜色。我已经尝试过使用:
this.setStyle("backgroundColor","0x00FFFF");
有人知道如何做到这一点吗?你应该帮我很多。
亲切的问候,
蒂博海伦
在 ViewNavigator 应用程序中
编写流动代码
<fx:Style>
@namespace s "library://ns.adobe.com/flex/spark";
s|View{
backgroundColor:#000000;
}
</fx:Style>
Strange, there's only opaqueBackground
property on the View classes which doesn't seem to do much, so you might have to just fill it with a Rectangle.