This is the XML output for each asset <asset id="aa44"> <name>333CCC</name> <tag>abc232</tag> <vin>11111111</vin> <fleet>0052</fleet> <type id="0">Standard</type> <subtype id="4">STANDARD</subtype> <exsid/> <mileage>1946</mileage> <location>Home</location> <mileoffset>0</mileoffset> <radioaddress/> <mfg>GMC</mfg> <inservice></inservice> <inspdate id="555" type="34343">12/10/2002</inspdate> − <yardstat> <yard/> <stat timestamp="0"></stat> </yardstat> <opstatus timestamp="1190311036">1325465465</opstatus> <gps></gps> <homeloi/> </asset>
All I am looking for is just that asset name. --- In flexcoders@yahoogroups.com, Alger Werft <[EMAIL PROTECTED]> wrote: > > To clarify: > http://livedocs.adobe.com/labs/flex3/langref/mx/rpc/http/mxml/HTTPService.html > > There's a lastResult property but no result! > > There's a result event which is fired when the HTTP response is loaded. > This event has a result property. > http://livedocs.adobe.com/labs/flex3/langref/mx/rpc/events/ResultEvent.html > > > What's the structure of your XML? > > > markcavins schrieb: > > > > In that case I get the following error > > > > 1119: Access of possibly undefined property result through a reference > > with static type mx.rpc.http.mxml:HTTPService. > > > > --- In flexcoders@yahoogroups.com > > <mailto:flexcoders%40yahoogroups.com>, Sheriff <sherif626@> wrote: > > > > > > it shouldnt be tempXML.lastResult, instead tempXML.result > > > > > > > > > ----- Original Message ---- > > > From: markcavins <markcavins@> > > > To: flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> > > > Sent: Thursday, January 10, 2008 3:40:58 PM > > > Subject: [flexcoders] XML List problems > > > > > > I have had some help from some others on this issue but the battle > > > continues and I am perplexed as to why this might be happening. > > > > > > I am grabbing a HTTPService from my site > > > > > > <mx:HTTPService id="tempXML" > > > url="https://mysite. net/interface. php?action= showopen& > > amp;operation= showassets& amp;format= xml&opstatus =crit" > > > /> > > > > > > and displaying it in a TileList > > > > > > <mx:TileList dataProvider= "{tempXML. lastResult. asset.fleet} " > > > width="344" backgroundColor= "#000000" color="#ff0000" fontSize="27" > > > borderColor= "#000000" columnWidth= "300" rowHeight="50" > > > themeColor=" #808080" fontWeight=" bold" allowMultipleSelect ion="true" > > > id="TileList1" height="0" y="202" x="178"/> > > > > > > and then refreshing the data every 5 minutes or when a user pushes a > > > button. > > > > > > before I was trying to call the data with a mx:XML and the data was > > > displaying but the data would not refresh. Looking through the docs it > > > seems that that is the expected response. changing to the Service > > > request I can look through firebug and see that the request is being > > > made and that the server is returning the proper xml but now the > > > TileList is not displaying any information. > > > > > > I have tried to look through the docs to see what might be the cause > > > but not solution has presented itself. > > > > > > > > > > > > > > > > > > > > __________________________________________________________ > > > Looking for last minute shopping deals? > > > Find them fast with Yahoo! Search. > > http://tools.search.yahoo.com/newsearch/category.php?category=shopping > > <http://tools.search.yahoo.com/newsearch/category.php?category=shopping> > > > > > > > >