首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 平面设计 > 图形图像 >

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

2012-11-10 
flex4 使用非嵌套图片 in a spark BitmapImageUsing non-embedded images in a spark BitmapImageTiledIma

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>

热点排行