Pete Freitag Pete Freitag

Flex - Error: Constructor functions must be instance methods

Published on April 04, 2006
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.


Flex - Error: Constructor functions must be instance methods was first published on April 04, 2006.

Discuss / Follow me on Twitter ↯