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 [email protected] 
> <mailto:flexcoders%40yahoogroups.com>, Sheriff <[EMAIL PROTECTED]> wrote:
> >
> > it shouldnt be tempXML.lastResult, instead tempXML.result
> >
> >
> > ----- Original Message ----
> > From: markcavins <[EMAIL PROTECTED]>
> > To: [email protected] <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&amp;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>
> >
>
>  

Reply via email to