> var myloader:URLLoader = new URLLoader();
> myloader.addEventListener(Event.COMPLETE, loadHandler);
> var token:AsyncToken = myloader.load(new URLRequest("getdata.com"));
> token.artist = "artist";
Maybe use a global dictionary with each instance of the loader as the
key:
public var dic:Dictionary = new Dictionary();
...
dic[myLoader] = "artist";
then in the COMPLETE handler, look it up:
var token:String = dic[URLLoader(event.target)];
HTH,
Ryan_._,___
This message is private and confidential. If you have received it in error,
please notify the sender and remove it from your system.