Flash Builder quick hint.
If you have changed your air/flex or any other background packages, or even added a new sdk and had to do some file re-arranging to get it to work then you may have had to re-compile or have flash builder update its file atlases.
The most common issue if your src folder or default package are full of errors is that Flash Builder just moved their references.
if you right click on your default package file (.as or mxml etc.) and choose the Set As Defualt Application then this may fix your issue. If that doesn't work you need to go to:
Project > Properties > ActionScript Build Path
At the bottom it will have a Main Source Folder box. If that is empty then just type in 'src' or which ever name you call your source folder that contains all your package files (.as or whatever).
If your default package/file is still showing errors (i.e. A file found in a source-path must have the same package structure 'src', as the definition's package)
go to Project > Properties > ActionScript Compiler
and look at what Flex SDK version you are using. If the 'default' button is selected then try selecting the Use a specific SDK and see what it lists. Usually it will only list one and it will read something like Flex 4.6.0 , or something similar.
Make a note of that name and search your hard drive for flex-sdk-description.xml
This will usually be in your:
Adobe > Adobe Flash Builder 4.6(or your current version) > sdks > Flex 4.6.0
(same name as in flash builder).
Open that file and you will see the flex-sdk-description.xml
Right click or highlight it and choose to open it with notepad (windows).
It will have a long line of desciptors. find <name>Something written here</name>
this must have the same name as your flash builder Flex SDK selection (that we just discovered a second ago).
Sometimes you will have to change this <name>
to use a specific sdk or extension in Flash Builder. This is where I can't help you and you need to ensure that this <name>
is Flex 4.6.0 or what ever version of flex you are using. If it is Flex 4.6.0(Air3.6) or has anything else you may need to contact adobe or the sdk/extension creator to see what you can do.
Lastly check your Output section in Project > Properties > ActionScript Build Path
as the default Output is bin-debug.
If you did not specifically change this before hand then it will by default be: bin-debug
Good luck!