http://www.cnblogs.com/dzone/archive/2011/08/24/2152060.html
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical" currentState="stateOne">
<mx:Style>
Application{
background-image:Embed("assets/images/back2.png");
}
ApplicationControlBar{
background-color:#FF6600;
}
Panel{
background-image:Embed("assets/images/back.png");
vertical-align:middle;
horizontal-align:center;
}
Label{
font-size:20;
font-weight:bold;
}
</mx:Style>
<mx:states>
<mx:State name="stateOne">
<mx:SetProperty target="{p1}" name="height" value="90%"/>
<mx:SetProperty target="{p2}" name="visible" value="false"/>
<mx:SetProperty target="{p3}" name="visible" value="false"/>
</mx:State>
<mx:State name="stateTwo">
<mx:SetProperty target="{p1}" name="height" value="40%"/>
<mx:SetProperty target="{p2}" name="visible" value="true"/>
<mx:SetProperty target="{p2}" name="height" value="40%"/>
<mx:SetProperty target="{p3}" name="visible" value="false"/>
</mx:State>
<mx:State name="stateThree">
<mx:SetProperty target="{p1}" name="height" value="30%"/>
<mx:SetProperty target="{p2}" name="height" value="30%"/>
<mx:SetProperty target="{p3}" name="height" value="30%"/>
</mx:State>
</mx:states>
<mx:transitions>
<mx:Transition fromState="stateOne" toState="stateTwo">
<mx:Sequence duration="500">
<mx:Resize targets="{[p1,p2]}" />
</mx:Sequence>
</mx:Transition>
<mx:Transition fromState="stateOne" toState="stateThree">
<mx:Sequence duration="500">
<mx:Resize targets="{[p1,p3]}" />
</mx:Sequence>
</mx:Transition>
<mx:Transition fromState="stateTwo" toState="stateOne">
<mx:Sequence duration="500">
<mx:Resize targets="{[p1,p2]}" />
</mx:Sequence>
</mx:Transition>
<mx:Transition fromState="stateTwo" toState="stateThree">
<mx:Sequence duration="500">
<mx:Resize targets="{[p1,p2,p3]}" />
</mx:Sequence>
</mx:Transition>
<mx:Transition fromState="stateThree" toState="stateTwo">
<mx:Sequence duration="500">
<mx:Resize targets="{[p1,p2,p3]}" />
</mx:Sequence>
</mx:Transition>
<mx:Transition fromState="stateThree" toState="stateOne">
<mx:Sequence duration="500">
<mx:Resize targets="{[p1,p3]}" />
</mx:Sequence>
</mx:Transition>
</mx:transitions>
<mx:ApplicationControlBar dock="true" width="100%" verticalAlign="middle" horizontalAlign="left">
<mx:Spacer width="25"/>
<mx:LinkButton id="button1" label="One" click="currentState='stateOne'"/>
<mx:LinkButton id="button2" label="Two" click="currentState='stateTwo'"/>
<mx:LinkButton id="button3" label="Three" click="currentState='stateThree'" />
</mx:ApplicationControlBar>
<mx:Panel id="p1" title="Panel one" width="100%" >
<mx:Label id="label1" text="Labe one" />
</mx:Panel>
<mx:Panel id="p2" title="Panel two" width="100%" >
<mx:Label id="label2" text="Labe two" />
</mx:Panel>
<mx:Panel id="p3" title="Panel three" width="100%" >
<mx:Label id="label3" text="Labe three" />
</mx:Panel>
</mx:Application>
相关推荐
flex自定义桌面panel,可放大缩小,不会超出桌面大小
该测试程序是用来测试Flex中Panel组件设置了borderSkin后,内容体和标题栏重叠的问题,并给出了解决方式。
flex3注册码flex3注册码flex3注册码flex3注册码flex3注册码flex3注册码flex3注册码flex3注册码flex3注册码flex3注册码flex3注册码flex3注册码flex3注册码
flex翻书效果flex翻书效果flex翻书效果
很简单,可以直接用。不能动的panel现在可以动起来了。
Flex 3D圆形隧道效果 Flex实现3d Flex学习3d教程 flex builder 如何做出3D隧道效果
flex3D效果,这是一个浏览图片的3D效果 要在flash player4 运行
Flex3D旋转效果 Flex实现3d 3dRotation Flex学习3d教程 flex builder 如何做出3D效果
flex最大的优点就是支持与java后台数据交互,所以能够广泛应用在各种应用系统上,例如说中国移动网管系统就大量应用了flex拓扑图,三围展示等
flex倒影效果flex倒影效果flex倒影效果flex倒影效果flex倒影效果
Flex3开发指南 flex3基础教程
利用登录界面,点击login按钮,界面会产生很不错的立体旋转切换效果
flex 饼图3d,渐变,立体显示凸凹的效果,适合效果非常美观!
flex panel窗体有最小化最大化关闭可移动
flex 各种效果 flex 各种效果 flex 各种效果 flex 各种效果
flex 特效拖动Panel变Window
Flex4 电视墙效果Flex4 电视墙效果Flex4 电视墙效果Flex4 电视墙效果Flex4 电视墙效果Flex4 电视墙效果
FLEX 3DMENU 3D菜单 特效 特效 3D菜单 3DMENU FLEX
FLEX播放器 flex 开发AIR及Flex之mp3播放器教程 FLEX播放器 flex 开发AIR及Flex之mp3播放器教程
flexbuilder3 序列号 请下载FB3_WWEJ_Plugin.exe