Using Google api in Flash

Hi

I want to get input ZIPCODE from user
and want to get distance from my Location

> user enter zipcode (home town location )
> send data to google maps
>return of distance from user’s location to my location

is that possible ?