Re: [flexcoders] Several HTTP request in the same component

2011-08-05 Thread Isabelle Loyer Perso













[flexcoders] Several HTTP request in the same component

2011-08-04 Thread Isabelle Loyer Perso
Dear Flexer,

In my case, I'd like to populate textinput and combox witch data who are 
storing in mySQL databata.

Today I use httpService to do a request in one table and the result is 
in e4x format.

But actually, I need to do some request to populate several combobox.

Can you explain how to do that.

Must I done all request in the same php file or is it possible to do 
several http request before open a new windows ( I made an AIR app).

Thanks for answer.


Re: [flexcoders] Several HTTP request in the same component

2011-08-04 Thread Tandon, Rishi
You can set the result format of the HTTP to Object.
When you receive the request from the HTTP, you can store in the individual 
data collections.
And then you can bind those variables to the data providers of your comboboxes.

Usually we do use some MVC framework to handle data, events and views.

Rishi

.

From: Isabelle Loyer Perso isa_lo...@yahoo.fr
To: flexcoders@yahoogroups.com
Sent: Thursday, August 4, 2011 1:13 PM
Subject: [flexcoders] Several HTTP request in the same component


  
Dear Flexer,

In my case, I'd like to populate textinput and combox witch data who are 
storing in mySQL databata.

Today I use httpService to do a request in one table and the result is 
in e4x format.

But actually, I need to do some request to populate several combobox.

Can you explain how to do that.

Must I done all request in the same php file or is it possible to do 
several http request before open a new windows ( I made an AIR app).

Thanks for answer.