文件名称:AS3_eventBus
介绍说明--下载内容均来自于网络,请自行研究使用
AS的新手很容易因为监听了全局事件却忘记释放而导致内存泄露。事件总线机制提供了一种全局管理所有事件监听的一种思路,即只要一个方法就能释放掉针对对象的所有监听事件。
代码中包含了详细的注释,相当于完整的API,另外有兴趣的人不仅可以添加自己需要的事件类型,而且可以更具自己习惯修改的更为易用,释放更为简便-AS novice easily because the listener a global event, but forgot to release and lead to memory leaks. The event bus mechanism provides an idea of a global management event listener, all listening event that a method can be freed for the object. Code contains detailed notes, the equivalent of a full API, another interested person can add not only the type of event they need to modify their habits more use and can be more, release more convenient ~ ~
代码中包含了详细的注释,相当于完整的API,另外有兴趣的人不仅可以添加自己需要的事件类型,而且可以更具自己习惯修改的更为易用,释放更为简便-AS novice easily because the listener a global event, but forgot to release and lead to memory leaks. The event bus mechanism provides an idea of a global management event listener, all listening event that a method can be freed for the object. Code contains detailed notes, the equivalent of a full API, another interested person can add not only the type of event they need to modify their habits more use and can be more, release more convenient ~ ~
(系统自动生成,下载前可以参看下载内容)
下载文件列表
com
...\freeworldgroup
...\..............\eventBus
...\..............\........\ClickManager.as
...\..............\........\KeyboardManager.as
...\..............\........\MasterManager.as
...\..............\........\MouseManager.as
...\..............\........\OEFManager.as
...\..............\........\TimerManager.as