Hi,
I made a shared object whiteboard but I have a stupid problem with removing objects. This is function to clear shared object :
public function clearShape (so:SharedObject):void {
trace('clear:', this.name);
delete so.data[this.name];
so.setDirty(this.name);
parent.removeChild(this);
}
The strange thing is when I draw couple objects and after that I clear them one by one only the first one is removed. The others are clear only from whiteboard but not from shared objects.
Any idea