I'm still not entirely clear on the event model in Flex 2, so hopefully this is an easy question. I want to add an event listener in one of my flex view components that will listen for a CairngormEvent to be dispatched and then run a function within that component. Pretty straight forward I thought. When my flex component is initialized, I call a function, doInit() that does the following:
this.addEventListener("com.example.control.MyCustomEvent",myFunction);
In this case, MyCustomEvent is a CairngormEvent but when I dispatch it using the typical Cairngorm event dispatcher, it doesn't fire myFunction. Am I totally off base on how the CairngormEventDispatcher works or how to set up Event listeners for custom events?
Thanks,
Ryan
__._,_.___--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
| Web site design development | Computer software development | Software design and development |
| Macromedia flex | Software development best practice |
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
__,_._,___

