jit.desktop in a javascript


    Jun 07 2008 | 6:08 pm
    I'm trying to instantiate an instance of jit.desktop in a javascript:
    var desk = new JitterObject("jit.desktop",4,"char",320,240);
    and i get the errors:
    #N: bad arguments for message "jit_desktop"
    jsjitterobject_Constructor: null object jit_desktop
    (happens in 4 & 5).
    Is it not possible to use jit.desktop in js?
    pboer

    • Jun 09 2008 | 9:05 am
      I can't test this right now, but try:
      var desk = new JitterObject("jit.desktop",320,240);
      instead.
      jb
    • Jun 10 2008 | 4:02 am
      thanks, that seems to instantiate w/out error.