Farata Systems Flex Blog
Closures in ActionScript 3
Closures is one of the cornerstones of dynamic languages. Closures are unavoidable when you use asynchronous operations or need to process an event on the other object. Almost any non-trivial action in Flex communication with the server or getting an input from user is asynchronous. Using closure automatically gives you the reference to the class instance in which you have your function to the external object processing the event.
Reader Feedback : Page 1 of 1