i’m sorry, i don’t speak english very well
it’s an urgent message
I would like to replace the function of the mousse in the java code to use only two number box (x,y). But I don’t understand what thing I must change in the java code to do it.
Thank you for your help.
I need help.
I don’t understand why the patch crash when I change the brush.
I think that maybe the function "move" is the reason of the crash.
Thank a lot for some informations.
help me please…
the draw function, you have to call is ondrag.
ondrag.local = 1;
local functions cant be called from outside.
then you should be able to draw with
[pak ondrag 0 0]
Thank’s a lot for your answer.
I have followed all of your indications, but now when I draw anything appears. The drawing is visible when I do
"cmd E". It’s extrange. When I change the brush the drawing doesn’t start and I must click into the window to finally be able to draw. How could I draw just automatically, without clicking into the window?
Thank you very much for your help
if you want to start a new draw, you have to send a onclick x y message to the js.
be sure, that you have deleted or disabled the line:
onclick.local = 1;
i have attached a smal version where you also can change the brush without crash.
hope it helps.