Flex中通过creationCompleteEffect样式给Button控件设置创建完成效果的例子
By Minidxer | June 20, 2008
接下来的例子演示了Flex中通过creationCompleteEffect样式,给Button控件设置创建完成效果。该效果需要在Demo显示的时候察看。
让我们先来看一下Demo(可以右键View Source或点击这里察看源代码):
下面是完整代码(或点击这里察看):
Download: main.mxml
- <?xml version="1.0" encoding="utf-8"?>
- <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
- layout="vertical"
- verticalAlign="middle"
- backgroundColor="white">
- <mx:Button id="button"
- label="Button"
- creationCompleteEffect="Zoom" />
- </mx:Application>
代码:Peter deHaan 翻译/整理/编译:minidxer
Topics:
Flex |
1 Comment » |
Tags: Button, creationCompleteEffect
Trackbacks