Using AFB (Adobe flash builder) 4.6
I've added the OSMF 2.0 to the Source path of my project (not using an SWC)
and i seem to get compiler errors for the mx.states.OverrideBase class
|1172: Definition mx.states:OverrideBase could not be found.||BestEffortFetchInfo.as||OSMF/org/osmf/elements/f4mClasses||line 24||Flex Problem|
these are my compiler arguments:
-define CONFIG::LOGGING true
-define CONFIG::FLASH_10_1 true
-define CONFIG::MOCK false
-define CONFIG::PLATFORM true
do i need a different playerglobal.swc for the mx classes?
flex sdk 4.6 comes with playerglobal for version 11.1
manually added a playerglobal for version 10.3
into the directory:C:\Program Files\Adobe\Adobe Flash Builder 4.6\sdks\4.6.0\frameworks\libs\player\10.3
but i don't see any way to switch to this playerglobal
Is there any need to import OSMF 2, as a flex library first
to have no errors?
when commenting out these two imports, code compiles ok,
so why are they there anyway, some kind of a legacy tail?...
I'm able to successfully compile against Flash Player 11.1.0 using Flex SDK 4.6.0 from Flash Builder. But to compile from Ant I had to remove some unused import statements to avoid compile errors. I still have those two in there so apparently they didn't cause a problem for me. Those mx includes should not be in the code so you should be safe to remove them.