Hi Marc, Have you tried it with Flex on your local machine? I did not use Maps API with Air, so I cannot help so much. However, i suggest you first need to verify whether your key is correct, through testing it in Flex on your local machine.
Juguang On Tue, Jul 28, 2009 at 9:51 PM, Marc Sutton <[email protected]> wrote: > > We are developing an Adobe Air application. The Air app uses html with > swf (compiled with flex) embedded inside it. > > I'm trying to use the Google Maps for Flash API to embed a map but I > always get the message "Initialization failed: please check the API > key, swf location, version and network availability.". I have tried > setting the key and url values of the mxml to every possible value. I > suspect that because the application is not Windowed (as it is hosted > inside an air html app) the Google API is looking for a key with a url > corresponding to app:/ (the Adobe Air filesystem uri). > > How can I debug this problem? Is there a call I can make to display > the url that the key must correspond to? Or is there a way of setting > url to point to the application download and authorising it that way? > > Many thanks, > > -- > Marc Sutton > www.codev.co.uk > > > -- ============= Juguang XIAO Beijing, China --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
