I have a Flex app that uses Google Maps and I want to pass the API key
in via a FlashVar so that people can deploy the app without having to
recompile it with a new key. It appears though that the Map object is
not getting the key because the app always comes up with an invalid
API key error.

So I'm wondering two things.... is it because the setting of the key
is happening too late? I set the key in the applicationComplete method
of the app, is this too late for the Map component? If it is, is there
another way I can get it to the component ? Perhaps there is a re-init
method for the Map component that would recognise the new key?

Thanks for any help,

Paul

-- 
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.

Reply via email to