You need to call Security.allowDomain() to allow the app2 SWF to access elements in app1. From the docs on Cross-scripting: "In order for a SWF file in a sandbox other than that of the Stage owner to access these properties and methods, the Stage owner SWF file must call the Security.allowDomain() method to permit the domain of the external sandbox."
On Dec 12, 2007 1:06 PM, Vincent Rempp <[EMAIL PROTECTED]> wrote: > > > > > > > > Hi evryone, > > I'm writing an flex2 app (app1) wich needs to load another flex app (app2) > with a <mx:swfloader /> > app1 and app2 are on different domain and a crossdomain.xml file is placed > on both domain allowing all ip. > I get an security error (2047, sandbox violation) telling me that app2 > cannot access app1. > > Does someone knows the solution to this problem? > > Thanks, > Vincent > > ________________________________ > Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! > Mail -- Derek Vadneau

