After moving a project, one of the source code files cannot be opened. The message:
Resource '/Culinaria/src/SearchMenu.mxml' does not exist.
But it does exist - it's residing in the src directory as it always has and is visible in the package explorer. Double clicking to open it provokes the error. The other files in the project can be opened normally.
As said, this problem has surfaced after a Move of the project.
The problem goes away and then comes back after shutting down Flash Developer and starting it up again.
Also, I cannot view one of the source modules in Design mode - I just get an empty gray screen. Again not the case for every file but just one and it persists after shutting down and restarting Flash Developer. It happens to be the main application file and it shows up on the tab as a simple text file when opened in source mode. Here is the first line:
<?xml version="1.0" encoding="utf-8"?>
backgroundImage="../image/SilvesterTischDeko.jpg" backgroundAlpha="0.85" creationComplete="initCollections();"
Have you tried cleaning the project?
yes I did Clean the project and a new .swf file is generated (dtLastMod at time of Clean). I can open the module (it's the main application) in source mode but the IDE does not offer the Source/Design buttons and the file icon on the tab is that of a simple text file.
Somehow the Flash Dev. doesn't realize that it is mxml file representing the application even though the header line (see above) is unmistakable.