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
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 ?
Is this a AIR app or a mobile app? If you are building AIR app for desktop then you can use amxmlc instead of mxmlc.
If its a mobile app then use mxmlc +configname=airmobile