Thanks, Good clarification. Thor plans to include that in an upcoming FAQ.


On Fri, Apr 17, 2009 at 10:46 PM, flexible_developer <[email protected]> wrote:
>
> Just to be sure no one else makes the same "mistake" as we did:
>
> To make your SWF file - that is using the Google Maps functionality -
> work when it is hosted on an https-server, you don't need "SSL support
> for the Flash API".
> "SSL support for the Flash API" really means that you want the
> outgoing calls to the Google Maps server over https.
>
> Our story:
> We have written code in Flex and ActionScript that uses the Google
> Maps functionality and results in a SWF file.
> When we hosted that SWF on an http server all worked well.
> But when we hosted that same SWF file on an https server, whenever we
> wanted to visualize a map we got an error.
> That error basically told us that "the parent http://maps.googleapis.com/...
> could not access our SWF file (@ https://ourdomain)
> So apparantly Google Maps (@ http://) tries to access our SWF file (@
> https://)
> After quite some frustrating hours of trial and error we managed to
> solve the issue by adding an extra security call in our action script
> code:
>
>                Security.allowInsecureDomain("maps.googleapis.com");
>
> By adding this, you allow "unsecure" (http) access coming from
> maps.googleapis.com to your swf file.
>
> To avoid people having that to discover that again and again
> theirselves I suggested that this knowledge be added to the online
> Google Maps docs.
> Thor Mitchell of Google Maps API Premier Support mailed me to say that
> he will work with their doc writers to get this added to their docs or
> FAQs.
>
> Hopefully this is useful information for homer or everyone stumbling
> upon this thread.
> >
>

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