Hi,
im using EventBus and everything is fine. is there any way to route creationComplete - mx.event.FlexEvent in mxml file? i want to handle these kind of events via EventBus.
i tried this:
regards,Code:<s:Group xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/mx"> <fx:Metadata> [RouteEvents] [Event(name="creationComplete", type="mx.events.FlexEvent")] </fx:Metadata> [EventHandler] public function creationComplete(event: FlexEvent): void { Alert.show("EventBus said: creation completed"); } </s:Group>


Reply With Quote
