Groups | Blog | Home
all groups > macromedia flash flashcom > march 2005 >

macromedia flash flashcom : onSync not being called


devincox
3/22/2005 3:49:16 PM
..Net programmer trying my hand at flash com. I am coding up a HelpDesk app and
am having trouble getting shared objects set up correctly. The code snippet
will create the shared object but its onSync function is not being called. Any
ideas?


csrep_so = SharedObject.getRemote("csrep", chat_nc.uri);

csrep_so.onSync = function(infoList){
if (! this.synchronized){
this.synchronized = true; & nbsp;
}
trace("csrep_so.onSync> " + infoList); &n bsp;
}

chat_nc=new NetConnection();
chat_nc.connect("rtmp://www.v4l.com/liveHelp/session" +
_root.sessionNumber,_root.username);

chat_nc.onStatus=function(info){
trace("chat_nc: info.code=" + info.code);
csrep_so.connect(chat_nc);
}

devincox
3/22/2005 6:57:20 PM
I figured it out.

AddThis Social Bookmark Button