[flexcoders] Re: Targeting from components

2008-02-05 Thread so_osverg
I'm not sure if I'm setting this up correctly: //event handler to initialize data and fire services private function initializeApp():void { menuView.detailsWin.storyList.addEventListener(MouseEvent.CLICK,

[flexcoders] Re: Targeting from components

2008-02-05 Thread so_osverg
Thanks. I'm new to Flex so I'll look up broadcasting events and post the results... --- In flexcoders@yahoogroups.com, Merrill, Jason [EMAIL PROTECTED] wrote: I think you should instead have your custom component broadcast an event, and have a listener in your main application listen for it

[flexcoders] Targeting from components

2008-02-04 Thread so_osverg
Hi, I'm having problems assigning an event handler (click) to a list item in a custom components nested inside the main application. Basically, I have my custom component which needs to call an event handler (written in AS3) which is located within the code of the main timeline. I'm a