- 浏览: 703100 次
- 性别:
- 来自: 深圳
文章分类
- 全部博客 (389)
- flex (150)
- java (55)
- flex_sharedObject (4)
- iphone/android (7)
- red5 (4)
- blazeds (19)
- ajax (3)
- flex&java (9)
- 聊天室 (2)
- flex的问题 (1)
- game (8)
- flex_xml (1)
- flex组件学习 (2)
- JGroups (1)
- 中转站 (2)
- ruby (7)
- flex_js (5)
- C/C++ (14)
- perl (2)
- db (13)
- air (10)
- hibernate (8)
- flash_flex_as_3d (2)
- struts (4)
- dwr (8)
- freemarker (2)
- AS (22)
- 工具 (6)
- js_jquery_ext_yui (4)
- .net (1)
- C# (1)
- 前端 (1)
最新评论
-
136900923:
您好,您的代码我不是很懂,我想跟您交流一下,我的qq邮箱:13 ...
hibernate做无限极菜单树如此简单 -
fykyx521:
两个同一个功能
flex_flush_Socket 安全沙箱解决 -
ustb:
你上下两个代码类之间没关系
flex_flush_Socket 安全沙箱解决 -
u010656335:
...
flex发送QQ表情 -
u010656335:
flex发送QQ表情
package cn.ishion.component { import flash.events.TimerEvent; import flash.utils.Timer; import mx.core.IContainer; import mx.core.Repeater; import mx.events.ChildExistenceChangedEvent; import mx.events.FlexEvent; public class ConstomRepeater extends Repeater { private var showTimer:Timer; private var isEffert:Boolean=true; private var currentShowIndex:int=-1; public function ConstomRepeater() { super(); this.addEventListener(FlexEvent.REPEAT_END,repeatEndHandler); showTimer=new Timer(1000); showTimer.addEventListener(TimerEvent.TIMER,startShow); } override public function initializeRepeater(ic:IContainer,recurse:Boolean):void{ super.initializeRepeater(ic,recurse); if(ic){ ic.addEventListener(ChildExistenceChangedEvent.CHILD_ADD,addChildHandler); } } private function addChildHandler(event:ChildExistenceChangedEvent):void{ event.relatedObject.visible=false; trace("set date"); } private function startShow(event:TimerEvent):void{ var timer:Timer=event.target as Timer; try{ trace(timer.currentCount); this.container.getChildAt(timer.currentCount-1).visible=true; }catch(e:Error){ trace("error"); } } override public function set dataProvider(value:Object):void{ super.dataProvider=value; } /** * 开始一个一个显示 * */ private function repeatEndHandler(event:FlexEvent):void{ // if(showTimer.running){ // // } this.showTimer.repeatCount=this.container.numChildren; this.showTimer.reset(); this.showTimer.start(); } } }
示例
<?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical" xmlns:component="cn.ishion.component.*"> <mx:ArrayCollection id="images"> <mx:Object src="@Embed('assert/7.jpg')"> </mx:Object> <mx:Object src="@Embed('assert/7.jpg')"> </mx:Object> <mx:Object src="@Embed('assert/7.jpg')"> </mx:Object> <mx:Object src="@Embed('assert/7.jpg')"> </mx:Object> <mx:Object src="@Embed('assert/7.jpg')"> </mx:Object> </mx:ArrayCollection> <mx:Script> <![CDATA[ import mx.controls.Alert; import flash.utils.clearInterval; import flash.utils.setInterval; import mx.events.ChildExistenceChangedEvent; import mx.core.Container; import mx.containers.HBox; private function changeDate():void { rep.dataProvider=images; } import mx.effects.easing.Elastic ]]> </mx:Script> <mx:Zoom id="zoom" zoomWidthFrom="0.1" zoomWidthTo="1" zoomHeightFrom="0.1" zoomHeightTo="1" easingFunction="Elastic.easeOut"> </mx:Zoom> <mx:HBox id="hb"> <component:ConstomRepeater id="rep" dataProvider="{images}"> <mx:Image source="{rep.currentItem.src}" scaleY="0.1" scaleX="0.1" visible="false" showEffect="{zoom}"/> </component:ConstomRepeater> </mx:HBox> <mx:Button click="changeDate()"> </mx:Button> </mx:Application>
发表评论
-
转深入理解Flash的沙箱 – Security Domains
2014-01-22 09:35 784一篇很经典的进阶文章,国外牛人的分享,清晰明了,图文并茂,适 ... -
flex 很有用的东东!
2010-06-17 23:50 1228网上找了好久,原来API中就有! -
flex出现的一些问题
2010-04-08 12:19 16301.kingnarestyle.swf和flexlib 的Su ... -
flex 样式工作原理【转】
2010-04-08 12:09 1283http://hi.baidu.com/ls_mcx/blog ... -
在FlexBuilder3中使用Actionscript3进行元编程
2010-03-11 19:15 1000http://flash.9ria.com/thread-46 ... -
Error: No class registered for interface mx
2010-02-01 09:36 1205http://www.gold98.net/blog/arti ... -
Flash 视频(FLV)编码,转换,录制,播放方案一网打尽
2010-01-16 18:34 1971http://www.htmlit.com.cn/post/8 ... -
FLEX中使用FLVPlayback控件.
2010-01-16 18:29 1359http://www.cnblogs.com/xxcainia ... -
flex 继承Application及xml命名空间
2009-12-30 18:43 1481<?xml version="1.0" ... -
学习自定义组件---ConstomButton
2009-12-14 15:06 1736效果只是让Button动了下, 上传了flash源文件 p ... -
flex编译生成的As代码
2009-12-09 18:30 1280new flexProject ->起名叫 test ... -
flex自定义preloader
2009-12-09 17:43 1883package cn.ishion.component { ... -
flex自定义程序 preloader 加载多个资源
2009-12-09 02:05 2224package cn.ishion.component { ... -
Flex Builder编译错误An internal build error has occurred的解决方法
2009-12-05 16:44 3172原文:http://as3blog.com/resources ... -
flex uicomponent.addChild(Button) Button不显示
2009-12-04 19:23 2105设置下Button的宽度和高度就行了 var ui:U ... -
as3 xls导出excel乱码问题解决办法
2009-12-04 11:37 3305http://blog.csdn.net/Baijinwen/ ... -
FlashDevelop配置Flex4(gumbo)环境
2009-12-04 10:27 3018http://www.flexrain.cn/fl ... -
flex gooogle code as3xls导出数据到excel
2009-12-03 19:16 2317var ex:ExcelFile=new ExcelFile ... -
Flex坐标系统及转换
2009-12-02 22:10 3059http://flash.9ria.com/thread-40 ... -
flex动态切换皮肤
2009-11-23 18:06 1986http://www.cnblogs.com/mobile/a ...
相关推荐
详细描述了flex Repeater的使用,方便程序开发人员在前台界面重复级任.
repeater嵌套repeater嵌套repeater嵌套repeater嵌套repeater嵌套repeater嵌套repeater嵌套repeater嵌套repeater嵌套repeater嵌套repeater嵌套repeater嵌套repeater嵌套repeater嵌套repeater嵌套repeater嵌套repeater...
Repeater表头自定义排序; Repeater嵌套Repeater。
asp.net装载页面进度条以及Repeater分页
做开发时列表展示时经常会有光棒效果,我们往往在.cs文件中写很多后台代码,如果列表展示页面很多时,几乎等同于复制粘贴。该JS代码只需在aspx页面里引入就行,非常方便易维护,注意列表的ID
<asp:Repeater ID="rptUser" runat="server" onitemcommand="rptUser_ItemCommand"> <tr><td colspan="3" align="center">用户信息</td></tr> 用户编号 用户姓名 用户密码 操作 (this)"/> ...
自定义控件之万能Repeater源码 为什么要用Repeater,因为Repeater的性能最好,扩展性最强。 为什么现在用Repeater的人越来越少,因为其可操作性相对较差。 那么,如果我只需拖动一个Repeater 然后给他一个数据源 就...
关于repeater嵌套的方法,使用!! 希望对大家有帮助!!!!
This is my Linux port of Ultravnc repeater source code. Compile with command: Make You should now have a repeater file, start it with command ./repeater [inifilepathandname] Various settings can be ...
Repeater 分页 Repeater 分页 Repeater 分页
本资料是利用VS2010 开发,SQL2005以上版本,Repeater控件无限级显示菜单信息,能增、删、改、查
资源包含:数据库设计、完整实例代码! 主、从表显示 有问题请与QQ:24394180联系
repeater控件使用实例
vnc远程桌面中转方案。一台物理机作为VNC Repeater,一个虚拟机作为VNC客户端,一个虚拟机作为VNC服务端。自行编写,实测通过。
通过实现ICallbackEventHandler接口和借助GetCallbackEventReference生成脚本,完成repeater分页无刷新的效果
Repeater实现RadioButton单选功能
repeater的编辑和删除,以及repeater的嵌套使用
c# repeater 锁表头 一、将表头与内容分离。 此方法的思路其实很简单,就是将表头放在一个表格中,将表单内容repeater放在一个DIV中 ,再将DIV的样式高度设为定值,并将此div设置为允许出现纵向滚动条。这种方法...
服务器控件Repeater的使用 Repeater
asp:Repeater页面元素,后台绑定,js操作 <asp:Repeater ID="TreatySignTblRowRepeater" runat="server"> <tr class="row"><td class="hidden">;"treatySignID") %></td><td>;"treatyGovernment") %>...