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

2009-08-20 Thread coder3
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 get the result? i guess i need to use eventlistener, how? thanks! c --

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

2009-08-27 Thread coder3
i see that you create a singlton to dispatch and addeventlistener. that makes sense. but what is this class EventListener? thanks!! c nathanleewei-2 wrote: > > public class MessageEventBus extends EventListener { > public static getInstance(): MessageEventBus { > > } > } > // >