Avatar

Level 3
Can you show me the usage of
getTest.getWebObject.lastResult.ObjectTest.DD in the binding
statement? Note that this syntax does not call the method, it just
allows access to the lastResult of a particular operation (which
you either call like getTest.getWebObject(param1, param2) or
getTest.getWebObject.send() ).



Instead of using getWebObject.lastResult, can you write an
event handler for the result event on each operation and then
programmatically update a bindable variable or change whatever is
listening for the ObjectTest.DD property?



...

<mx:operation name="getWebObject" resultFormat="object"
result="handleGetWebObject(event)" />

...



<mx:Script>

<![CDATA[

private function handleGetWebObject(event:ResultEvent):void

{

var result:Object = event.result;

// Do something with the result as needed, such as updating
values

}

]]>

</mx:Script>



WebServices Arrays will become mx.collections.ArrayCollection
instances by default, which are bindable - however I'd need to see
what you're planning on doing in MXML/AS first.