Re: [flexcoders] multiple data sources not loading except in MXMLapp

2008-11-21 Thread john fisher
OOps I am NOT able to get two HTTPServices working in one MXML app. Is there a way around this? john fisher wrote: > The problem: > I have multiple data sources and multiple visualizations planned. > I am using the Flare libraries for some ( and I have also asked this on > their forum) > I find th

RE: [flexcoders] multiple data sources not loading except in MXMLapp

2008-11-21 Thread Tracy Spratt
No, you are doing something wrong. But you have not given us much to work with. I do not know the Flare libraries. "var is null after loading"? You understand that RPC calls are asynchronous? Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTE

RE: [flexcoders] multiple data sources not loading except in MXMLapp

2008-11-21 Thread Tracy Spratt
sources not loading except in MXMLapp OOps I am NOT able to get two HTTPServices working in one MXML app. Is there a way around this? john fisher wrote: > The problem: > I have multiple data sources and multiple visualizations planned. > I am using the Flare libraries for some ( and I

Re: [flexcoders] multiple data sources not loading except in MXMLapp

2008-11-21 Thread Fotis Chatzinikos
are you using lastResult? with multiple calls this becomes problematic... On Fri, Nov 21, 2008 at 9:59 PM, Tracy Spratt <[EMAIL PROTECTED]> wrote: >No, you are doing something wrong. But you have not given us much to > work with. I do not know the Flare libraries. > > > > "var is null after

Re: [flexcoders] multiple data sources not loading except in MXMLapp

2008-11-21 Thread john fisher
great. good news = " I am doing something wrong" never mind Flare - the data is never getting there... here's what I have: an xml source and a graphml source. Each will drive a visualization. Maybe more sources to come... here's what I want to do: make a class or component for each type of visua

RE: [flexcoders] multiple data sources not loading except in MXMLapp

2008-11-21 Thread Tracy Spratt
Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of john fisher Sent: Friday, November 21, 2008 3:42 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] multiple data sources not loading except in MXMLapp great. good news = &q

Re: [flexcoders] multiple data sources not loading except in MXMLapp

2008-11-21 Thread john fisher
More info: I am following this http://livedocs.adobe.com/flex/3/html/data_access_2.html#195243 ( see below) and I have left out two things I see- "destination" and pa

Re: [flexcoders] multiple data sources not loading except in MXMLapp

2008-11-21 Thread john fisher
Tracy Spratt wrote: > Have you debugged to see if httpResult is being called? > thats it exactly, it never gets called I added the "e4x" and no difference. When debugging it just jumps from service.send() to the next function in the init file. I think I should make a dummy mxml app and see

RE: [flexcoders] multiple data sources not loading except in MXMLapp

2008-11-21 Thread Tracy Spratt
vember 21, 2008 5:49 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] multiple data sources not loading except in MXMLapp Tracy Spratt wrote: > Have you debugged to see if httpResult is being called? > thats it exactly, it never gets called I added the "e4x" and n

Re: [flexcoders] multiple data sources not loading except in MXMLapp

2008-11-21 Thread john fisher
Tracy Spratt wrote: > "..it just jumps from service.send()to the next function in the init > file ...", that is normal, because of the async nature of RPC calls. > The code does NOT wait until the call returns. How are you debugging? > You need a breakpoint or trace or alert in the handler. >

Re: [flexcoders] multiple data sources not loading except in MXMLapp

2008-11-23 Thread John Fisher
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of john fisher > Sent: Friday, November 21, 2008 5:49 PM > To: flexcoders@yahoogroups.com > Subject: Re: [flexcoders] multiple data sources not loading except in > MXMLapp > > > > > > Trac