Flex Gumbo 通過smooth屬性設(shè)置BitmapGraphic對(duì)象平滑度的例子
更新時(shí)間:2009年06月09日 13:07:43 作者:
接下來的例子演示了Flex Gumbo中如何通過smooth屬性,設(shè)置BitmapGraphic對(duì)象平滑度。
復(fù)制代碼 代碼如下:
<?xml version="1.0" encoding="utf-8"?>
<Application name="BitmapGraphic_smooth_test"
xmlns="http://ns.adobe.com/mxml/2009"
layout="vertical"
verticalAlign="middle"
backgroundColor="white">
<ApplicationControlBar dock="true">
<Form styleName="plain">
<FormItem label="smooth:">
<CheckBox id="checkBox" />
</FormItem>
<FormItem label="rotation:">
<HSlider id="slider"
minimum="0"
maximum="360"
snapInterval="1"
tickInterval="15"
liveDragging="true" />
</FormItem>
</Form>
</ApplicationControlBar>
<Graphic>
<BitmapGraphic id="bitmapGraphic"
source="@Embed('assets/fx_appicon-tn.gif')"
rotation="{slider.value}"
smooth="{checkBox.selected}" />
</Graphic>
</Application>
相關(guān)文章
Flex tree組件數(shù)據(jù)源、圖標(biāo)等修改
在flex中Tree組件的使用。使用XML作為Tree組件的數(shù)據(jù)源。2009-05-05Flex 創(chuàng)建復(fù)數(shù)行文本內(nèi)容的List
效果不錯(cuò)的flex多行文本2008-11-11Flex 編程注意之性能優(yōu)化、垃圾回收的一些總結(jié)
自從開始做Flex、ActionScript 3.0的項(xiàng)目,我就一直與垃圾回收、性能優(yōu)化這些問題打交道,因此也總結(jié)了一些優(yōu)化的方案,同時(shí)在一些QQ群中也得到了一些“高人”的指點(diǎn),因此將此內(nèi)容記錄一下。2009-07-07FluorineFx.NET的認(rèn)證(Authentication )與授權(quán)(Authorization)Flex與.NE
FluorineFx.NET的認(rèn)證(Authentication )與授權(quán)(Authorization)和ASP.NET中的大同小異,核實(shí)用戶的身份既為認(rèn)證,授權(quán)則是確定一個(gè)用戶是否有某種執(zhí)行權(quán)限2009-06-06Flex Gumbo 通過smooth屬性設(shè)置BitmapGraphic對(duì)象平滑度的例子
接下來的例子演示了Flex Gumbo中如何通過smooth屬性,設(shè)置BitmapGraphic對(duì)象平滑度。2009-06-06Flex與.NET互操作 使用HttpService、URLReqeust和URLLoader加載/傳輸數(shù)據(jù)
在前兩篇文章中分別介紹了Flex與.NET的WebService之間的數(shù)據(jù)交互通信知識(shí),本文將介紹另外一種加載數(shù)據(jù)以及發(fā)起請(qǐng)求的方式。2009-06-06