[flexcoders] Re: how to wait for one event to finish?

2009-08-28 Thread nathanleewei
sorry, my mistake! import flash.events.EventDispatcher; public class MessageEventBus extends EventDispatcher { --- In flexcoders@yahoogroups.com, coder3 rrhu...@... wrote: i see that you create a singlton to dispatch and addeventlistener. that makes sense. but what is this class

[flexcoders] Re: how to wait for one event to finish?

2009-08-26 Thread nathanleewei
public class MessageEventBus extends EventListener { public static getInstance(): MessageEventBus { } } // public class ParentApplication { var messageEventBus:MessageEventBus = MessageEventBus.getInstance(); public ParentApplication { } public function

[flexcoders] Re: how to wait for one event to finish?

2009-08-20 Thread vishwas_gagrani
--- In flexcoders@yahoogroups.com, coder3 rrhu...@... wrote: Hi I have a module, that needs to wait for the parentApplication to finish the httpservice so that it can get the data and do some stuff. so the httpservice has a result handling function, how can the module know when to