flex4 怎么给hbox设置背景图片

flex4 如何给hbox设置背景图片
hbox里面怎么没有backgroundimage这个方法呢,记得以前还有呢

------解决方案--------------------

<mx:HBox width="100" height="100">
<s:Group width="100" height="100">
<s:Rect width="100" height="100">
<s:fill>
<s:BitmapFill source="@Embed(source='assets/images/LeftBannerAd.jpg')" fillMode="repeat">

</s:BitmapFill>
</s:fill>
</s:Rect>
</s:Group>
</mx:HBox>

------解决方案--------------------
flex4后hbox没有 backgroundImage属性了并且Hbox flex4后改用:<s:BorderContainer backgroundImage=""/>例如:
<s:BorderContainer backgroundImage="@Embed(source='assets/images/LeftBannerAd.jpg')">
<s:layout>
<s:VerticalLayout gap="0"/>
</s:layout>
</s:BorderContainer>