actionscript 3 - Google Maps in Flex Component -
i'm embedding google maps flash api in flex , runs fine locally watermark on it, etc. when upload server (flex.mydomain.com) sandbox security error listed below:
securityerror: error #2121: security sandbox violation: loader.content: http://mydomain.com/main.swf?fri, 12 sep 2008 21:46:03 utc cannot access http://maps.googleapis.com/maps/lib/map_1_6.swf. may worked around calling security.allowdomain. @ flash.display::loader/get content() @ com.google.maps::clientbootstrap/createfactory() @ com.google.maps::clientbootstrap/executenextframecalls()
does have experience embedding google maps flash api flex components , settings security settings make work? did new api key registered domain , using when it's published.
i've tried doing following in main application component:
security.allowdomain('*') security.allowdomain('maps.googleapis.com') security.allowdomain('mydomain.com')
this sounds crossdomain.xml
related problem. did quick search , there seems many people same issue. proxy requests through xmlhttprequest etc..
Comments
Post a Comment