also, the Type not found : ApplicationMain error in flash develop happens after you clean the project and then try to build it without restarting flash develop. another error of that type might also happen using the vs ide.