1 Reply Latest reply on Apr 21, 2011 10:01 PM by Gaurav J

    app fails to compile with mxmlc command-line but builds fine with flash builder IDE.

    Charan Raj Adobe Employee

      Hi,

       

      i have this flex app (its a flex project created from flash builder ), it compiles fine when i build it from IDE.

       

      it fails to compile when i do it from command line through mxmlc.

       

      i am invoking the mxmlc at the location <flash-builder-installation>\sdks\<flex-ver>\bin\

       

       

      the mxml file is test.mxml

       

      i am invoking like the following

       

      c:\<bin>\mxmlc test.mxml

       

       

       

      i dont have any dependency on any of custom swc file.

       

      i am getting the following type errors when i compile it from my .as file

       

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

       

      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

       

      could you please let me know what i am missing here ?

       

      thanks,