Hi,Thank you for the fast response. I changed the import and the error isnow in:protected function clearAllShapes(p_evt:WBToolBarEvent):*void*{if (p_evt.data.command == "removeAllShapes"){sharedWB.model.removeAllShapes()}}p_evt.data.command - Undefined property - data.Thanks,S