读书人

flex4 使用非嵌套图片 in a spark Bit

发布时间: 2012-11-10 10:48:51 作者: rapoo

flex4 使用非嵌套图片 in a spark BitmapImage

Using non-embedded images in a spark BitmapImage

TiledImage.mxml

<s:Grouphttp://ns.adobe.com/mxml/2009library://ns.adobe.com/flex/sparklibrary://ns.adobe.com/flex/mx>    <fx:Script>        <![CDATA[            import import import public function set void private function void // use a SWFLoader to download the bitmap data then push that into the BitmapImage                </fx:Script>    <mx:SWFLoaderloader00/>    <s:BitmapImagebitmapImage100%100%repeat/>    </s:Group>

TiledImageAppcation.mxml

<s:Applicationhttp://ns.adobe.com/mxml/2009library://ns.adobe.com/flex/spark*90%90%srcview/index.html>        <s:Group{}100010>        <local:TiledImagebgDiag.png100%100%/>        <s:LabelTiled Background1600bold/>    </s:Group>        <s:HSliderwidthSlider2001503000125/>    </s:Application>

读书人网 >图形图像

热点推荐