Forums > Javascript

jit.desktop in a javascript

June 7, 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


June 9, 2008 | 9:05 am

I can’t test this right now, but try:

var desk = new JitterObject("jit.desktop",320,240);

instead.

jb


June 10, 2008 | 4:02 am

thanks, that seems to instantiate w/out error.


Viewing 3 posts - 1 through 3 (of 3 total)