;
application.mb.dataDescriptor.addChildAt(myDP.node[0], newChild, 2);
}
public function testGetChildren(): void
{
application.lengthValue = application.mb.dataDescriptor.getChildren(myDP.node[1]).length;
}
public function testRemoveChildAt():void
{
var newChild:Object = ;
application.mb.dataDescriptor.removeChildAt(myDP.node[0], newChild, 2);
}
public function testSetEnabled(bool:int): void
{
if(bool==0)
{
application.mb.dataDescriptor.setEnabled(myDP.node[2], false);
}
else
{
application.mb.dataDescriptor.setEnabled(myDP.node[1], true);
application.mb.dataDescriptor.setEnabled(myDP.node[2], true);
}
}
public function testSetToggled(bool:int): void
{
if(bool==0)
{
application.mb.dataDescriptor.setToggled(myDP.node[0].nodeitem[1], false);
}
else
{
application.mb.dataDescriptor.setToggled(myDP.node[1].nodeitem[1], true);
}
}
]]>
;
]]>