The Store Locator demo shows how to issue a query to a PHP file with some parameters using the URLLoader class (Flash compatible). Look at "searchLocationsNear" function: http://gmaps-samples-flash.googlecode.com/svn/trunk/demos/StoreLocatorDemo/srcview/index.html
<http://gmaps-samples-flash.googlecode.com/svn/trunk/demos/StoreLocatorDemo/srcview/index.html>- pamela On Sun, Aug 9, 2009 at 10:38 PM, donb0130 <[email protected]> wrote: > > is there an example of porting the flex specific class ( like HTTP > Service) into a Flash equivalent that would work with Flash CS3? > > On Jul 28, 7:34 pm, "pamela (Google Employee)" <[email protected]> > wrote: > > The following demo showsusingthe LocalSearchAPI: > http://code.google.com/apis/maps/documentation/flash/demogallery.html... > > > > It looks like HTTP Service is a Flex specific class. You could port > > that to a Flash equivalent - all you need to be able to do is load a > > URL with some parameters at the end. > > > > - pamela > > > > > > > > On Wed, Jul 29, 2009 at 6:30 AM, donb0130<[email protected]> wrote: > > > > > hi ted > > > > > i have the same problem and haven't resolved it yet...one of the map > > > demos is searchin flash and that has the source code. the local > > >searchapi might help also....but the demo is in flex and i amusing > > > the flash authoring tool...i am trying to learn flex and see if i can > > > do it that way... > > > > > don > > > > > On Jul 28, 11:54 am, ted <[email protected]> wrote: > > >> I'm sure this is a simple thing, but I can't seem to figure out where > > >> or how I can add asearchfunction to my map. > > > > >> In essence, I've got my map working nicely in Flash, now I want to > > >> click a button that says 'restaurants', and have markers displayed on > > >> the map for all the restaurants (within a given distance or zoom > > >> level), around the maps center point. > > > > >> Is there a separate service that goes and gets the data for that? > > > > >> Thanks in advance! > > >> -Ted- Hide quoted text - > > > > - Show quoted text - > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
