摘要:
根据我的个人习惯为自已制作一个桌面应用功能:1.当鼠标不在里面活动2秒,人性化自动向左边隐藏2.可以打开文件,管理快捷键3.拥有任务托盘4.拥有窗口顶置5.拥有刷新功能,主要用来重新得到索引功能日后慢慢增加 阅读全文
posted @ 2013-05-11 20:52
左眼rain
阅读(146)
评论(0)
推荐(0)
摘要:
打开相关的文件,需要配置文件,以及发不成EXE安装包其中<supportedProfiles></supportedProfiles>里的参数应该为extendedDesktop<supportedProfiles>extendedDesktop</supportedProfiles>打开路径文件:public static function Open(url:String):void{ //获得文件位置,url是路径 var file:File = new File() file.nativePath = url trace("打开& 阅读全文
posted @ 2013-05-11 15:23
左眼rain
阅读(174)
评论(0)
推荐(0)
摘要:
首先想到了alwaysInFront = true这个是实现窗口显示在最前端,有这个就已经足够了。我们只要把该代码进行循环实现,那么就会实现顶置效果了。代码:1 public function init():void2 {3 this.addEventListener(Event.EXIT_FRAME,Frame)4 }5 private function Frame(e:Event):void6 {7 8 stage.nativeWindow.alwaysInFront = true9 } 阅读全文
posted @ 2013-05-11 10:45
左眼rain
阅读(228)
评论(0)
推荐(0)