# Google API with flash AS3

**URL:** <https://forum.kirupa.com/t/google-api-with-flash-as3/273901>\
**Category:** flash\
**Created:** [October 22, 2008, 9:44am UTC](https://forum.kirupa.com/t/google-api-with-flash-as3/273901 "2008-10-22T09:44:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Will88](https://avatars.discourse-cdn.com/v4/letter/w/85f322/32.png) [@Will88](https://forum.kirupa.com/u/Will88)\
**Post date:** [October 22, 2008, 9:44am UTC](https://forum.kirupa.com/t/google-api-with-flash-as3/273901/1 "2008-10-22T09:44:28Z")

</div>

Hi everybody,  
I need a bit of help, I’m working with this code to get google maps + directions into flash, you can find the code here: [http://code.google.com/p/gmaps-samples-flash/source/browse/trunk/samplecode/DirectionsAdvanced.mxml](http://code.google.com/p/gmaps-samples-flash/source/browse/trunk/samplecode/DirectionsAdvanced.mxml)

the example is shown here:  
[http://gmaps-samples-flash.googlecode.com/svn/trunk/examples/DirectionsAdvanced.html](http://gmaps-samples-flash.googlecode.com/svn/trunk/examples/DirectionsAdvanced.html)

What I can’t figure out is, how would I get the interface to display the distance between A and B?  
Can anybody suggest any code which could help?  
Thanks,  
Will
