You could try
source="{XML(xml_httpservice_q1.lastResult).resultaat}"
________________________________
From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of cedric_colpaert
Sent: Saturday, June 07, 2008 4:06 AM
To: [email protected]
Subject: [flexcoders] reload data received from HTTPService
(XMLListCollection)
How do I reload data received from HTTPService?
<mx:HTTPService id="xml_httpservice_q1"
url="q1.php?randomnumber=(randomnumber)" resultFormat="e4x"/>
<mx:XMLListCollection id="xml_result_q1"
source="{xml_httpservice_q1.lastResult.resultaat}"/>
and on creationComplete: xml_httpservice_q1.send();
I get the XML data, no problem there.
when I perform xml_httpservice_q1.send(); a second time (I want to
reload the data from the q1.php since it has changed), I receive the
following error:
warning: unable to bind to property 'resultaat' on class 'XML' (class
is not an IEventDispatcher)