AS3 - RSL throws security error

hi all!

i have a main loader swf file called loader.swf and it loads an RSL.swf (runtime shared library for my swf files) and then 10 swf files, each one to a container (fE.: movieclip ‘01’ in loader.swf, then movieclip ‘02’ and so on). the 10 swf files have a lot of references to RSL.swf, and i have to use RSL.

the problem is when loader.swf loads the RSL and the other 10 swfs the loader throws errors like this:


*** Security Sandbox Violation ***
Connection to rsl.swf halted - not permitted from http://localhost/comp/01.swf
-- Remote SWFs may not access local files.
ReferenceError: Error #1065: Variable frame is not defined.

and so on…

then i put in EVERY swf files (loader,RSL and the other 10) the code Security.allowDomain("*") but throws the same errors…

what should i do to solve this?

thanks for any replies