//Debug.write("connect SharedObject: ",nc.uri); this.so = SharedObject.getRemote(so_Name,nc.uri,persistant); var t = this; this.so.onSync = function (evtObj){ if (t.onStatus)t.onStatus.sendEvent(evtObj); //_root.Debug.write.write("Shared Object onSync",evtObj,arguments); } this.so.connect(nc); //Debug.write("connect SharedObject: ",nc.uri); this.so = SharedObject.getRemote(so_Name,nc.uri,persistant); var t = this; this.so.onSync = function (evtObj){ if (t.onStatus)t.onStatus.sendEvent(evtObj); //_root.Debug.write.write("Shared Object onSync",evtObj,arguments); } this.so = SharedObject.getLocal(name); var t = this; this.so.onSync = function (evtObj){ if (t.onStatus)t.onStatus.sendEvent(evtObj); //_root.Debug.write.write("Shared Object onSync",evtObj,arguments); } return this.so.flush(); if (this.so.data["key"] == undefined){ return null; //_root.Debug.write.write("key undefined",key); } else { return this.so.data["key"]; } //Debug.write("this...... so: ",this.so); this.so.data["key"] = val;