如何添加背景图片?我只是绑定到如下代码:
.bg{
backgroundImage:Embed(source="../../assets/Interaction-Screen_BG_pump.png");
}
<s:View xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
actionBarVisible="true" enterFrame="view1_enterFrameHandler(event)"
initialize="view1_initializeHandler(event)" menuKeyPressed="onMenu(event)"
overlayControls="false" tabBarVisible="true" title="Interact"
styleName="bg"
>
但它不起作用。
还有,如何创建一个图像按钮?