I seemed to have solved this Alex, with the combination of bubbles=true and 
Application .addEvent...etc

Thanks anyway...god this flexgroup is so responsive it's unbelievable! Keep up 
the good work.

Duncan




----- Original Message ----
From: Alex Harui <[EMAIL PROTECTED]>
To: [email protected]
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 [mailto:flexcoders@ yahoogroups. com] On Behalf 
Of duncan mcmillan
Sent: Friday, November 16, 2007 10:47 AM
To: [EMAIL PROTECTED] ups.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 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 <p.ginneberge@ telenet.be>
To: [EMAIL PROTECTED] ups.com
Sent: Friday, 16 November, 2007 6:14:27 PM
Subject: Re: [flexcoders] Event dispatching and receiving

----- Original Message ----- 
From: "Steve Hueners" <[EMAIL PROTECTED] ex.com>
To: <[EMAIL PROTECTED] ups.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 ;-)

> On 11/16/07, Muzak <p.ginneberge@ telenet.be> 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/flexcoder sFAQ.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/ 



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

Reply via email to