FlashPlayerTrust not working? Try adding a protocol prefix
I wasn’t able to find anything about a new behaviour in the release notes, but it seems that Adobe changed the syntax for FlashPlayerTrust files with the update to Flash Player 10.0.22.87. Using
/Users/herb/workspace/ioccontainer/bin/IocContainer.swf
in your trust file as well as defining trusts for complete directories doesn’t work anymore, resulting in the infamous runtime Error #2148:
[Fault] exception, information=SecurityError: Error #2148: SWF file file:////Users/herb/workspace/ioccontainer/bin/IocContainer.swf cannot access local resource ../resources/applicationContext-1.xml?957901. Only local-with-filesystem and trusted local SWF files may access local resources.
Workaround
You should be able to get things going again with prepending a “file:///” prefix in your trust file:
file:////Users/herb/workspace/ioccontainer/bin/IocContainer.swf
This works for me with Flash Player 10.0.22.87 on Mac OS X. I assume this also applies to Windows XP, Vista and Linux versions of Flash Player.