Drawing board tutorial

I think that it might be missing a few lines of code at the end. The end result doesn´t work too well. Here´s what I have in the actions for the “container clip”\r\r\ronClipEvent (load) {\r&nbsp &nbsp &nbsp &nbsp function draw () {\r&nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp i++ ;\r&nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp this.attachMovie(“mcLine”,“line”+i,i);\r&nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp var mc = this[“line”+i] ;\r&nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp x_start = x_end ;\r&nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp y_start = y_end ;\r&nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp x_end = _xmouse ;\r&nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp y_end = _ymouse ;\r&nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp mc._x = x_start ;\r&nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp mc._y = y_start ;\r&nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp mc._xscale = x_end - x_start ;\r&nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp mc._yscale = y_end - y_start ;\r&nbsp &nbsp &nbsp &nbsp }\r}\ronClipEvent(mouseUp){\r pressing = 0;\r}\r\ronClipEvent (enterFrame) {\r&nbsp &nbsp &nbsp &nbsp if (pressing) draw () ;\r}\r\r\rI´m using Flash 5.\r\rSeems to me that the pressing variable needs to be set to 1 at some point, so I tried adding \r\ronClipEvent(mouseDown){\r pressing = 1;\r}\r\r\rwhich works, but it always starts at the end of the last line. Which, as the tutorial points out, is good for creating polygons but not for a drawing board.\r\r\rshould these lines be edited?\r\r&nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp x_start = x_end ;\r&nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp y_start = y_end ;\r&nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp x_end = _xmouse ;\r&nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp y_end = _ymouse ;\r\r\rany followup?\r\rgood tutorial otherwise.\r\rthanks\r_sic

Oops, I must have forgotten that…\r\rAnd concerning the polygon thing, of course you have to put _xend = _xmouse and everything. I was just trying to show why we had to put that…\r\rThanks !!\r\rpom 0]