I'm trying to change the default event handler code generator, so that it generates the name of the function as onComponentidEventname For example:
<s:Button id="myButton"
click="onMyButtonClick(event)" />
The code template I use is:
${namespace} ${modifiers}function ${:method_name('on${component_id}${event_name}')}(${event}:${event_type}):${return_type}{${cursor}}
But the result is onmyButtonclick instead of onMyButtonClick.
Any ideas if that is possible and how to do that?
Thanks in advance,
Blaze