Depending on how you load your external swf, specifying a child ApplicationDomain might solve your problem. You should probably base it off the top level domain, but if that also doesn't work you can create a new one.
// Create child var appDomain : ApplicationDomain = new ApplicationDomain(ApplicationDomain.currentDomain); // Create new var appDomain : ApplicationDomain = new ApplicationDomain(null); You specify the application domain in the LoaderContext that you supply to the loader. Hope this helps, Richard On Mon, Feb 2, 2009 at 3:55 PM, ericbichara <ericbich...@yahoo.com> wrote: > Hi, > > I have build several flex widgets and am now developing an admin > website also in flex into which i will load and edit the widgets. I am > coming across several issues when doing this: > > 1) CSS styles clash. The parent application inherits some of the > child's styles and the child inherits some of the parents styles when > i load the child. How do i make sure styles don't get inherited either > up or down? > > 2) datatips of graphs are placed in the wrong coordinates. If a > datatip is supposed to be show at coordinate 20,20 of the child, it > shows at coordinate 20,20 of the parent instead. > > I am using the SWFLoader object to load the widgets and passing > parameters using flashvars. ie > http://swfurl?blah=blig&bloh=blug<http://swfurl/?blah=blig&bloh=blug> > > Thanks in advance! > > /Eric > > >