Surf 11 » Flex - Error: Constructor functions must be instance methods

Finding the best waves on the web.

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.



Related Entries
Name:

Email: (optional, not displayed on site)
   Subscribe to this thread
Comments: (html will be escaped)



Subscribe to our RSS Feed: subscribe to this feed XML
Archives   Tags   Contact