So, like many things in Flash that make me want to bang my head against the wall. Here is another lovely for you.
Being a Noob I added _ underscores to my file name not thinking like a pro that this would somehow conflict with the XML file upon my attempt to test and/or publish my App.
To save you (and myself when I inevitably do this again) from the headache – because like me you might want to bang your head against the wall – here is some handy info I found on the web. It was reblogged by a chap in a similar situation as myself and so I will now reblog his reblog of a blog.
Whenever your Flex compiler prompts
application descriptor: invalid application identifier“,
you might check your application description XML file. Your application ID might contain underscores (in my case) or other invalid characters. Since I found a hint to the solution only at koali.com.au, I think it’s a good idea to reblog it.
Quote from Adobe livedocs:
id– An identifier string unique to the application, known as the application ID. The attribute value is restricted to the following characters:
- . (dot)
- – (hyphen)
The value must contain between 1 to 212 characters. This element is required.
The id string typically uses a dot-separated hierarchy, in alignment with a reversed DNS domain address, a Java package or class name, or an OS X Universal Type Identifier. The DNS-like form is not enforced, and AIR does not create any association between the name and actual DNS domains.
More informations about the descriptor file:
The blog address is here: http://blog.derraab.com/2011/06/08/flex-compiler-application-descriptor-invalid-application-identifier/
Thank you sir for saving me from my own ignorance. May you help many other poor souls as well.