Flex 各种效果例子
<mx:Fade id="myFade"/>
<mx:WipeLeft id="myWipeLeft"/>
<mx:Panel id="myPanel" width="80%" height="80%" layout="absolute" hideEffect="myWipeLeft">
<mx:Button right="10" bottom="40" label="Button" click="myPanel.visible = false;"/>
</mx:Panel>
<mx:WipeLeft id="myWipeLeft"/>
<mx:Panel id="myPanel" width="80%" height="80%" layout="absolute" hideEffect="myWipeLeft">
<mx:Button right="10" bottom="40" label="Button" click="myPanel.visible = false;"/>
</mx:Panel>
创建一种效果,然后把它绑定到组件的hideEffect 属性上(触发器)
---------------
Dissolve:溶解组
Fade:逐渐显示组件
Glow:发光组件
Move:移动效果
Resize:改变大小效果
Rotate:旋转效果
SoundEffect:声音效果
WipeDown:从上至下显示
WipeLeft:从右向左显示
WipeRight:从左向右显示
WipeUp:从下至上显示
Zoom:放大或者缩小效果