Sorry not property method. I think you have to pass it the url. Never used it. On Aug 11, 2011 11:37 AM, "Daniel" <[email protected]> wrote: > Don't use a javascript function. You should be able to use browser manager > class in flex 4.5 and the property browsermamager.getProtocol() > On Aug 11, 2011 11:29 AM, "Shaun" <[email protected]> wrote: >> Hey Mark, >> >> I think what Thiago is trying to say is you're possibly using the wrong > API >> key for https vs http, I believe premiere customers have just one > client-Id >> code that is specified regardless of protocol but with the free maps API > key >> the https vs http version of the generated key is different (at least when > I >> just tried with my domain). So what he's saying is use Javascript to > figure >> out what the location is in the browser (think this is you could write a >> javascript function that returns location.href, then call that from flex > and >> do indexOf("https")!=-1 to see if it's from https before setting the API > key >> property on the map in flex, or updating through a bindable string). >> >> Shaun >> >> -- >> 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/-/IiMtxDyoQnMJ. >> 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. >>
-- 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.
