Buha124a
03-14-2008, 07:55 PM
Hey guys,
I'm new to flex and I'm stuck with a small problem...
i have a XML file which is the output of a MySQL table. Now, i have a httpservice that loads this XML file then with the result event send the data to a datagrid. Now the problem is that the table is getting updated once an hour and the XML that it outputs also gets updated, to get the table updated i wanted to add a "refresh" button to reload the data from the new XML file and show it on the datagrid.. i tried calling the send() function of the httpservice after clicking on the refresh button and then use the arraycollection refresh() but no luck there..
Is there any way to get the httpservice reload the XML file and then update the datagrid to show it?
Thank you for taking the time to trying to help me ;)
I'm new to flex and I'm stuck with a small problem...
i have a XML file which is the output of a MySQL table. Now, i have a httpservice that loads this XML file then with the result event send the data to a datagrid. Now the problem is that the table is getting updated once an hour and the XML that it outputs also gets updated, to get the table updated i wanted to add a "refresh" button to reload the data from the new XML file and show it on the datagrid.. i tried calling the send() function of the httpservice after clicking on the refresh button and then use the arraycollection refresh() but no luck there..
Is there any way to get the httpservice reload the XML file and then update the datagrid to show it?
Thank you for taking the time to trying to help me ;)