Utility for creating custom events for flex connector development