Search the web
Sign In
New User? Sign Up
flexcoders · RIA Development with Adobe Flex
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
multiple data sources not loading except in MXMLapp   Message List  
Reply | Forward Message #130908 of 149585 |
RE: [flexcoders] multiple data sources not loading except in MXMLapp

Why do you want two?  You can, but do you really need to?

Tracy

 


From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of john fisher
Sent: Friday, November 21, 2008 2:38 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] multiple data 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 have also asked this on
> their forum)
> I find that I cannot load data (XML) using URLLoader or HTTPService from
> a subclass or MXML component. HTTPService works fine in my MXML app.
>
> Symptom:
> no error, var is null after loading.
>
> Am I hitting known limitations?
>
>
> John
>
>



Fri Nov 21, 2008 7:59 pm

nts333rd
Offline Offline
Send Email Send Email

Forward
Message #130908 of 149585 |
Expand Messages Author Sort by Date

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...
john fisher
jpfishersoft...
Offline Send Email
Nov 21, 2008
6:27 pm

OOps I am NOT able to get two HTTPServices working in one MXML app. Is there a way around this?...
john fisher
jpfishersoft...
Offline Send Email
Nov 21, 2008
7:38 pm

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...
Tracy Spratt
nts333rd
Offline Send Email
Nov 21, 2008
7:42 pm

are you using lastResult? with multiple calls this becomes problematic... ... -- Fotis Chatzinikos, Ph.D. Founder, Phinnovation Fotis.Chatzinikos@...,...
Fotis Chatzinikos
fotis.chatzi...
Offline Send Email
Nov 21, 2008
7:58 pm

Why do you want two? You can, but do you really need to? Tracy ________________________________ From: flexcoders@yahoogroups.com...
Tracy Spratt
nts333rd
Offline Send Email
Nov 21, 2008
7:43 pm

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....
john fisher
jpfishersoft...
Offline Send Email
Nov 21, 2008
8:41 pm

More info: I am following this http://livedocs.adobe.com/flex/3/html/data_access_2.html#195243 ...
john fisher
jpfishersoft...
Offline Send Email
Nov 21, 2008
10:44 pm

Theory looks good. Have you debugged to see if httpResult is being called? One problem, you are not seetting resultFormat="e4x" in the component code, so the...
Tracy Spratt
nts333rd
Offline Send Email
Nov 21, 2008
10:35 pm

... 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...
john fisher
jpfishersoft...
Offline Send Email
Nov 21, 2008
10:49 pm

"..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...
Tracy Spratt
nts333rd
Offline Send Email
Nov 21, 2008
11:15 pm

... I have breakpoints in the app: at service.send() and in the result handler and the do-something-else function that follows. Breakpoints ( see below) fire...
john fisher
jpfishersoft...
Offline Send Email
Nov 22, 2008
12:51 am

Tracy, Fotis... apologies. I set up the same experiment at home and it works fine. Of course because *there was no error message or event* grrrrrrrrr I wasted...
John Fisher
jpfishersoft...
Offline Send Email
Nov 23, 2008
11:49 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help