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 programmatically. I thought 
that if you declared the Custom Event using Metatags that anyClass could handle 
it? This is what I am having a problem with?? Any furthe suggestions??



In the Controller Class { 
public function init() { 
customClassInstance .addEventListene r
("menuitemClicked" ,
menuitemClickHandle r);
}


Thanks again

Duncan


----- Original Message ----
From: Muzak <[EMAIL PROTECTED]>
To: [email protected]
Sent: Friday, 16 November, 2007 6:14:27 PM
Subject: Re: [flexcoders] Event dispatching and receiving


----- Original Message ----- 
From: "Steve Hueners" <[EMAIL PROTECTED]>
To: <[email protected]>
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 ;-)

> 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 instance not on the display list do not 
>> bubble.
>>
>> regards,
>> Muzak
>


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links




      ___________________________________________________________
Yahoo! Answers - Got a question? Someone out there knows the answer. Try it
now.
http://uk.answers.yahoo.com/ 

Reply via email to