Hello,
What I basically want to know is how to link input fields from your flash file to the input fields of google maps (to determne the route)…This is already done at this website, and i’m wondering if anyone can tell me how this works.
thanks in advance
check the google maps website. there is a google maps .api for flash.
jupz I saw that as well, but is this the only way, because I dont understand much of this, and it I dont think I want to put in that many efford to try and understand it…mainly because I dont have the time.
The code that the site that i was referring to uses is the following:
verzendknop.onRelease = function ()
{
var _loc1 = "";
if (weergaven_satelliet.value == true)
{
_loc1 = "k";
}
else if (weergaven_combinatie.value == true)
{
_loc1 = "h";
} // end else if
getURL("http://maps.google.nl/maps?f=d&hl=nl&daddr=koningsplein+16,+Ridderkerk&saddr=" + adres.text + "+" + huisnummer.text + ",+" + plaats.text + "&ie=UTF8&z=10&om=1&t=" + _loc1 + "", "_blank");
};
The following part refers to the satelite or card navigation that I dont really need:
var _loc1 = "";
if (weergaven_satelliet.value == true)
{
_loc1 = "k";
}
else if (weergaven_combinatie.value == true)
{
_loc1 = "h";
} // end else if
but after the end if comes the interesting part. However I cant seem to duplicate it. I made three inpu text fields with the instance names as written in the code, however google maps still does not recieve the input…Also this part of the code I dont understand: + “&ie=UTF8&z=10&om=1&t=” …can anybody assist me?