flash actionscript:
Hi I am trying to create a simple zip search box that links to a cgi script on a map search company's server. The company sent me the basic <form action="http://thesitenamehere.cgi" method ="get" name="zipsearch" id="zipsearch"> I can create the form using HTML, but my site is only using Flash. I created a input text box, but don't know what kind of Flash code I need. Basically the user is suppose to type in their zip code and hit enter. The zip field is linked to a map search company. Unfortunately the company doesn't know the code for Flash. Thanks
You need just one more piece of information, the name of the zip code HTML text field. That is, <input type=text name=[this value]> Then in your Flash, set the variable name of your input text field to [this value]. Call geturl("http://thesitenamehere.cgi", "_blank", "GET"), and your variables will automatically be submitted.
You'll need one more piece of information, the zip code HTML text field name. That is, the part in []s: <input type=text name=[zipcodename] size=5> Then in Flash, make an _input_ text field and set the variable name (not the instance name) to [zipcodename]. When you call geturl(), all your variables will automatically be submitted, e.g. geturl("http://thesitenamehere.cgi", "_blank", "GET");
Don't see what you're looking for? Try a search.
|