;)  you're so cruel Jake ;(

custom outputer.  Is that what you think of xray?

besides, i'm semi-playing, it was really for Chris Allen's benefit ;) He always laughs when I get nutty on "trace()".

I just think it's soooooo 1978 to glue variables together just to see all your debug.  How about we graduate to the multiple arguments way of life?

tt("do my bidding", complexObject, array, string, number, "foo", _x, _width);

See... ya got me goin' and I swore I'd keep my mouth shut :))

I'm just playin!! But no, I'm serious.  Drives me nuts.

On 6/8/06, Jake Hilton <[EMAIL PROTECTED]> wrote:
John John...
tt(); ?? Is that some custom outputter you wrote?.. so 99 eh? why don't we just do away with println then too?  ;)


Jake

On 6/8/06, Leif Wells <[EMAIL PROTECTED]> wrote:
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




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





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

Reply via email to