Our framework, Potomac, uses modules heavily. Our design depends on all styles being loaded into the main app SWF and previously we've been able to do that using -keep-all-type-selectors=true in the compiler settings. But now that we've upgraded to 4.5 that doesn't seem to be working anymore. Doing some quick looking around at the compiler generated code seems to indicate that the behavior of this setting has now changed. It doesn't seem to be keeping styles for any MX components now. Can someone verify that? Our app is set to use both MX and Spark. But it seems like only the spark styles are being compiled in.
I have encountered the same problem. You should file this as a bug at
In 4.5, all the mx controls are in a different SWC and if that SWC isn’t in the library path its selectors probably won’t be found and linked in.