[flexcoders] dispatchEvent import

2010-06-04 Thread Marco Catunda
Hi, I'm learning swiz framework and stumble upon this code http://www.pastebin.org/307313 at http://www.briankotek.com/blog/files/swiz_10_rc_example/srcview/index.html My question is how could flex compiler understand the 'dispatchEvent' method in line 41 and 65? I haven't seen any explicit imp

RE: [flexcoders] dispatchEvent

2009-11-03 Thread Jim Hayes
m on behalf of Darrin Kay Sent: Tue 11/3/2009 10:51 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] dispatchEvent ok all i want to do is add a eventListner to a variable, so when it changes value I kick off a event... why is it so damm hard? I am using cairngorn, and the variable is

RE: [flexcoders] dispatchEvent

2009-11-03 Thread Jim Hayes
Sent: Tue 11/3/2009 10:51 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] dispatchEvent ok all i want to do is add a eventListner to a variable, so when it changes value I kick off a event... why is it so damm hard? I am using cairngorn, and the variable is in the model scope. Bu

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 http://www.inps.co.uk/> The information in thi

[flexcoders] dispatchEvent

2009-11-03 Thread Darrin Kay
ok all i want to do is add a eventListner to a variable, so when it changes value I kick off a event... why is it so damm hard? I am using cairngorn, and the variable is in the model scope. But I can not for the life of me figure how to get the dispatch / addeventlister to work and where it

[flexcoders] dispatchEvent - Can not seem to find correct import statement

2008-04-28 Thread j_roger_bentley
I am working with flex 2.01 using the 2.01 cairnagorm frame work. I am in the delegate. I have completed the service call and need to clean up and reset some data. I have a standard event (not cairnagorm event) which will refresh a list of open order. I would like to dispatch the event from t

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, Ro

[flexcoders] dispatchevent question when in a custom component.

2007-06-05 Thread Romain
Hi, I am making a custom mxml component, composed of a datagrid and a few buttons. I am potentially dispatching the following 2 events: [Event(name="btnClick", type="flash.events.MouseEvent")] [Event(name="rowClick", type="mx.events.ListEvent")] These events are thrown by event handlers on the ac

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 com

RE: [flexcoders] dispatchEvent troubles (Flex 2.0)

2005-11-03 Thread John Crosby
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of JesterXLSent: Thursday, 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; tr

Re: [flexcoders] dispatchEvent troubles (Flex 2.0)

2005-11-03 Thread JesterXL
ovember 02, 2005 10:41 PM Subject: [flexcoders] dispatchEvent troubles (Flex 2.0) I'm having trouble with dispatchEvent in an AS 3.0 Class:package com {        public class DataVO {        import flash.events.*;            ...    [Bindable("sampleChanged")]    publi

[flexcoders] dispatchEvent troubles (Flex 2.0)

2005-11-03 Thread John Crosby
I'm having trouble with dispatchEvent in an AS 3.0 Class: package com {         public class DataVO {         import flash.events.*;             ...     [Bindable("sampleChanged")]     public function get sample_ac():ArrayCollection     {         return _sample_ac;     }     public fu

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/

Re: [flexcoders] dispatchEvent with parameter

2005-08-22 Thread Stanislav Zayarsky
15 > To: flexcoders@yahoogroups.com > Subject: [flexcoders] dispatchEvent with parameter > > Dear Flex Coders, > > I have next small issue: I don't know how to dispatchEvent with > parameter from *.as custom component to Flex. > > Actually I know how to send parameter

RE: [flexcoders] dispatchEvent with parameter

2005-08-22 Thread Allen Manning
-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 have next small issue: I don't know h

[flexcoders] dispatchEvent with parameter

2005-08-22 Thread Stanislav Zayarsky
Dear Flex Coders, I have next small issue: I don't know how to dispatchEvent with parameter from *.as custom component to Flex. Actually I know how to send parameter from component, it should look like this: link.dispatchEvent({type:"eventName",param:"Hello World"}); But I don't know how to rec

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 ext

Re: [flexcoders] dispatchEvent in AS class?

2005-05-03 Thread Joe Berkovitz
type a bad word, > you'll be able to inherit, but for now, it's "attached". > > - Original Message - > From: "Joe Berkovitz" <[EMAIL PROTECTED]> > To: > Sent: Tuesday, May 03, 2005 11:01 AM > Subject: Re: [flexcoders] dispatchE

Re: [flexcoders] dispatchEvent in AS class?

2005-05-03 Thread JesterXL
Flex team considers prototype a bad word, you'll be able to inherit, but for now, it's "attached". - Original Message - From: "Joe Berkovitz" <[EMAIL PROTECTED]> To: Sent: Tuesday, May 03, 2005 11:01 AM Subject: Re: [flexcoders] dispatchE

Re: [flexcoders] dispatchEvent in AS class?

2005-05-03 Thread Joe Berkovitz
age - > From: "Erik Westra" <[EMAIL PROTECTED]> > To: > 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 o

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: 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 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
significantly less RAM. So, it is necessarey if you want a more efficient class. - Original Message - From: "Erik Westra" <[EMAIL PROTECTED]> To: Sent: Tuesday, May 03, 2005 7:18 AM Subject: RE: [flexcoders] dispatchEvent in AS class? >static var mixIt = EventD

RE: [flexcoders] dispatchEvent in AS class?

2005-05-03 Thread Erik Westra
Erik -Original Message----- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of JesterXL Sent: zaterdag 30 april 2005 0:48 To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] dispatchEvent in AS class? Add this as a static member: static var mixIt = EventDispatcher.initali

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: Sent: Friday, April 29, 2005 5:49 PM Subject: [flexcoders] dispatchEvent in AS class? I'm trying

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 mx.events.Ev

[flexcoders] dispatchEvent in AS class?

2005-04-29 Thread Sean McKibben
I'm trying to wrap an XMLSocket object in a singleton class to manage my (single) XMLSocket connection, but I can't seem to get it to throw any events. Is it that I need to put it into my .mxml file as a component or something? Right now it is just an actionScript class. I was wanting to stick t