FilimoniC
19.02.2008, 15:00
Прошу помощи у знающих людей:
Есть кусок кода:
Security.allowDomain("localhost");
Security.allowInsecureDomain("localhost");
Security.allowDomain("127.0.0.1");
Security.allowInsecureDomain("127.0.0.1");
Security.allowDomain("*");
Security.allowInsecureDomain("*");
serverURL="http://localhost:9090";
...
...
responder = new Responder(onRespOk,onRespErr);
nc = new NetConnection();
nc.addEventListener(NetStatusEvent.NET_STATUS, netStatusHandler);
nc.addEventListener(SecurityErrorEvent.SECURITY_ERROR, securityErrorHandler);
if (AMFVersion == 3)
nc.objectEncoding =ObjectEncoding.AMF3;
else if(AMFVersion == 0)
nc.objectEncoding = ObjectEncoding.AMF0;
else log ("Unsupported AMF type, nah!");
serverURL = txt_ServerURL.text;
log ("Connecting to "+serverURL);
nc.connect(serverURL);
Который по идее должен давать разрешение флешу коннектиться к localhost. На одном компе это происходит, на еще двух (Win и Lin) - нет.
На http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html стоит allow all
Использую протоколы RTMP и HTTP
Что я забыл? :(
Есть кусок кода:
Security.allowDomain("localhost");
Security.allowInsecureDomain("localhost");
Security.allowDomain("127.0.0.1");
Security.allowInsecureDomain("127.0.0.1");
Security.allowDomain("*");
Security.allowInsecureDomain("*");
serverURL="http://localhost:9090";
...
...
responder = new Responder(onRespOk,onRespErr);
nc = new NetConnection();
nc.addEventListener(NetStatusEvent.NET_STATUS, netStatusHandler);
nc.addEventListener(SecurityErrorEvent.SECURITY_ERROR, securityErrorHandler);
if (AMFVersion == 3)
nc.objectEncoding =ObjectEncoding.AMF3;
else if(AMFVersion == 0)
nc.objectEncoding = ObjectEncoding.AMF0;
else log ("Unsupported AMF type, nah!");
serverURL = txt_ServerURL.text;
log ("Connecting to "+serverURL);
nc.connect(serverURL);
Который по идее должен давать разрешение флешу коннектиться к localhost. На одном компе это происходит, на еще двух (Win и Lin) - нет.
На http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html стоит allow all
Использую протоколы RTMP и HTTP
Что я забыл? :(