SecurityError: Error #2148: SWF file
I have created a project using GMap API, then I added markers on GMap using marker.xml file. When I execute this project in
Flex Builder 3.0, it is working fine or if I open swf from bin directory then also it shows correct result.
But, the problem is when I copy this swf file to other location let's say on desktop, it throws <b>" SecurityError: Error #2148 "</b>
this error. Says that " %/GMapFlexComponent.swf cannot access local resource file: %//Desktop/markers.xml. Only local-
with-filesystem and trusted local SWF files may access local resources. And swf shows google map with polygon but does
not show markers.
I also tried crossdomain.xml concept, but did not work.
I would appreciate if anyone could help.
Security is also covered in the Xcelsius 2008 General Best Practices: https://boc.sdn.sap.com/node/19898