Cross Domain issue with images
i have image tag <mx:image/> setting source product images. .swf on http side of website , images on https side. getting error:
securityerror: error #2122: security sandbox violation: loader.content: http://www.mydomain.com/masonic.swf cannot access https://www.mydomain.com/masonic_images/13_red_d2-mas72479bl_red.jpg. policy file required, checkpolicyfile flag not set when media loaded.
at flash.display::loader/get content()
at smoothimage/http://www.adobe.com/2006/flex/mx/internal::contentloaderinfo_completeeventhandler()
ok followed tutorial , did said: http://www.damienking.net/tutorial-using-remotely-hosted-images-flex
and getting new error:
securityerror: error #2123: security sandbox violation: loader.content: http://www.mydomain.com/masonic.swf cannot access https://www.mydomain.com/masonic_images/12_red_d2-mas60338bl_red.jpg. no policy files granted access.
at flash.display::loader/get content()
at smoothimage/http://www.adobe.com/2006/flex/mx/internal::contentloaderinfo_completeeventhandler()
More discussions in Flex (Read Only)
adobe
Comments
Post a Comment