5 Replies Latest reply on Nov 8, 2010 3:29 PM by Flex harUI

    ActionScript base Class instead of mxml?

    tehxike1 Level 1

      I'm trying to use an actionscript class as my main application instead of MXML, but get this error:

       

      TypeError: Error #1007: Instantiation attempted on a non-constructor.

      at mx.preloaders::Preloader/initialize()[E:\dev\4.x\frameworks\projects\framework\src\mx\pre loaders\Preloader.as:253]

      at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::initialize()[E:\dev\4.x\frameworks\projects\fr amework\src\mx\managers\SystemManager.as:1925]

      at mx.managers::SystemManager/initHandler()[E:\dev\4.x\frameworks\projects\framework\src\mx\ managers\SystemManager.as:2419]

      Is it simply not possible?