It isn't difficult to determine if the swf was loaded from http or https, we
do that to check various security items:
var baseurl:String = FlexGlobals.topLevelApplication.url;
var urlarray:Array = baseurl.split("/")
if (urlarray[0] == "https:") {
some security stuff;
}
if (urlarray[0] == "http:") {
some other security stuff;
}
However, I didn't think about needing a separate API key for the https
loaded site. We didn't put http in the site when we generated the key, but
I bet it assumes http if https isn't specified. We'll try generating an
https specific key and report back!
Mark
--
You received this message because you are subscribed to the Google Groups
"Google Maps API For Flash" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-maps-api-for-flash/-/IrM52BAed3EJ.
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.