In Cairngorm, when you trigger an event, it is a full class. It's a
hassle to go through all the hoops for that one event, but one benefit
you get is... how to say... for lack of a better term, strongly typed
compiler aware events. Once you import it, you know what parameters
and what values need to be passed.
Two thoughts came to mind (I'm still quite new to all of this)
- make a VO for each action you want to execute and import and use
that for passing correct parameters
- make a whole class that handles the executeAction along with
parameter data as well
Those are just some thoughts to keep the coding clean and have code
hints in the Flexbuilder editor. Do you do anything like that?
Thanks!
Michael