I am not sure if you actually meant MXML instead of xhtml. The flash API can only be used in either Flash or Flex, the code displayed in the tutorial is actually MXML code which is the markup language for flex. If you want to center the map to a particular point based on an address, you're going to have to use the ClientGeoCoder, here is the reference:
http://code.google.com/apis/maps/documentation/flash/reference.html#ClientGeocoder Jonathan Scribblemaps.com On Jan 9, 2:11 am, B3 <[email protected]> wrote: > I'm tyring to use the Map for a website that will display homes but > I'm not sure how to add the Flash Maps API Example to my xhtml.. heres > the API Example > > ... > <maps:Map xmlns:maps="com.google.maps.*" id="map" > mapevent_mapready="onMapReady(event)" width="100%" height="100%" > key="ABQIAAAAfoaHEmRB40zEqN1- > I1lazxRkqTIpSYh7cTOGXCATZIDUUcmRMxTO8K7PnsnXvqIumaOlhPapxwzDNQ"/> > ... > > How would I specify the address to be displayed?
-- You received this message because you are subscribed to the Google Groups "Google Maps API For Flash" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-maps-api-for-flash?hl=en.
