Refactoring, Error #1065

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.

Problem:
[Cache causing] Error #1065 Variable is not defined error.

Solution:
Project -> Clean
🙂

One Reply to “Refactoring, Error #1065”

Leave a Reply

Your email address will not be published. Required fields are marked *