7 Replies Latest reply on Feb 2, 2012 9:26 AM by michalgood2

    Loading modules from different domain

    michalgood2

      when I load modules from the same location where is main application, everything is fine. But when modules are loaded from different adrress i got following error:

       

      TypeError: Error #1009: Cannot access a property or method of a null object reference.

                at mx.utils::LoaderUtil$/isRSLLoaded()[E:\dev\4.5.1\frameworks\projects\framework\src\mx\uti ls\LoaderUtil.as:525]

                at mx.utils::LoaderUtil$/http://www.adobe.com/2006/flex/mx/internal::processRequiredRSLs()[E:\dev\4.5.1\frameworks\projects\framework\src\mx\utils\LoaderUtil.as:259]

                at mx.core::FlexModuleFactory/getRSLInfo()[E:\dev\4.5.1\frameworks\projects\framework\src\mx \core\FlexModuleFactory.as:582]

                at mx.core::FlexModuleFactory/update()[E:\dev\4.5.1\frameworks\projects\framework\src\mx\cor e\FlexModuleFactory.as:470]

                at mx.core::FlexModuleFactory/moduleInitHandler()[E:\dev\4.5.1\frameworks\projects\framework \src\mx\core\FlexModuleFactory.as:819]

       

      any ideas what might be wrong?

      thanks for any help in advance