1 person found this helpful
you need to tell the compiler that you are creating a mobile flex app (otherwise it wont understand MobileApplication) - in Flash Builder you would just setup a new mobile project, but not sure what the equivalent command line flags would be.
Thank you! What you said makes sense - however, after searching for a while I am unable to find the correct command-line flag. Unfortunately there is little to no documentation for Flex Hero open source so far - its all for Flash Builder. Does anyone know how I might configure the command-line compiler to recognize and compile the MobileApplication component?
found some info for you...
try adding +configname=airmobile to command line. you'll also need a airmobile-config.xml file (should be one in the sdk if you havent created one yourself)
Thank you so much for your help! It compiles without error now.