In order to load executable swfs into my AIR application sandbox, I've
been able to use the loader's "loadBytes" method, setting the
loaderContext to one that allows byte code execution (
loaderContext.allowLoadBytesCodeExecution = true  )

This is great, and the loaded swf can execute code, but that loaded
swf in turn needs to load other secondary swfs (that can execute code
as well).   However, the allowLoadBytesCodeExecution property is only
available to AIR, so when I try  loadBytes() for the secondary swfs, I
get the exception "Loader.loadBytes() is not permitted to load content
with executable code."  , and loading the secondary swf  the regular
way (not using loadBytes) does not allow for code execution in the
secondary swf.

Any ideas?

-ekz

Reply via email to