RE: [flexcoders] Re: Event Best Practices

2009-08-17 Thread Gordon Smith
Sorry... I didn't see that Valdhor had already explained this. - Gordon From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Gordon Smith Sent: Monday, August 17, 2009 2:15 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: Event Best Prac

RE: [flexcoders] Re: Event Best Practices

2009-08-17 Thread Gordon Smith
hoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Magnus Lassi Sent: Sunday, August 16, 2009 6:18 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: Event Best Practices that may be why you doesn't fire: http://livedocs.adobe.com/flex/3/html/help.html?content=createevents_3.html

[flexcoders] Re: Event Best Practices

2009-08-17 Thread jdizowat
Thanks for the help everybody. --- In flexcoders@yahoogroups.com, "valdhor" wrote: > > The problem is that pop-up windows are handled by the SystemManger. You need > to add your event listener to the system manager. In your application... > > this.systemManager.addEventListener(Your Event, your

[flexcoders] Re: Event Best Practices

2009-08-17 Thread valdhor
The problem is that pop-up windows are handled by the SystemManger. You need to add your event listener to the system manager. In your application... this.systemManager.addEventListener(Your Event, your event handler); --- In flexcoders@yahoogroups.com, "jdizowat" wrote: > > Thanks for all the

Re: [flexcoders] Re: Event Best Practices

2009-08-16 Thread Magnus Lassi
that may be why you doesn't fire: http://livedocs.adobe.com/flex/3/html/help.html?content=createevents_3.html You are required to override the Event.clone() method in your subclass. The clone() method returns a cloned copy of the event object by setting the typeproperty and any new properties in

[flexcoders] Re: Event Best Practices

2009-08-16 Thread jdizowat
It is a custom event and I did not override clone(). --- In flexcoders@yahoogroups.com, Magnus Lassi wrote: > > I don't see the event mentioned, is it a custom event you created or an > event in the framework? If it's a custom event, did you override the clone > function? > > On Fri, Aug 14, 200

Re: [flexcoders] Re: Event Best Practices

2009-08-15 Thread Magnus Lassi
I don't see the event mentioned, is it a custom event you created or an event in the framework? If it's a custom event, did you override the clone function? On Fri, Aug 14, 2009 at 3:15 PM, jdizowat wrote: > > > Thanks for all the help. I have exactly what you said, Jake. A little more > info -

[flexcoders] Re: Event Best Practices

2009-08-14 Thread jdizowat
Thanks for all the help. I have exactly what you said, Jake. A little more info - I have the following: - event never gets here - this tabcontainer handles it just fine - this is a popup titlewindow which dispatches the event I dispatch the event from the popped-up titlew

[flexcoders] Re: Event Best Practices

2009-08-14 Thread valdhor
Sure. I have way more nesting than that. Although it would look more like: For your events, set bubbling to true and the event will bubble up to the application level. HTH Steve --- In flexcoders@yahoogroups.com, "jdizowat" wrote: > > Super Noob Question Incoming - > > So i