I had the same scenario.
Since I am using Cairngorm, so I used its event dispatching mechanism
which worked fine.
- To dispatch event:
CairngormEventDispatcher.getInstance().dispatchEvent(new
CairngormEvent("abc"));
- To listen for the event:
CairngormEventDispatcher.getInstance().addEventListener
("abc",listenerFunction);
Try it out, this should work.
On Feb 23, 2007, at 2:04 AM, Paul J DeCoursey wrote:
I have some classes that are EventDispatcher but not DisplayObjects. I
have maybe 10 or 15 of these classes and a few of them will not bubble
events to the SystemManager. I have created the Events to bubble but
they will not. If I listen on the object I receive them. My problem is
the Objects I want to receive the events on don't know about the
Objects
that dispatch them and I don't want them to know about them. Has
anyone
had a problem like this?
Paul