You should use something along these lines: import mx.utils.Delegate; function onResponseComplete(success:Boolean):Void { // Do something in response. } var request:LoadVars = new LoadVars(); // Set up variables in request. var response = new LoadVars(); response.onLoad = Delegate.create(this, onResponseComplete); request.sendAndLoad(url, response);
― Mike Keesey _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com