If the main app has already defined typeselectors, the module cannot override them unless you use runtime CSS.
________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of slangeberg Sent: Wednesday, May 16, 2007 11:42 AM To: [email protected] Subject: Re: [flexcomponents] Diferent styles on diferent modules My problem is that styles pulled into Module A aren't showing up at all! Anyone else seen this? -Scott On 18 Apr 2007 07:45:29 -0700, Fox, P. Martín <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > wrote: Hello all, I have an aplication with diferents modules. I want that each module have different styles, where I can define, for example, that Panel have background red on Module A and background green on Module B. I put the tag <mx:Style source="css/stylesModuleA.css" /> on the Module A and other on Module B. But in running mode, it takes the declaretions of the first Module visited. Also I tried to use StyleManager.loadStyleDeclarations("./css/stylesXXX.swf") when I switch between modules, but it brokes charts. When it reloads a style, the charts becomes black. Any one made something similar? <http://www.cubika.com> Fox, P. Martín Developer [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> www.cubika.com <http://www.cubika.com> Av Corrientes 485 Piso 6 Buenos Aires, Argentina C1043AAE (54-11) 4394.3121 int: 140 -- : : ) Scott
<<image001.gif>>
<<image002.jpg>>
