[flexcoders] Event dispatching and receiving

2007-11-16 Thread duncan mcmillan
Folks Maybe I'm interpreating all the docs wrong but, I have a Custom Class which is one of several View Classes as part of an MVC model I'm using. I have an associated Controller class. I want the Custom class to dispatch custom Event to the COntroller class, the Custom class is embedded

Re: [flexcoders] Event dispatching and receiving

2007-11-16 Thread Muzak
PROTECTED] To: flexcoders@yahoogroups.com Sent: Friday, November 16, 2007 4:45 PM Subject: [flexcoders] Event dispatching and receiving Folks Maybe I'm interpreating all the docs wrong but, I have a Custom Class which is one of several View Classes as part of an MVC model I'm using. I have

Re: [flexcoders] Event dispatching and receiving

2007-11-16 Thread Muzak
- Original Message - From: Steve Hueners [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Friday, November 16, 2007 7:08 PM Subject: Re: [flexcoders] Event dispatching and receiving Under what circumstances could something not on the displayList be clickable? Bad programming

Re: [flexcoders] Event dispatching and receiving

2007-11-16 Thread Jehanzeb Musani
Hello, As far as I understood your scenario, you should call CustomClass's addEventListener() instead of Application.application in the Controller class. That is, the Controller class init() should look like that In the Controller Class { public function init() {

Re: [flexcoders] Event dispatching and receiving

2007-11-16 Thread duncan mcmillan
] To: flexcoders@yahoogroups.com Sent: Friday, 16 November, 2007 6:14:27 PM Subject: Re: [flexcoders] Event dispatching and receiving - Original Message - From: Steve Hueners [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Friday, November 16, 2007 7:08 PM Subject: Re: [flexcoders] Event

Re: [flexcoders] Event dispatching and receiving

2007-11-16 Thread Steve Hueners
Under what circumstances could something not on the displayList be clickable? On 11/16/07, Muzak [EMAIL PROTECTED] wrote: I've tried not using Application.appication and still get nothing, what am I not understanding about receiving events from another Class. That events dispatched from an

RE: [flexcoders] Event dispatching and receiving

2007-11-16 Thread Alex Harui
, 2007 10:47 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Event dispatching and receiving Jehanzeb suggested, changing the Controller to reference the CustomClassInstance as below, but this is the problem the CustomClass is so deep in the Display list that this is difficult

Re: [flexcoders] Event dispatching and receiving

2007-11-16 Thread duncan mcmillan
@yahoogroups.com Sent: Friday, 16 November, 2007 9:10:28 PM Subject: RE: [flexcoders] Event dispatching and receiving Menus are popups and not children of the application so the bubble won’t pass through the app. Listen to Application. application. systemManager From: [EMAIL PROTECTED] ups.com