1 Reply Latest reply on Aug 5, 2007 12:54 PM by rotoole

    Accordion control sections are null

    tnirenstein
      I have an Accordion control with 3 sections. I have some other controls in the application that if a certain event happens, I want to change something in the contents of any of those 3 sections in the Accordion. If the section I am trying to change has already been viewed, there is no problem and I can make those changes. If the section has NOT already been viewed, when I tried to access it via actionscript, I get an error that says, "Cannot access a property or method of a null object reference.".

      My question is how do I get the contents of all the sections in the accordion control to be initialized and instantiated right away so I can access them instead of waiting for them to be manually viewed and instantiated?

      Thanks in advance,