XML Feeds

.

[javascript-dev] Re: array of newobject of type "Number Box"

Liam Donaghy donaghy_liam at hotmail.com
Mon Dec 3 13:18:02 MST 2007


Hi Vb,

Thanks a lot, I have opened the patch as text and used the full list of parameters.

Opened as text :

#P number 116 22 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;


to javascript :

var object_array = new Array(128);
object_array[k] = this.patcher.newobject("number" ,116, 22, 35, 9, 0, 0, 0, 3, 0, 0, 0, 221, 221, 221, 222, 222, 222, 0, 0, 0);

Parameters 2 + 3 (116 + 22) control the object positioning


More information about the javascript-dev mailing list