面板移动效果(sates)
来源:互联网 发布:南风知我意 百度云 编辑:程序博客网 时间:2024/06/06 01:01
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx">
<!-- 定义状态 -->
<s:states>
<s:State name="Default"/>
<s:State name="One"/>
<s:State name="Two"/>
</s:states>
<!-- 定义过渡 -->
<s:transitions>
<mx:Transition fromState="*" toState="*">
<mx:Sequence id="t1" targets="{[p1,p2,p3]}">
<mx:Parallel>
<s:Move duration="400"/>
<s:Resize duration="400"/>
</mx:Parallel>
</mx:Sequence>
</mx:Transition>
</s:transitions>
<s:Group id="pm" width="100%" height="100%" >
<s:Panel id="p1" title="查询"
x="0" y="0"
x.One="110"
width="100" height="100"
width.One="200" height.One="210"
click="currentState='One'" >
<s:Label fontSize="24" text="One"/>
</s:Panel>
<s:Panel id="p2" title="添加"
x="0" y="110"
y.One="0"
x.Two="110" y.Two="0"
width="100" height="100"
width.Two="200" height.Two="210"
click="currentState='Two'" >
<s:Label fontSize="24" text="Two"/>
</s:Panel>
<s:Panel id="p3" title="删除"
x="110" y="0"
x.One="0" y.One="110"
x.Two="0" y.Two="110"
width="200" height="210"
width.One="100" height.One="100"
width.Two="100" height.Two="100"
click="currentState=''" >
<s:Label fontSize="24" text="Three"/>
</s:Panel>
</s:Group>
</s:Application>
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx">
<!-- 定义状态 -->
<s:states>
<s:State name="Default"/>
<s:State name="One"/>
<s:State name="Two"/>
</s:states>
<!-- 定义过渡 -->
<s:transitions>
<mx:Transition fromState="*" toState="*">
<mx:Sequence id="t1" targets="{[p1,p2,p3]}">
<mx:Parallel>
<s:Move duration="400"/>
<s:Resize duration="400"/>
</mx:Parallel>
</mx:Sequence>
</mx:Transition>
</s:transitions>
<s:Group id="pm" width="100%" height="100%" >
<s:Panel id="p1" title="查询"
x="0" y="0"
x.One="110"
width="100" height="100"
width.One="200" height.One="210"
click="currentState='One'" >
<s:Label fontSize="24" text="One"/>
</s:Panel>
<s:Panel id="p2" title="添加"
x="0" y="110"
y.One="0"
x.Two="110" y.Two="0"
width="100" height="100"
width.Two="200" height.Two="210"
click="currentState='Two'" >
<s:Label fontSize="24" text="Two"/>
</s:Panel>
<s:Panel id="p3" title="删除"
x="110" y="0"
x.One="0" y.One="110"
x.Two="0" y.Two="110"
width="200" height="210"
width.One="100" height.One="100"
width.Two="100" height.Two="100"
click="currentState=''" >
<s:Label fontSize="24" text="Three"/>
</s:Panel>
</s:Group>
</s:Application>
- 面板移动效果(sates)
- 上下面板切换效果(类似大黑板效果)
- 移动可停靠面板时,同时按下Ctrl键的效果
- 滑动面板菜单效果
- jquery插件面板效果
- jquery面板效果插件
- jquery面板效果
- jquery插件面板效果
- html实现面板效果
- qq面板切换效果
- QQ面板切换效果(web版)【实例】
- 移动设备自定义面板切换
- 移动前端console调试面板(移动网页端调试工具)—vConsole
- js面板拖拽效果
- MUI-折叠面板效果accordion
- jQuery效果之滑动面板
- jQuery 实现折叠面板效果
- js模拟QQ面板拖拽效果及状态切换效果(DOM事件)
- 理解什么是云计算
- Webservice调用方式:axis,soap详解
- c# 4.0新特性一览(转自:http://www.cnblogs.com/palo/archive/2009/03/01/1400949.html)
- 编写MBR从硬盘启动linux0.11
- mysql 远程连接数据库的二种方法
- 面板移动效果(sates)
- 点击表格获取列索引的方法
- adr与ldr的区别
- VIRTUALBOX导入已有.VDI文件步骤
- Play Framework 部署到 Tomcat
- SQL中Union和Union all深入分析
- 开博
- poj 3624Charm Bracelet(简单01背包)
- 手把手教你把Vim改装成一个IDE编程环境(图文)