Sorry, John, for not using tt(). I am also not using the oflaDemo file either. Is there something in that file that is necessary to make this work.

Here is a peek at the log:

     [java] [DEBUG] 194922 mina-1:( org.red5.server.service.ServiceInvoker.invoke ) result: [{123456789=Justin Beals}, {
987654321=Leif Wells}]


Here is the new client-side code that still crashes Flash:

~~~~~~~~~~~~~~~~~~~~~~~~~~
nc = new NetConnection();
nc.connect("rtmp://localhost/lecture");
nc.>    trace( obj.code);
}

nc.>    trace("getTeachers onResult");
    for(var items:String in obj)
    {
        trace(items + ": " + obj[items]);
    }

}
nc.call("getTeachers", nc, "blah", "blah");

stop();
~~~~~~~~~~~~~~~~~~~~~~~~~~

I realize that there must be something that I am doing wrong. John, I am going to take another look at the oflaDemo file to see if I am missing anything.

Leif

PS John, when are you going to let Stacey and I interview you for gotoAndSay()?





On 6/8/06, John Grden < [EMAIL PROTECTED]> wrote:
man you guys are killin me with this "trace" stuff :)

tt(object);

that's all you need ;)  it'll trace the entire object out for you in the oflaDemo output box.

Also, that's an object, so you can only access it by string keys:

obj["keyName"] or with a for..in loop

for(var items:String in obj)
{
    tt(items, obj[items]);
}


hope that helps ;)

JG

PS> Chris knows I get pissy when it comes to using "trace".  ;)  That's sooooo 1999
_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org

Reply via email to