Thanks for the response. I took a look at the docs and some other
sites and made some of the changes

<mx:HTTPService  id="tempXML"
url="https://mysite.net/interface.php?action=showopen&amp;operation=showassets&amp;format=xml&amp;opstatus=defect&amp;rand=12345645647";
></mx:HTTPService>
        
        <mx:TileList dataProvider="{tempXML.asset.fleet}" 
                width="344" backgroundColor="#000000" color="#ff0000" 
fontSize="27"
borderColor="#000000" columnWidth="300" rowHeight="50"
themeColor="#808080" fontWeight="bold" allowMultipleSelection="true" 
id="TileList1" height="0" y="202" x="178"/>
                

<mx:Button label="Refresh Page Now" height="27" fillAlphas="[1.0,
1.0]" fillColors="[#030000, #030000, #474545, #474545]"
borderColor="#DCDEDF" click="HTTPService.send()"/>
        

but now I'm getting 2 errors 


1061: Call to a possibly undefined method send through a reference
with static type Class. 

1119: Access of possibly undefined property asset through a reference
with static type mx.rpc.http.mxml:HTTPService.  


I am trying to find the reason for that problem it seems it doesn't
like the services being used with the TileList. Still trying to see
what's going on now.



--- In [email protected], Alger Werft <[EMAIL PROTECTED]> wrote:
>
> Use <mx:HttpService id="httpService"/> to load the XML.
> 
> Take a look at 
>
http://livedocs.adobe.com/flex/2/langref/mx/rpc/http/mxml/HTTPService.html#includeExamplesSummary
> 
> When clicking the button, call httpService.send() again.
> 
> 
> Alger
> 
> 
> markcavins wrote:
> > 
> > 
> > Hello,
> > 
> > I am trying to reset the data when a user clicks on a button but have
> > made no headway on getting this done
> > 
> > at first I create the initial view
> > 
> > <mx:XML id="tempXML"
> >
source="https://mysite.net/interface.php?action=showopen&amp;operation=showassets&amp;format=xml&amp;opstatus=defect

> >
<https://mysite.net/interface.php?action=showopen&amp;operation=showassets&amp;format=xml&amp;opstatus=defect>"
> > />
> > 
> > <mx:TileList dataProvider="{tempXML.asset.fleet}"
> > width="344" backgroundColor="#000000" color="#ff0000" fontSize="27"
> > borderColor="#000000" columnWidth="300" rowHeight="50"
> > themeColor="#808080" fontWeight="bold" allowMultipleSelection="true"
> > id="TileList1" height="0" y="202" x="178"/>
> > 
> > 
> > All of my data shows up and everthing here is hunky dory. However,
> > when I click on the button to update
> >
https://mysite.net/interface.php?action=showopen&amp;operation=showassets&amp;format=xml&amp;opstatus=defect

> >
<https://mysite.net/interface.php?action=showopen&amp;operation=showassets&amp;format=xml&amp;opstatus=defect>
> > (Users make repairs from a separate website this applications simply
> > sits in a room and the user can click a button to see if their repairs
> > are done or not or else a 5 minute timer will also update the page).
> > 
> > all I need to do is completly refresh this url source so people can
> > see if the repair is done or not and I can not get the page to repost
> > the data.
> > 
> > I have tried to use refresh and I get the following error
> > 
> > 3594: refresh is not a recognized method of the dynamic class XML.
> > 
> > I am totally a noob at this and have read way too many tutorials and I
> > still don't get the way to get this accomplished. I would appreciate
> > any help anyone could give.
> > 
> >
>


Reply via email to