我已将我的软件的徽标图像分配给 HBox,如下所示 -
<mx:HBox id="logoBox" width="98%" textAlign="left" backgroundSize="100%" horizontalAlign="left" height="18%" backgroundImage="images/img_header_new_3-bg.jpg" verticalAlign="bottom" backgroundColor="#1573A4">
现在我需要将 backgroundImage 更改为事件中的其他图像。如何做到这一点?我无法使用 id 'logoBox' 引用 backgroundImage 属性