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
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
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
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
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
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
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
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
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
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
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
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
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/
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
-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
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
] 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
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
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
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
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?
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
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
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
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
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
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
27 matches
Mail list logo