I think if each window loads a module, that module gets its own styles. You might need Flex 4.6 or later for that to work.
-Alex From: <[email protected]<mailto:[email protected]>> on behalf of "Dave Glasser [email protected]<mailto:[email protected]> [flexcoders]" <[email protected]<mailto:[email protected]>> Reply-To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>> Date: Friday, July 24, 2015 at 6:20 PM To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>> Subject: [flexcoders] CSSStyleDeclaration in AIR app Windows I'm developing a multi-window Flex/AIR desktop app. I would very much like to be able to change CSSStyleDeclarations on a per-window basis. It seems that if I do: var decl:CSSStyleDeclaration = window.styleManager.getCSSStyleDeclaration("fully.qualified.WidgetClassName"); decl.setStyle("widgetColor", 0xFF0000); The style change affects all WidgetClassName instances across all windows. Is there some other means of accomplishing what I'm trying to accomplish? It would have to work with non-inheriting styles also.

