Closed GoogleCodeExporter closed 8 years ago
I use Flex builder 4 to compile.When i am debugging,Flex builder reports error:
SecurityError: Error #2142: 安全沙箱冲突:本地 SWF 文件不能使用
LoaderContext.securityDomain
属性。file:///D:/MyEclipse%208.x/Workspaces/Lego-UI-Tag/src/org/apache/struts
2/static/flex/LoginApp.swf 正在尝试加载
file:///D:/MyEclipse%208.x/Workspaces/Lego-UI-Tag/src/org/apache/struts2/static/
flex/FlexPilot.swf。
Original comment by genglz1...@163.com
on 22 Feb 2011 at 4:10
1) Are you able to run tests successfully with the original swf?
2) Did you have FPBootstrap package in source path when you compiled the
source? See FlexTesting wiki page for more information about compile and
execution time dependencies.
Original comment by pekka.klarck
on 22 Feb 2011 at 4:24
1)It can run successful with the original swf;
2)I have added the FPBootstrap package into the source path.I have reference
FlexTesting wiki page, but still not successful。Coulld you please provide
detailed compiling steps.
Original comment by genglz1...@163.com
on 23 Feb 2011 at 2:12
The demo is compiled with Flex sdk 3, and uses FlexPilot compiled with Flex sdk
3. If you compile with Flex 4, you need to replace the FlexPilot.swf used in
the demo (located in demoapp/flex) with a version compiled with Flex 4
(https://github.com/downloads/mde/flex-pilot/FlexPilot-4-stable.swf). That
should do the trick.
Original comment by janne.t....@gmail.com
on 23 Feb 2011 at 7:21
Closin due to lack of information.
Original comment by pekka.klarck
on 27 Apr 2011 at 11:30
Original issue reported on code.google.com by
genglz1...@163.com
on 22 Feb 2011 at 4:06