When you load an app in SWFLoader, it becomes part of the parent application so onw would normally want styles to apply. I think you will need to override the styles specifically in the loaded app.
Are you sure that the styles inherit "up"? I have not seen that. Tracy Spratt Lariat Services Flex development bandwidth available ________________________________ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of ericbichara Sent: Monday, February 02, 2009 10:56 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] SWFLoader problems (Loading flex swf into flex application) 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