I think it's working now. In the move function I added ok_mc.visible=false which hides the mc in the "local" instance and the put ok_mc.visible=true in the netstatus event. Like this
function drop(e:MouseEvent):void {
this.stage.removeEventListener(MouseEvent.MOUSE_MOVE, moveMe);
// Save the current movieclip position
var obj:Object = {};
obj.x = mc.x ;
obj.y = mc.y ;
obj.activePlayer=players[aktiv-1]
ok_mc.visible=false;
// Set the peerID to a group address suitable for use with the sendToNearest() method.
obj.sender = group.convertPeerIDToGroupAddress(nc.nearID);
obj.id = new Date().time;
// Sends a message to all members of a group.
group.post(obj);
}
function netStatus(event:NetStatusEvent):void{
switch(event.info.code){
case "NetGroup.Posting.Notify":
mc.x = event.info.message.x;
mc.y = event.info.message.y;
ok_mc.visible=true;
break;
}
}
It seems to work. Now I just have to figure out to show it at init in the first instance. Is there a way to count groupmembers and/or loop through them?