I have a Tree Control on which I let user add some nodes. When a node gets added I want to let the user edit the added control right away. How do I get the itemEditorInstance of a just added xml node?

Thanks for hints! Markus

No correct solution


You just have to override the createItemEditor method, such as:

override public function createItemEditor(colIndex:int, rowIndex:int):void
  super.createItemEditor(colIndex, rowIndex);
  itemEditorInstance.cacheAsBitmap = true;
  itemEditorInstance.opaqueBackground = 0xFFFFFF;
  itemEditorInstance.alpha = 1;
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow