All the web services tutorials I have reviewed always demonstrate how to setup
the WebServicesConnector and bound to other input components on the stage (like
the textinput component). I want to bind from a variable value in my Flash
movie (ie; _level0.set_zone ) to somewheres in my WebServicesConnector. How
can I set this up within my binding bound to value field? Or is there another
location for doing this?
gordob - 28 Oct 2006 02:25 GMT
In other words....
gordob - 29 Oct 2006 20:51 GMT
I will answer my own question: Create an object. This code worked for me:
GetZoneDangerRoseByDay.params = new Object();
GetZoneDangerRoseByDay.params.ZoneNumber = _level0.set_zone;
gordob - 29 Oct 2006 21:06 GMT
Now I am wondering about after my web service sends a result back to my
WebServiceConnector. First I need know if the result is back, and then, I need
to access a peculiar returned result.
I think this will get the desired result:
_level0.GetZoneDangerRoseByDay.results.RoseColors
But I am unsure about the knowing when the result has been returned. Do I use
an onLoad method or a listener? Again I don't want the returned result sent to
a component, but to my Actionscript.
gordob - 30 Oct 2006 06:04 GMT
I guess I will answer my question again. It seems that a listener must be setup to reveal when a result has been returned from a Web Service cycle.