2 Replies Latest reply on Nov 4, 2010 1:46 AM by aktell2007

    Type Error: Error #1009 in Moule App. ....

    aktell2007 Level 1

      Hi there,

       

      I just installed a couple new computer in exchange for my old sets.

       

      Unfortunately I do get in all my module apps. in FX3 and FB4 on the index page when selecting this menu Btn. this error msg:

      Otherwise it never comes up ever again just at first selection !!!

       

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

      at index/createModule()

      atindex/___index_Button2_click()

       

      Any help or ideas would be appriciated !!! regards aktell2007

        • 1. Re: Type Error: Error #1009 in Moule App. ....
          Prasad Web Designer

          Pls provide the code which is u implemented in the module

          • 2. Re: Type Error: Error #1009 in Moule App. ....
            aktell2007 Level 1


            Well, the only thing I got out of it is that it was highlighting the code bellow.

             

            if (!m.url)
            

            ....

            <mx:Script>
                      <![CDATA[
                           public function createModule(m:ModuleLoader, s:String):void {
                                if (!m.url) {
                                     m.url = s;
                                     return;
                                }
                                m.loadModule();
                           }
                           
                           public function removeModule(m:ModuleLoader):void {
                                m.unloadModule();
                           }
                      ]]>
                 </mx:Script>
            

             

            The Btn:

            click="createModule(Intro, l2.text);"/>