Flex - Error: Constructor functions must be instance methods

by Pete Freitag

One cause of the error message: Error: Constructor functions must be instance methods in Flex can be caused when you have a component with the same ID as the Application. So if you have a file test.mxml and a component <mx:Label id="test" text="test" /> you might get this error.