上一页 1 ··· 9 10 11 12 13 14 15 下一页
摘要: 1234567891011search_btn.addEventListener("click",selectText); function selectText(me:MouseEvent){ var search_str = search_txt.text; var main_str = msg_txt.text; var beginIndex = main_str.indexOf(searc... 阅读全文
posted @ 2013-01-03 14:43 thero 阅读(148) 评论(0) 推荐(0)
摘要: 钟表的实现1234567891011121314var now :Date = new Date(); var hour = now.getHours(); var minutes = now.getMinutes(); var seconds = now.getSeconds(); this.addEventListener(Event.ENTER_FRAME,settime); functio... 阅读全文
posted @ 2013-01-03 14:42 thero 阅读(194) 评论(0) 推荐(0)
摘要: 用法1:下面的示例每隔1000毫秒(1秒)调用一个匿名函数。1setInterval( function(){ trace("interval called"); }, 1000 );使用此函数时,需要注意在SWF文件中使用的内存。例如,从SWF文件中删除影片剪辑时,不会删除在其中运行的任何setInterval()函数。使用完setInterval()函数后,请始终使用clearInterval... 阅读全文
posted @ 2013-01-03 14:41 thero 阅读(268) 评论(0) 推荐(0)
摘要: 一个布尔值,表示影片剪辑是否处于活动状态。enabled的默认值为true。如果将enabled设置为false,则不再调用影片剪辑的callback方法和onaction事件处理函数,并禁用Over、Down和Up帧。enabled属性不影响影片剪辑的时间轴;如果影片剪辑正在播放,则会继续播放。影片剪辑会继续接收影片剪辑事件(例如mouseDown、mouseUp、keyDown和keyUp)。... 阅读全文
posted @ 2013-01-03 14:41 thero 阅读(106) 评论(0) 推荐(0)
摘要: 1 2 3 4 5 6 7 8 a1.addEventListener("mouseMove",gog); function gog(me:MouseEvent) { Mouse.hide();//鼠标隐藏 }... 阅读全文
posted @ 2013-01-03 14:41 thero 阅读(221) 评论(0) 推荐(0)
摘要: 布尔值,指示当鼠标滑过其 buttonMode 属性设置为 true 的 Sprite 时是否显示手指形(手形光标)。 useHandCursor 属性的默认值是 true。 如果 useHandCursor 被设置为 true,则当鼠标滑过按钮 Sprite 时会显示用于按钮的手形光标。 如果 useHandCursor 为 false,则将改用箭头指针。 可以随时更改 useHandCurso... 阅读全文
posted @ 2013-01-03 14:40 thero 阅读(412) 评论(0) 推荐(0)
摘要: HttpSession session = request.getSession() 与 HttpSession session = request.getSession(true)在效果上没有区别。只不过 request.getSession() 让你少打几个字而已。request.getSession() 自动调用了 request.getSession(true)。而 request.get... 阅读全文
posted @ 2013-01-03 14:39 thero 阅读(240) 评论(0) 推荐(0)
摘要: 12345678910111213141516171819202122232425262728293031323334353637383940414243<%@ page language="java" import="java.util.*" pageEncoding="GBK"%> <%@taglib uri="/struts-tags" prefix="s" %> <% String pat... 阅读全文
posted @ 2013-01-03 14:19 thero 阅读(184) 评论(0) 推荐(0)
摘要: l通过 为知笔记 发布 阅读全文
posted @ 2012-12-27 22:55 thero 阅读(99) 评论(0) 推荐(0)
摘要: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 ... 阅读全文
posted @ 2012-12-27 13:06 thero 阅读(124) 评论(0) 推荐(0)
上一页 1 ··· 9 10 11 12 13 14 15 下一页