# How to link text input to google maps route?

**URL:** <https://forum.kirupa.com/t/how-to-link-text-input-to-google-maps-route/265041>\
**Category:** flash\
**Created:** [July 3, 2008, 8:54am UTC](https://forum.kirupa.com/t/how-to-link-text-input-to-google-maps-route/265041 "2008-07-03T08:54:32Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![goeiste](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/goeiste/32/2741_2.png) [@goeiste](https://forum.kirupa.com/u/goeiste)\
**Post date:** [July 3, 2008, 8:54am UTC](https://forum.kirupa.com/t/how-to-link-text-input-to-google-maps-route/265041/1 "2008-07-03T08:54:32Z")

</div>

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](http://www.brussels-lof.nl/indexflash.html)website, and i’m wondering if anyone can tell me how this works.

thanks in advance

---

<div class="post-metadata">

**Author:** ![natronp](https://avatars.discourse-cdn.com/v4/letter/n/87869e/32.png) [@natronp](https://forum.kirupa.com/u/natronp)\
**Post date:** [July 3, 2008, 3:16pm UTC](https://forum.kirupa.com/t/how-to-link-text-input-to-google-maps-route/265041/2 "2008-07-03T15:16:55Z")

</div>

check the google maps website. there is a google maps .api for flash.

---

<div class="post-metadata">

**Author:** ![goeiste](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/goeiste/32/2741_2.png) [@goeiste](https://forum.kirupa.com/u/goeiste)\
**Post date:** [July 3, 2008, 4:45pm UTC](https://forum.kirupa.com/t/how-to-link-text-input-to-google-maps-route/265041/3 "2008-07-03T16:45:07Z")

</div>

> [@natronp;2353115](#):
>
> 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.

---

<div class="post-metadata">

**Author:** ![goeiste](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/goeiste/32/2741_2.png) [@goeiste](https://forum.kirupa.com/u/goeiste)\
**Post date:** [July 3, 2008, 6:49pm UTC](https://forum.kirupa.com/t/how-to-link-text-input-to-google-maps-route/265041/4 "2008-07-03T18:49:12Z")

</div>

The code that the site that i was referring to uses is the following:

```auto
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?
