手机
当前位置:查字典教程网 >网页设计 >Flash教程 >Flex Gumbo 通过smooth属性设置BitmapGraphic对象平滑度的例子
Flex Gumbo 通过smooth属性设置BitmapGraphic对象平滑度的例子
摘要:复制代码代码如下:

复制代码 代码如下:

<?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>

【Flex Gumbo 通过smooth属性设置BitmapGraphic对象平滑度的例子】相关文章:

最新flash相册特效动画教程

Flash开发移动设备技巧

Flex中通过和Security类中的常量

Flash中随机运动小球的源码解析

简单的流星雨动画特效代码

Flash制作时钟效果的方法讲解

Flash游戏开发:BitmapData的使用

Flash AS3制作火苗跳动的gif动画教程

Flash CS3教程:模糊运动制作飞行文字

FLASH导入声音时提示 读取文件时出现问题该怎么办?

精品推荐
分类导航