RE: [flexcoders] dispatchEvent

2009-11-03 Thread Gregor Kiddie
Use binding? Gregor Kiddie Senior Developer INPS Tel: 01382 564343 Registered address: The Bread Factory, 1a Broughton Street, London SW8 3QJ Registered Number: 1788577 Registered in the UK Visit our Internet Web site at www.inps.co.uk blocked::http://www.inps.co.uk/ The

RE: [flexcoders] dispatchEvent

2009-11-03 Thread Jim Hayes
is it Watcher that you're looking for? something along these lines : (warning - straight off the top of my head so could well be wrong in detail at least. best check the docs) private function addWatcher():void {

RE: [flexcoders] dispatchEvent

2009-11-03 Thread Jim Hayes
ooops, maybe that should be ChangeWatcher. Apologies, I've just got off a 14 hour overnight flight in cattle class I'm afraid! -Original Message- From: flexcoders@yahoogroups.com on behalf of Jim Hayes Sent: Tue 11/3/2009 12:29 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders

Re: [flexcoders] dispatchevent question when in a custom component.

2007-06-06 Thread Roman Protsiuk
Why don't you use custom events? I use standard events in my components only in situations like something is changed - we notify about it using Event.CHANGE. But in most custom components custom events used (especially if some event specific information is sent along with it). R. On 6/5/07,

Re: [flexcoders] dispatchEvent troubles (Flex 2.0)

2005-11-03 Thread JesterXL
Just guessing, but your DataVO doesn't extend EventDispatcher, only Object; try extending him so you'll get all the addEventListener/removeEventListener/dispatchEvent functions. - Original Message - From: John Crosby To: flexcoders@yahoogroups.com Sent: Wednesday, November 02,

RE: [flexcoders] dispatchEvent troubles (Flex 2.0)

2005-11-03 Thread John Crosby
y, November 03, 2005 8:14 AMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] dispatchEvent troubles (Flex 2.0) Just guessing, but your DataVO doesn't extend EventDispatcher, only Object; try extending him so you'll get all the addEventListener/removeEventListener/dispatchEvent functions.

Re: [flexcoders] dispatchEvent troubles (Flex 2.0)

2005-11-03 Thread JesterXL
Er, don't know G, haven't done binding in Flex 2 yet, sorry! - Original Message - From: John Crosby To: flexcoders@yahoogroups.com Sent: Thursday, November 03, 2005 11:31 AM Subject: RE: [flexcoders] dispatchEvent troubles (Flex 2.0) Thanks! That removed the compile error

RE: [flexcoders] dispatchEvent with parameter

2005-08-22 Thread Allen Manning
componentName eventName=clicked(event.param)/ -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Stanislav Zayarsky Sent: 22 August 2005 15:15 To: flexcoders@yahoogroups.com Subject: [flexcoders] dispatchEvent with parameter Dear Flex Coders, I

Re: [flexcoders] dispatchEvent with parameter

2005-08-22 Thread Stanislav Zayarsky
Wow, It's working! Thanks a lot Allen! :) On 8/22/05, Allen Manning [EMAIL PROTECTED] wrote: componentName eventName=clicked(event.param)/ -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Stanislav Zayarsky Sent: 22 August 2005 15:15

RE: [flexcoders] dispatchEvent with parameter

2005-08-22 Thread Allen Manning
Hey np. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Stanislav Zayarsky Sent: 22 August 2005 16:00 To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] dispatchEvent with parameter Wow, It's working! Thanks a lot Allen! :) On 8/22/05

RE: [flexcoders] dispatchEvent in AS class?

2005-05-03 Thread Erik Westra
: [flexcoders] dispatchEvent in AS class? Add this as a static member: static var mixIt = EventDispatcher.initalize(SocketManager.prototype); - Original Message - From: Sean McKibben [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Friday, April 29, 2005 5:49 PM Subject: [flexcoders

Re: [flexcoders] dispatchEvent in AS class?

2005-05-03 Thread JesterXL
significantly less RAM. So, it is necessarey if you want a more efficient class. - Original Message - From: Erik Westra [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Tuesday, May 03, 2005 7:18 AM Subject: RE: [flexcoders] dispatchEvent in AS class? static var mixIt

RE: [flexcoders] dispatchEvent in AS class?

2005-05-03 Thread Erik Westra
Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of JesterXL Sent: dinsdag 3 mei 2005 16:43 To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] dispatchEvent in AS class? Doing this: EventDispatcher.initialize(this); Puts the addEventListener, removeEventListener

Re: [flexcoders] dispatchEvent in AS class?

2005-05-03 Thread JesterXL
Nope, after my 2nd cup of coffee I understand, didn't know it was a Singleton, doh! :: hits self on head :: - Original Message - From: Erik Westra [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Tuesday, May 03, 2005 10:49 AM Subject: RE: [flexcoders] dispatchEvent in AS class

Re: [flexcoders] dispatchEvent in AS class?

2005-05-03 Thread Joe Berkovitz
Westra [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Tuesday, May 03, 2005 10:49 AM Subject: RE: [flexcoders] dispatchEvent in AS class? Hmm, I think u are missing the point that this class is a singleton and thus only instantiated once. The constructor is private

RE: [flexcoders] dispatchEvent in AS class?

2005-05-03 Thread Matt Chotin
] On Behalf Of Joe Berkovitz Sent: Tuesday, May 03, 2005 2:04 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] dispatchEvent in AS class? I understand that it's a mixin, and how to mix it in, but I seem to remember Matt C. telling me that it could also just be directly extended. I'll

Re: [flexcoders] dispatchEvent in AS class?

2005-04-29 Thread Jeff Tapper
You need access to the EventDispatcher, which is natively mixed in with any UIObject subclass (which is why all MXML components can use it. You can either subclass your class from UIObject, or initialize the Event Dispatcher with your class. The latter would look like this: import

Re: [flexcoders] dispatchEvent in AS class?

2005-04-29 Thread JesterXL
Add this as a static member: static var mixIt = EventDispatcher.initalize(SocketManager.prototype); - Original Message - From: Sean McKibben [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Friday, April 29, 2005 5:49 PM Subject: [flexcoders] dispatchEvent in AS class? I'm