I find sollution, I am not sure (I would like from someone to confirm this), but I think when I use HTTPService.send( ) i can pass parametar:Object, this is not so bad because object i generic type that can have multiple different types.
How I manage to pass variable is like this 1. first define var type Object 2. create variable member of this Object 3. send object (and variable inside) like this var params:Object = new Object(); params.konacno = vrijednost.toString(); // "vrijednost" is result of Combo Box selection done by user listaPodKategorija.send(params); I have to say that in my PHP file I recive this value like this $parametar = $_GET["konacno"]; then I use this variable $parametar for database query like this $Query = "SELECT ImePodkategorije from podkategorije where IdKategorije = '$parametar'"; This works I hope this will help to some one, but please looking for comment of some experience flex developers Thx in advance Goran On Dec 2, 9:43 pm, explorer <[email protected]> wrote: > This parameters, what kind of variable is that, can I use binding. I > want to binde selected valeu of ComboBox to send as parameter with > HTTPService to php. This php script will use this as variable for > creating certain query on database. When I manualy set variable I get > result, but I can t send parametar with call. > > On Dec 2, 8:06 pm, vicky <[email protected]> wrote: > > > > > You can use.... > > > listaPodKategorija.send(parameters.....) > > > The send API of httpservice class lets you send the parameters with > > the call. > > > Hope this helps. > > Vicky > > > On Dec 2, 11:03 am, explorer <[email protected]> wrote: > > > > Hello, > > > > I need to send parametar to my php file. > > > > I have define HTTPService like this > > > > <mx:HTTPService id="listaPodKategorija" > > > useProxy="false" > > > url="http://localhost/skripte/listaPodKategorija.php" > > > result="podkategorijeHandler(event)" > > > resultFormat="text" > > > showBusyCursor="true"> > > > <mx:request xmlns=""> > > > <mx:vrijednost> > > > {vrijednost} > > > </mx:vrijednost> > > > </mx:request> > > > </mx:HTTPService> > > > > later in function I call this service like > > > > listaPodKategorija.send(); > > > > but as I can see my php file don t get this parametar. > > > > any idea- Hide quoted text - > > > - Show quoted text -- Hide quoted text - > > - Show quoted text - -- You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/flex_india?hl=en.

