all groups > flash data integration > april 2005 >
You're in the

flash data integration

group:

Passing a parameter to a Web service when a button is clicked


Passing a parameter to a Web service when a button is clicked Locutus
4/12/2005 9:48:49 PM
flash data integration:
I;m working on a project where I have a series of buttons. Each button
represnts a country, and the idea is that when a button is clicked, a list of
institutions belonging to the country represented by the clicked button appears
on the data grid. OK, so I create my databases, I create my web services, and
eveything is fine whn I test in on a web page. Being very new to Flash I read
the tutorials, connect the Web service, add the data grid with the wizard, bind
the parameter for the Web service connector as a constant, add the trigger to
the onclick event of the button, and it works. My next step was to elimnate
the contatn value, and add a bunch of buttons, each with a different value, and
here I run into problems. I have no idea on how to bind the web service
connector, or how to do that for multiple buttons. Is there a way I can
programatically change the valure of a binding to a constant? That way
whenever a button is clicked, I could change the value of the parameter, and
get a different result for each button. TIA Manuel
Re: Passing a parameter to a Web service when a button is clicked Locutus
4/14/2005 8:45:13 PM
AddThis Social Bookmark Button