Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

SecurityError: Error #2148: SWF file

Hi All,

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.


Former Member
Former Member replied

Security is also covered in the Xcelsius 2008 General Best Practices:



0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question