0 Replies Latest reply on Sep 21, 2012 11:15 AM by ScottB424

    ASDoc error - Type was not found or was not a compile-time constant: File

    ScottB424

      I am using Flash Builder 4.6 to export ASdoc files. It publishes correctly, but I am receiving errors for the following files while attempting to export ASDoc documentation:

       

      Error: Type was not found or was not a compile-time constant: File.

      Error: Type was not found or was not a compile-time constant: FileStream.

       

      I have checked Project -> Properties -> Actionscript Build Path and everything seems to be there.

       

      ${FLASHPRO_APPCONFIG}\ActionScript 3.0\libs

      applicationupdater_ui.swc - C:\Program Files (x86)\Adobe\Adobe Flash Builder 4.6\sdks\4.6.0\frameworks\libs\air\applicationupdater_ui.swc

      framework.swc - C:\Program Files (x86)\Adobe\Adobe Flash Builder 4.6\sdks\4.6.0\frameworks\libs\framework.swc

      textLayout.swc - C:\Program Files (x86)\Adobe\Adobe Flash Builder 4.6\sdks\4.6.0\frameworks\libs\textLayout.swc

      framework_rb.swc - C:\Program Files (x86)\Adobe\Adobe Flash Builder 4.6\sdks\4.6.0\frameworks\locale\en_US\framework_rb.swc

      Flex 4.6.0 - C:\Program Files (x86)\Adobe\Adobe Flash Builder 4.6\sdks\4.6.0\

      airglobal.swc - ${FLASHPRO_APPCONFIG}\ActionScript 3.0\AIR2.5\airglobal.swc

       

      These are the ASDoc arguments I am running in Flashbuilder:

       

      -source-path "C:\MSD\curriculum\activityTracker2.1\development"

      -doc-sources "com\connectionsEducation\activityTracker"

      -output Documentation

      -library-path+=activityTracker.swc

      -exclude-classes

      -define+=CONFIG::COMPILE_FOR_AIR,true

      -define+=CONFIG::COMPILE_FOR_BROWSERS,false

      -main-title "Activity Tracker - API Documentation"

      -window-title "Activity Tracker Documentation"

      -strict=false

      -exclude-dependencies=false

       

      Is this just a bug that occurs when exporting air documentation?