I received the following runtime error in a flex project recently:
Error #1065 Variable package::Component_inlineComponent1 is not defined.
I was refactoring away from some static MXML to a dynamically loaded module. I had commented out the static MXML to test the dynamic module. Everything worked great. When I un-commented the previously working static module the #1065 error was thrown.
[Cache causing] Error #1065 Variable is not defined error.
Project -> Clean 🙂