Try using Security.allowDomain() in the swf you are loading in. Jamie
On Fri, Jan 30, 2009 at 7:15 AM, Sanket kumar Subhash Ghorpade <sanket.ghorp...@nihilent.com> wrote: > > > > > > > Hi, > > 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> <http://submovie.swf > > <http://submovie.swf> > <http://submovie.swf <http://submovie.swf> > >> <http://submovie.swf <http://submovie.swf> > > cannot access > > file:///C:/Documents <file:///C:\Documents> <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, > > Sanket. > > > > -**************Nihilent*************** > " *** All information contained in this communication is confidential, > proprietary, privileged > and is intended for the addressees only. If youhave received this E-mail in > error please notify > mail administrator by telephone on +91-20-39846100 or E-mail the sender by > replying to > this message, and then delete this E-mail and other copies of it from your > computer system. > Any unauthorized dissemination,publication, transfer or use of the contents > of this communication, > with or without modifications is punishable under the relevant law. > > Nihilent has scanned this mail with current virus checking technologies. > However, Nihilent makes no > representations or warranties to the effect that this communication is > virus-free. > > Nihilent reserves the right to monitor all E-mail communications through its > Corporate Network. *** " > > *************************************************************************- > >