1 Reply Latest reply: Aug 16, 2012 1:51 PM by charles_newman RSS

    Unable to compile OSMF 2.0 project from OSMF source code, no mx classes?

    Syberkitten Community Member

      hi

       

      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

       

      DescriptionResourcePathLocationType
      1172: Definition mx.states:OverrideBase could not be found.BestEffortFetchInfo.as OSMF/org/osmf/elements/f4mClassesline 24Flex Problem

       

      also for:

      mx.messaging.channels.StreamingAMFChannel

       

       

      these are my compiler arguments:

      -locale en_US

      -define CONFIG::LOGGING true

      -define CONFIG::FLASH_10_1 true

      -define CONFIG::MOCK false

      -define CONFIG::PLATFORM true

      -swf-version=11

       

       

      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?...

       

      ...