473,405 Members | 2,334 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

form GET method on submit parameter name problems!

daJunkCollector
Hey,

I am trying to use MapQuest's directions forms from my flash website. The code that they provide for you is basic html.

I am trying to send the form from inside a flash movie. The code is very simple:

var my_lv:LoadVars = new LoadVars();
my_lv.go = "1";
my_lv.2a = "555 Giffin Avenue";
my_lv.2c = "Canonsburg";
my_lv.2s= "PA";
my_lv.2z= "15317";
my_lv.2y= "US";
my_lv.1a = "555 Cherry Street";
my_lv.1c = "Pottsville";
my_lv.1s = "PA";
my_lv.1z = "17901";
my_lv.1y= "US";
my_lv.CID = "lfddwid";
_root.my_lv.send("http://www.mapquest.com/directions/main.adp", "_blank", "GET");


This should send with no problem and load up directions on mapquest.com. The problem is that FLASH will not let me specify the parameter names "2a, 2c, 2s, 2z, 2y, 1a, 1c, 1s, 1z, or 1y". I think this is because they parameter names begin with a numeric character!! But mapquest required these paramter names to function!!!!!

I am so mad how something so simple can give trouble. Please provide help if you have a suggestion.

BTW... i tried:

var destinationAddress = "1a";
my_lv._root.destinationAddress = "US";

Big surprise. Flash sucks. Thanks.
Jan 31 '08 #1
3 3328
bump bump bump bump

help me please
Feb 1 '08 #2
puke...i just puked in my mouth
Feb 1 '08 #3
nomad
664 Expert 512MB
Hey,

I am trying to use MapQuest's directions forms from my flash website. The code that they provide for you is basic html.

I am trying to send the form from inside a flash movie. The code is very simple:

var my_lv:LoadVars = new LoadVars();
my_lv.go = "1";
my_lv.2a = "555 Giffin Avenue";
my_lv.2c = "Canonsburg";
my_lv.2s= "PA";
my_lv.2z= "15317";
my_lv.2y= "US";
my_lv.1a = "555 Cherry Street";
my_lv.1c = "Pottsville";
my_lv.1s = "PA";
my_lv.1z = "17901";
my_lv.1y= "US";
my_lv.CID = "lfddwid";
_root.my_lv.send("http://www.mapquest.com/directions/main.adp", "_blank", "GET");


This should send with no problem and load up directions on mapquest.com. The problem is that FLASH will not let me specify the parameter names "2a, 2c, 2s, 2z, 2y, 1a, 1c, 1s, 1z, or 1y". I think this is because they parameter names begin with a numeric character!! But mapquest required these paramter names to function!!!!!

I am so mad how something so simple can give trouble. Please provide help if you have a suggestion.

BTW... i tried:

var destinationAddress = "1a";
my_lv._root.destinationAddress = "US";

Big surprise. Flash sucks. Thanks.
trying String values. and or an array with string values
Feb 3 '08 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Willoughby Bridge | last post by:
Hi - Having trouble getting a multipart series of forms to move to the next form. The problem line is: <form method="post" enctype="multipart/form-data" action="Data_Form1.php"> If the...
1
by: Michael Brennan-White | last post by:
If I submit my for using a get action the resulting page loads . If I use a post action I get an error page saying "The page cannot be found". I am calling the originating page!!! This happens...
13
by: Dan R Brown | last post by:
I have a large form that is generated dynamically in a jsp using xml / xslt. So, to break up this form into several "tabbed" sections, I break up the form using <div> tags. Each <div...
10
by: Gregory A Greenman | last post by:
I'm trying to write a program in vb.net to automate filling out a series of forms on a website. There are three forms I need to fill out in sequence. The first one is urlencoded. My program is...
15
by: M Smith | last post by:
I have a form I want to submit to itself. I want to be able to type in a list of numbers and submit the form and have that list show up on the same form under the text box I typed them into and...
2
by: Martin Nadoll | last post by:
Hello, i try to submit a form with textlink like this snippet: <a href="javascript:document.bestellen.submit()">bestellen</a> <form name="bestellen" method="post"...
3
by: jethro_uk | last post by:
Hi there, I have a bizarre problem with FORM variables in ASP. Scenario using VI6, IE6, Windows2000 server: MyPage.ASP: .. .. ..
6
by: Mark | last post by:
so after much searching, and thinking, and pondering and planning, i came up with this most amazing thing, and then realized one major flaw which i was hoping you guys might help me overcome. ...
27
by: Chris | last post by:
Hi, I have a form for uploading documents and inserting the data into a mysql db. I would like to validate the form. I have tried a couple of Javascript form validation functions, but it...
3
scubak1w1
by: scubak1w1 | last post by:
Hello, I posted this in the HTML forum, but it was suggested I post it over here as well by a moderator. I have a form that will not 'fire' in non-IE browsers?? I have poked and poked at the code...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.