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
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
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
3 matches
Mail list logo