macromedia flash flashcom:
hi
i make this flash server
import mx.data.components.WebServiceConnector;
client_nc = new NetConnection();
client_nc.connect("rtmp:/prodd");
time= SharedObject.getRemote("sharedtime", client_nc.uri, false);
time.connect(client_nc);
var res1:Function = function (evt1:Object) {
my_array1.removeAll();
n = evt1.target.results.length;
for (var i = 0; i<n; i++) {
my_array1.push(evt1.target.results);
}
time.data.arraycase30 = my_array1;
};
var wsConn1:WebServiceConnector = new WebServiceConnector();
wsConn1.addEventListener("result", res1);
wsConn1.WSDLURL = "
http://127.0.0.1/web2flash/service.asmx?WSDL";
wsConn1.operation = "getCase30Companies";
wsConn1.params = ["mhefny", "mhk"];
wsConn1.suppressInvalidCalls = true;
wsConn1.trigger();
setInterval(Recase30, 2000);
function Recase30():Void {
wsConn1.trigger();
}
and i uplaod this flash server into the server it's ip is 81.12.127.100 and
placed the flash server in C:\Program Files\Macromedia\Flash Media Server
2\applications\prodd
and i make flash client to read the shared object from flash server
import mx.data.components.WebServiceConnector;
client_nc = new NetConnection();
client_nc.connect("rtmp://81.12.127.100/prodd");
time= SharedObject.getRemote("sharedtime", client_nc.uri, false);
time.connect(client_nc);
time.onSync = function(list) {
// display code
};
the problem is the client doesn't work
can anyone help me