Hi Gabz,
I am working on AMF3 support, which is planned for next red5 release, 
unfortunatelly I had no time to finish it as of yet (vacation, job, life..;-)),
so, as already suggested by Dan use AMF0 workaround for the time beeing,
kind regards,
m.j.milicevic




-----Original Message-----
On Behalf Of Gabz
Sent: Friday, August 25, 2006 9:57 AM
To: [email protected]
Subject: [Red5] AS 3.0 problem?!

Hi!

This code is in AS2.0, this works with Red5:

    nc = new NetConnection();
    nc.connect("rtmp://localhost/demo");
    nc.onResult = function(obj) {
        trace("The result is " + obj);
   }
   nc.call("add", nc, 1, 2);

This is in AS3.0:

var nc = new NetConnection();
var resp:Responder = new Responder(onResult,null); 
nc.connect("rtmp://localhost/demo");
nc.call("add", resp, 1, 2);  

function onResult(obj:Object):void {
        trace("The result is "+obj);
 }


I'm always getting: "Unhandled NetStatusEvent:. level=error, 
code=NetConnection.Connect.Failed"

Please help, thank you in advance: Gabor


_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org

Reply via email to