易截截图软件、单文件、免安装、纯绿色、仅160KB

flex内存泄露解决之道

(1)Event Listeners
                Listening to parent objects does cause memory leaks
                e.g.
                    override protected function mouseDownHandler(…):void {
                     systemManager.addEventListener(“mouseUp”, mouseUpHandler);
              you can:
                1.Removing the addEventListener (when dispose).
                  systemManager.removeEventListener(“mouseUp”, mouseUpHandler);
                2. Use of weak reference listeners
                  override protected function mouseDownHandler(…):void {
                  systemManager.addEventListener(“mouseUp”, mouseUpHandler, false, 0, true);
              These do not block garbage collection(generally do not cause memory leaks):
Weak References
Self References
References to Child Objects
                    weak reference event listener  e.g.
                &nb


相关文档:

Flex和AIR不适合你的5个理由(RIAMeeting译)


不知道大家看了是怎么想的,有些牵强附会,专牛角尖的感觉,不过先不管观点是否正确,多一份参考总归不会错吧。
作者认为,任何一个平台都不是完美的,自然Flex和AIR也是如此,有它们强势的地方,就必然有弱势的地方,当你选择了一个解决方案,也就必须了解并避开它们的缺陷。那么哪些地方是Flex和AIR的缺陷呢,来看看作 ......

flex as版计时器


<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
        layout="vertical"
        verticalAlign="middle"
        backgroundColor="white"
        ......

flex as3开源组件


flex项目和组件等
open-source project : Flex
Adobe APIs 
主要包含corelib, mappr, flickr, youtube及加密等类库. 
http://labs.adobe.com/wiki/index.php/ActionScript_3:resources:apis:libraries
as3awss3lib 
与 Amazon S3 交互的 ActionScript 3.0 类库 
http://code.google.com/p/as3 ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号