Yeah, there should be per-module styles in all Apache Flex versions. BTW, you’ll get more timely assistance by asking on the us...@flex.apache.org mailing list.
-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: Wednesday, July 29, 2015 at 7:25 AM To: "flexcoders@yahoogroups.com<mailto:flexcoders@yahoogroups.com>" <flexcoders@yahoogroups.com<mailto:flexcoders@yahoogroups.com>> Subject: Re: [flexcoders] CSSStyleDeclaration in AIR app Windows Interesting idea, I'll look into it. I'm using Flex 4.13 currently. ________________________________ From: "Alex Harui aha...@adobe.com<mailto:aha...@adobe.com> [flexcoders]" <flexcoders@yahoogroups.com<mailto:flexcoders@yahoogroups.com>> To: "flexcoders@yahoogroups.com<mailto:flexcoders@yahoogroups.com>" <flexcoders@yahoogroups.com<mailto:flexcoders@yahoogroups.com>> Sent: Wednesday, July 29, 2015 9:40 AM Subject: Re: [flexcoders] CSSStyleDeclaration in AIR app Windows 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.