Oops, I may have misled you. Looking at the call to the Httpservice, I see you are passing a username and password, so you need to add the .send() call to the button that is used to login. Adding it to the onComplete event means the user hasn't filled in their username and password - that definitely won't help.
Paul ----- Original Message ----- From: "Paul Andrews" <[EMAIL PROTECTED]> To: <flexcoders@yahoogroups.com> Sent: Tuesday, January 15, 2008 12:18 AM Subject: Re: [flexcoders] Re: List issues > Go back and check on the value xlMyListData. > > If you spend ten minutes trying to figure out the debugger, you'll find > progress much quicker and you'll truly appreciate how good Flex is. The > debugger will show you the values of your variables without having to put > in > trace statements. > > Paul > ----- Original Message ----- > From: "markcavins" <[EMAIL PROTECTED]> > To: <flexcoders@yahoogroups.com> > Sent: Tuesday, January 15, 2008 12:14 AM > Subject: [flexcoders] Re: List issues > > >> ok so I added a trace line >> >> trace("Hello from Flex Debugging!"); >> >> and when I refresh the page I can see that but there the reference to >> >> trace(_xlcMyListData.toXMLString()); >> >> returns nothing. >> >> So it is not getting anything from the function at all. So now I know >> that (why I have no idea but I will look at more examples). >> >> Thanks for talking it through. >> >> >> --- In flexcoders@yahoogroups.com, "Paul Andrews" <[EMAIL PROTECTED]> wrote: >>> >>> I doubt that you are far from success. Perhaps go with a few tutorials >>> (http://www.adobe.com/devnet/flex/quickstart/httpservice/) first before >>> setting off on your own. Flex is as cool as it gets. >>> >>> Paul >>> ----- Original Message ----- >>> From: "markcavins" <[EMAIL PROTECTED]> >>> To: <flexcoders@yahoogroups.com> >>> Sent: Monday, January 14, 2008 11:55 PM >>> Subject: [flexcoders] Re: List issues >>> >>> >>> > Thanks for the doc. I am actually using the trial of Flex 3 right now. >>> > I haven't decided if I want to use flex. if I can't get this app to >>> > work I will just go back to AJAX and PHP. >>> > >>> > >>> > --- In flexcoders@yahoogroups.com, "Paul Andrews" <paul@> wrote: >>> >> >>> >> You are using FlexBuilder? >>> >> >>> >> In which case check out the debugger that is part of flexbuilder: >>> >> http://learn.adobe.com/wiki/display/Flex/Debugging+tutorial >>> >> >>> >> (The tutorial is forFlex 3, but should help). >>> >> >>> >> Paul >>> >> ----- Original Message ----- >>> >> From: "markcavins" <markcavins@> >>> >> To: <flexcoders@yahoogroups.com> >>> >> Sent: Monday, January 14, 2008 11:30 PM >>> >> Subject: [flexcoders] Re: List issues >>> >> >>> >> >>> >> > Thanks for the suggestion and I appreciate that you give me more >>> >> > credit than I deserve but I am not sure what you are talking about. >>> >> > >>> >> > >>> >> > --- In flexcoders@yahoogroups.com, "Paul Andrews" <paul@> wrote: >>> >> >> >>> >> >> The debugger is your friend. Try putting a breakpoint on the >> result >>> >> > handler, >>> >> >> then look at what you get. >>> >> >> >>> >> >> Paul >>> >> >> ----- Original Message ----- >>> >> >> From: "markcavins" <markcavins@> >>> >> >> To: <flexcoders@yahoogroups.com> >>> >> >> Sent: Monday, January 14, 2008 11:19 PM >>> >> >> Subject: [flexcoders] Re: List issues >>> >> >> >>> >> >> >>> >> >> > Yep that killed that error. No results but error gone >> thanks. Silly >>> >> >> > spelling Monkee got me again >>> >> >> > >>> >> >> > --- In flexcoders@yahoogroups.com, "Paul Andrews" <paul@> wrote: >>> >> >> >> >>> >> >> >> Your result handler specifies a parameter 'Event' which >> should be >>> >> >> > 'event'. >>> >> >> >> >>> >> >> >> Haven't looked further. >>> >> >> >> >>> >> >> >> Paul >>> >> >> >> >>> >> >> >> ----- Original Message ----- >>> >> >> >> From: "markcavins" <markcavins@> >>> >> >> >> To: <flexcoders@yahoogroups.com> >>> >> >> >> Sent: Monday, January 14, 2008 11:07 PM >>> >> >> >> Subject: [flexcoders] Re: List issues >>> >> >> >> >>> >> >> >> >>> >> >> >> > There also seems to be an issue with this line in the as >>> >> >> >> > >>> >> >> >> > var xmlResult:XML = XML(event.result); >>> >> >> >> > >>> >> >> >> > I get a 1120 error. >>> >> >> >> > >>> >> >> >> > >>> >> >> >> > --- In flexcoders@yahoogroups.com, "Paul Andrews" <paul@> >> wrote: >>> >> >> >> >> >>> >> >> >> >> from the applicationcreation complete event perhaps? >>> >> >> >> >> >>> >> >> >> >> creationComplete="tempXML.send(); >>> >> >> >> >> >>> >> >> >> >> It's just that declaring the tempXML service doesn't fetch >>> >> > anything >>> >> >> >> > unless >>> >> >> >> >> you call the send() method, and there's no use of send() in >>> > your >>> >> >> > code. >>> >> >> >> >> >>> >> >> >> >> Paul >>> >> >> >> >> ----- Original Message ----- >>> >> >> >> >> From: "markcavins" <markcavins@> >>> >> >> >> >> To: <flexcoders@yahoogroups.com> >>> >> >> >> >> Sent: Monday, January 14, 2008 10:52 PM >>> >> >> >> >> Subject: [flexcoders] Re: List issues >>> >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> > Where would you use a send() in this case? >>> >> >> >> >> > >>> >> >> >> >> > >>> >> >> >> >> > --- In flexcoders@yahoogroups.com, "Paul Andrews" <paul@> >>> > wrote: >>> >> >> >> >> >> >>> >> >> >> >> >> You have remembered to call the send() method? >>> >> >> >> >> >> >>> >> >> >> >> >> Paul >>> >> >> >> >> >> ----- Original Message ----- >>> >> >> >> >> >> From: "markcavins" <markcavins@> >>> >> >> >> >> >> To: <flexcoders@yahoogroups.com> >>> >> >> >> >> >> Sent: Monday, January 14, 2008 10:25 PM >>> >> >> >> >> >> Subject: [flexcoders] List issues >>> >> >> >> >> >> >>> >> >> >> >> >> >>> >> >> >> >> >> >I am having the same issue of data not being >> returned into >>> >> >> > the app. >>> >> >> >> >> >> > >>> >> >> >> >> >> > <mx:HTTPService id="tempXML" resultFormat="e4x" >>> >> >> >> >> >> > result="onResult(event)" >>> >> >> >> >> >> > >>> >> >> >> >> > >>> >> >> >> > >>> >> >> > >>> >> > >>> > >> url="https://{customer.text}.mysite.net/interface.php?action=showopen&operation=showassets&format=xml&opstatus=crit&username={username.text}&password={password.text}" >>> >> >> >> >> >> > /> >>> >> >> >> >> >> > >>> >> >> >> >> >> > <mx:TileList dataProvider="{_xlcMyListData}" >>> >> >> >> >> >> > 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:Script> >>> >> >> >> >> >> > <![CDATA[ >>> >> >> >> >> >> > >>> >> >> >> >> >> > >>> >> >> >> >> >> > import mx.rpc.Events.ResultEvent; >>> >> >> >> >> >> > import mx.collections.XMLListCollection; >>> >> >> >> >> >> > >>> >> >> >> >> >> > [Bindable] >>> >> >> >> >> >> > private var _xlcMyListData:XMLListCollection; >>> >> >> >> >> >> > >>> >> >> >> >> >> > >>> >> >> >> >> >> > private function onResult(Event:ResultEvent):void { >>> >> >> >> >> >> > var xmlResult:XML = XML(event.result); >>> >> >> >> >> >> > var xlMyListData:XMLList = xmlResult.myListData; >>> >> >> >> >> >> > _xlcMyListData = new XMLListCollection(xlMyListData); >>> >> >> >> >> >> > trace(_xlcMyListData.toXMLString()); >>> >> >> >> >> >> > >>> >> >> >> >> >> > >>> >> >> >> >> >> > } >>> >> >> >> >> >> > >>> >> >> >> >> >> > ]]> >>> >> >> >> >> >> > </mx:Script> >>> >> >> >> >> >> > >>> >> >> >> >> >> > I've tried the >>> > dataProvider="{tempXML.lastResult.asset.fleet >>> >> >> > }" and >>> >> >> >> >> >> > when I first start the app I see nothing but then >> if I hit >>> >> >> > refresh >>> >> >> >> >> > I get >>> >> >> >> >> >> > >>> >> >> >> >> >> > [Object, object] >>> >> >> >> >> >> > >>> >> >> >> >> >> > as a response. I can look in firebug and see that I am >>> >> >> > getting the >>> >> >> >> >> >> > proper data. >>> >> >> >> >> >> > >>> >> >> >> >> >> > >>> >> >> >> >> >> > >>> >> >> >> >> >> > -- >>> >> >> >> >> >> > Flexcoders Mailing List >>> >> >> >> >> >> > FAQ: >>> >> >> >> > >> http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt >>> >> >> >> >> >> > Search Archives: >>> >> >> >> >> > http://www.mail-archive.com/flexcoders%40yahoogroups.com >>> >> >> >> >> >> > Yahoo! Groups Links >>> >> >> >> >> >> > >>> >> >> >> >> >> > >>> >> >> >> >> >> > >>> >> >> >> >> >> > >>> >> >> >> >> >> >>> >> >> >> >> > >>> >> >> >> >> > >>> >> >> >> >> > >>> >> >> >> >> > >>> >> >> >> >> > -- >>> >> >> >> >> > Flexcoders Mailing List >>> >> >> >> >> > FAQ: >>> >> >> > http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt >>> >> >> >> >> > Search Archives: >>> >> >> >> > http://www.mail-archive.com/flexcoders%40yahoogroups.com >>> >> >> >> >> > Yahoo! Groups Links >>> >> >> >> >> > >>> >> >> >> >> > >>> >> >> >> >> > >>> >> >> >> >> > >>> >> >> >> >> >>> >> >> >> > >>> >> >> >> > >>> >> >> >> > >>> >> >> >> > >>> >> >> >> > -- >>> >> >> >> > Flexcoders Mailing List >>> >> >> >> > FAQ: >>> >> > http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt >>> >> >> >> > Search Archives: >>> >> >> > http://www.mail-archive.com/flexcoders%40yahoogroups.com >>> >> >> >> > Yahoo! Groups Links >>> >> >> >> > >>> >> >> >> > >>> >> >> >> > >>> >> >> >> > >>> >> >> >> >>> >> >> > >>> >> >> > >>> >> >> > >>> >> >> > >>> >> >> > -- >>> >> >> > Flexcoders Mailing List >>> >> >> > FAQ: >>> > http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt >>> >> >> > Search Archives: >>> >> > http://www.mail-archive.com/flexcoders%40yahoogroups.com >>> >> >> > Yahoo! Groups Links >>> >> >> > >>> >> >> > >>> >> >> > >>> >> >> > >>> >> >> >>> >> > >>> >> > >>> >> > >>> >> > >>> >> > -- >>> >> > Flexcoders Mailing List >>> >> > FAQ: >> http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt >>> >> > Search Archives: >>> > http://www.mail-archive.com/flexcoders%40yahoogroups.com >>> >> > Yahoo! Groups Links >>> >> > >>> >> > >>> >> > >>> >> > >>> >> >>> > >>> > >>> > >>> > >>> > -- >>> > Flexcoders Mailing List >>> > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt >>> > Search Archives: >> http://www.mail-archive.com/flexcoders%40yahoogroups.com >>> > Yahoo! Groups Links >>> > >>> > >>> > >>> > >>> >> >> >> >> >> -- >> Flexcoders Mailing List >> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt >> Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com >> Yahoo! Groups Links >> >> >> >> > > > > -- > Flexcoders Mailing List > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt > Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com > Yahoo! Groups Links > > > >