1 Reply Latest reply on May 2, 2007 2:15 PM by KomputerMan.com

    3 State CheckBox Tree

      I just downloaded the 3 State CheckBox Tree custom control from the Flex dev exchange a few moments ago. I put the code into a Flex prject, compiled it and ran it pretty much unchanged. When I click on any of the tree controls I get the error message:
      ArgumentError: Error #2025: The supplied DisplayObject must be a child of the caller.
      at flash.display::DisplayObjectContainer/getChildIndex()
      at mx.managers::SystemManager/getChildIndex()
      at mx.managers::SystemManager/::mouseDownHandler()

      Anybody else download this tag and have a problem like this???

      Have an Ordinary Day...
      KomputerMan ~|:-)
        • 1. Re: 3 State CheckBox Tree
          KomputerMan.com Level 1
          O.K. I pulled the downloaded component inside an existing application and ran it from there. The problem was that the downloaded component had a <mx:Application...> tag in it which gave me two templates with the <mx:Application ...> tag. Flex didn't like this too much. After I renamed the <mx:Application...> tag in the downloaded component to <mx:Canvas...> life was good. One of those duh moments... DUH!!! :)

          Have an Ordinary Day...
          KomputerMan ~|:-)