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: <flexcoders@yahoogroups.com<mailto:flexcoders@yahoogroups.com>> on behalf of "Dave Glasser dglas...@pobox.com<mailto:dglas...@pobox.com> [flexcoders]" <flexcoders@yahoogroups.com<mailto:flexcoders@yahoogroups.com>> Reply-To: "flexcoders@yahoogroups.com<mailto:flexcoders@yahoogroups.com>" <flexcoders@yahoogroups.com<mailto:flexcoders@yahoogroups.com>> Date: Friday, July 24, 2015 at 6:20 PM To: "flexcoders@yahoogroups.com<mailto:flexcoders@yahoogroups.com>" <flexcoders@yahoogroups.com<mailto:flexcoders@yahoogroups.com>> 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.