Re: [Flashcoders] Reporting load success from a delegate

2006-08-10 Thread Jeroen Beckers
You can use the EventDispatcher. import mx.utils.Delegate; //import the EventDispatcher class import mx.events.EventDispatcher; class myClass { private var myxml:XML; //declare the functions private var dispatchEvent:Function; public var addEventListener:Function; public

Re: [Flashcoders] Reporting load success from a delegate

2006-08-10 Thread Jeroen Beckers
Oh, sorry, i switched 2 lines, the explanation is about the .target property, not the .success property. Jeroen Beckers wrote: You can use the EventDispatcher. import mx.utils.Delegate; //import the EventDispatcher class import mx.events.EventDispatcher; class myClass { private var

RE: [Flashcoders] Reporting load success from a delegate

2006-08-10 Thread Darren Bowers
Cheers Jeroen - works great! -Original Message- From: Jeroen Beckers [mailto:[EMAIL PROTECTED] Sent: Thursday, 10 August 2006 11:42 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Reporting load success from a delegate Oh, sorry, i switched 2 lines, the explanation is about