See the marshal plan presentation on my blog.  Basically you can't have 
untrusted modules.  If you move to sub-applications and the marshall plan you 
should be able to get something working.

Alex Harui
Flex SDK Developer
Adobe Systems Inc.<http://www.adobe.com/>
Blog: http://blogs.adobe.com/aharui

From: [email protected] [mailto:[email protected]] On Behalf 
Of rob_mcmichael
Sent: Monday, February 09, 2009 2:51 AM
To: [email protected]
Subject: [flexcoders] Sandboxed Modules in AIR


I was wondering if you could help me.

I would like to run a download and potentially untrusted Module
(written as a Felx SWF, <mx:Module/> ) into an AIR application. This
would be a bit like Tour de Flex, but downloading and storing the
modules locally rather than loading them from a remote server every time.

There are the problems I have faced:

- Not being able to load then as normal because they are not in the
application directory, and also not being able to move them there at
runtime.

- Loading them via a ByteArray, but being unable to then put them in a
sandbox, or restrict their ability using a parentSandboxBridge.

- Getting the well documented "SWF is not a loadable module"
(http://www.mail-archive.com/[email protected]/msg82210.html)

- Not being able to reference loaderInfo.parentSandboxBridge in my
module (should I get the rest working) as parentSandboxBridge is in
the AIR framework, but I need to create a SWF to load in as a module.

If you could help me with any of these point I would really appreciate
it, I will also be happy to document the solution if found.

Thanks

Reply via email to