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.
Anybody else download this tag and have a problem like
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...