Hi Jorge, I'm near solution

I want close from server side cams.
I use AV componet and in that I have a new button on frame 4:
kickCam.onPress = function() {
var userKickCam = this._parent.username_txt.text;
if (userKickCam != undefined) {
trace("Close Cam "+userKickCam+"..."+this._parent.name);
_root.client_nc.call("closeCam", null, userKickCam, this._parent.name);
}
};
and on first frame of my movie:
client_nc.closeCam = function(nomeav) {
switch (nomeav) {
case "av1" :
_root.av1.stopPublish();
break;
case "av2" :
_root.av2.stopPublish();
break;
case "av3" :
_root.av3.stopPublish();
break;
case "av4" :
_root.av4.stopPublish();
break;
}
};
well, how I send function to other users by main.asc?
I had try with
application.onConnectAccept = function(client, name){
//Sets username in client side
client.call("setUser", null, name);
//Broadcast the event to all connected users
this.users_so.send("newUser", name);
this.users_so.send("closeCam");
}
but doesn't works (trace works)