What causes generation of _globalStyle class? It's in my non-Flex SWF.
Hi,
I am working on an AS3 project, compiling with mxmlc from Flex 4 beta 2 SDK. I am having a problem with mxmlc generating (what seems to be) some Flex style classes and putting them in my SWF. I only notice this classes when I view my SWF in a decompiler. This is causing the Flex framework to be compiled into my SWF, making it about 150k bigger. If I exclude flex classes from being included via -external-library-path I obviously get a runtime error since the Flex classes are not available.
The problem seems to stem that I am putting class on the 2nd frame of my SWF by using the highly undocumented [Frame] metadata tag. If I remove this tag, the Flex style classes are not inserted into my SWF. How can I stop mxmlc from injecting these classes into my SWF?
