Passing urls from flash to Google maps

Hi all
Just a quick one for any body who has done any popup mapping from flash.

I am wanting to do a pop up that displays the directions from “A” to “B”

this string would work


http://maps.google.co.uk/maps?f=d&hl=en&geocode=&saddr=51.48408,-0.16331&daddr=51.506178,-0.200329&mrcr=0&mrsp=1&sz=13&mra=dme&sll=51.48632,-0.21785&sspn=0.075574,0.179901&ie=UTF8&z=13&om=1

the only thing is I dont want to work out the in between points but rather just pass the two lat,lon values and have the google engine complete the rest.

does this make sense??

hopefully somebody has encountered this problem before.

cheers