Flash Builder 4 Feature – Generate Handlers
Flash Builder 4 is all about speeding up development time through code generation (along with many other features). Some people are already getting nervous by the move to Flash Builder 4, but we’ll have to get used to these new tools at some point, so let’s get to it.
As you are typing code in MXML you can quickly generate event handlers in your script blocks by following these steps.
1. Start typing your event name, in this case “initialize”.
Hint: As you start typing hold control + space bar (mac) for code completion.

2. The following window will pop up as you complete the event:

3. Just press “enter” and the handler will automatically be added to the mxml (and the script block if it doesn’t exist).





