TypeError: Error #1007: Instantiation attempted on a non-constructor. on port to Flex 4

Posted by Josh Handel on Stack Overflow See other posts from Stack Overflow or by Josh Handel
Published on 2010-04-07T18:15:38Z Indexed on 2010/04/10 17:53 UTC
Read the original article Hit count: 1188

Filed under:
|

I have been porting an app from Flex 3.4.x to 4.0.. I have successfully ported the app and its libraries to flex 4.0, I've also removed ALL the references to http://www.adobe.com/2006/flex/mx in any of my mxml files... In short I "think" I have moved everything over to the new mx framework (2009).. But I still get the following error (which never happend in 3.4 or 3.5 with this same app) when I try to run my flex app.

TypeError: Error #1007: Instantiation attempted on a non-constructor.
    at mx.preloaders::Preloader/initialize()[E:\dev\4.0.0\frameworks\projects\framework\src\mx\preloaders\Preloader.as:253]
    at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::initialize()[E:\dev\4.0.0\frameworks\projects\framework\src\mx\managers\SystemManager.as:1925]
    at mx.managers::SystemManager/initHandler()[E:\dev\4.0.0\frameworks\projects\framework\src\mx\managers\SystemManager.as:2419]

At this point I am completely stumped.. anyone have any ideas?

Thanks

© Stack Overflow or respective owner

Related posts about flex-4

Related posts about migration