Well this sucks. I was really excited about the Google Maps Flash API and sat down today to do some work with it inside of AIR. I ran into this security error which prompted a response on the thread linked above:
Error #3207: Application-sandbox content cannot access this feature.
at flash.system::Security$/allowDomain()
at com.google.maps::ClientBootstrap/allowLibraryDomain()
at com.google.maps::ClientBootstrap/loadUrl()
at com.google.maps::ClientBootstrap/internalLoadBootstrap()
at flash.utils::Timer/_timerDispatch()
at flash.utils::Timer/tick()
Well it turns out that using the Google Maps Flash API inside of an AIR application is actually against the terms of service. So even if you can hack around it (which you should be able to) you’re breaking the ToS by doing so. If you’re interested in using the Google Maps API inside of AIR, I encourage you to file a feature request (see below). Make the world a better place.
Update: Charles has an issue created, starring this is a good way to show support.
TweetRelated posts:
Pingback: FlexLive.net » Flex Developer Update - May 20, 2008
Pingback: Flex/Air - Google Maps API non compatible avec Adobe Air - Adobe Flex Tutorial - Tutoriaux Flex Builder, MXML, ActionScript, AS3