Thanks for your reply first of all ;) So, what's the sandbox rules when the main app is launched from a web server then? I think the illegal access is when the sub application (loaded swf) tried to access the parent swf. The funny thing is, I don't have any code in my sub application where I request access to the parent application. Thanks for your time. It's greatly appreciated.
Ivan. --- In [email protected], "Alex Harui" <[EMAIL PROTECTED]> wrote: > > The sandbox rules when the main app is launched from the file system is > different than when the main app is launched from a web server. > > > > -Alex > > > > ________________________________ > > From: [email protected] [mailto:[EMAIL PROTECTED] On > Behalf Of ivansebastiansurya > Sent: Sunday, May 20, 2007 9:35 PM > To: [email protected] > Subject: [flexcoders] Secuity sandbox violation when SwfLoader is used > to load swf file from a URL > > > > Hi everyone, > > I wrote an application that has an SWFLoader to load another swf > movie/application into the main application. > > The server where my sub application is served from already has the > crossdomain.xml, letting any domain to access data from it. > > However, I got the following error message: > SecurityError: Error #2047: Security sandbox violation: parent: > http://submovie.swf <http://submovie.swf> cannot access > file:///C:/Documents <file:///C:\Documents> and > Settings/IvanS/My Documents/Flex Builder 2/parentApp.swf. > at flash.display::DisplayObject/get parent() > at mx.managers::SystemManager/::executeCallbacks() > at mx.managers::SystemManager/::docFrameHandler() > > Does anyone have any idea how to handle this? > Thanks, > > Ivan. >

