client.call() and responder question
I'm trying to create an application where my client (swf client) calls the server (creates a connection). then I want the server to call a url to load some xml data. When that data gets loaded, I want a response to go back to my swf client. Some of what I'm doing works, but I've had trouble stringing it all together.
1. new netConnection() -- all good
2. (server) acceptConnection -- all good
3. (server) client.xmlLoad -- all good
4. swf client... waiting ... waiting...but no one calls. ![]()
I set up a responder
nc.call ("loadXML",responder,"somedata");
and magically, the responder callback method fires. but seemingly on its own. My server side script is not making any returns. and it's not getting any data.
can someone respond with some basics of how things should be set up? I'm not sure how to call the swf client from within the xml.onLoad() method, which is when I know for certain that my xml request has finished processing.
