Re: [Flashcoders] Class broadcasting Question...

2007-05-21 Thread Alain Rousseau
You forgot to add a listener ! :) in the timeline code : bar.AddListener(this); and it will listen to all event broadcasted by your Login Class. Note that it's AddListener not AddEventListener as you're using AsBroadcaster. As easy as that ! HTH Alain eric e. dolecki wrote: This may

Re: [Flashcoders] Class broadcasting Question...

2007-05-21 Thread sean
Hi Eric, first suggestion. Unless there is a really good reason not to, loose the AsBroadcaster class. It is unreliable and has been well an truely replaced by EventDispatcher. You can import this into your class, set up an event dispatcher Object, add event listeners and then dispatchEvent in

Re: [Flashcoders] Class broadcasting Question...

2007-05-21 Thread eric e. dolecki
YES YES YES YES YES - thank you. I am a moron forgot completely about EventDispatcher. Thats the ticket and its SO much better :) On 5/21/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi Eric, first suggestion. Unless there is a really good reason not to, loose the AsBroadcaster class. It