由于方法闭包,ActionScript 3.0中的事件处理得以提供内建的事件委托,从而得到了简化。
Event handling is simplified in ActionScript 3.0 thanks to method closures, which provide built-in event delegation.
不再有丑陋的匿名内部类:只要通过这些便捷方法使用闭包就可以!
No more ugly anonymous inner classes: just use closures through those shortcut methods!
这个示例中所使用的生成递归闭包的方法有些冗长。
The way of making recursive closures used in this example is a bit tedious.
应用推荐