I am trying to make a drawing application in Flash that that you can paint on using a custom “brush”, and not use the default lines that are made by lineTo. The idea I had was to create a brush movie clip, and as the mouse moves duplicate it and place it at the mouse location. However, the problem arises that I often get large gaps in between movie clips if I move the mouse fast enough (which is more like normal speed for me).
Can anyone help me out in solving this problem, or offer a different solution?
Thanks for the reply, that definately helped! I now have it on 120 and now there are only a few very small gaps if I move the mouse fast. I’m pretty sure I can write a function to fill those in though…
Becarefull tho, you should test your swf on a less powerfull computer… and be sure to compress your brush to the max otherwise it can became very laggy…
Not all computer can display a 120 fps framerate.
120 is probably overkill, you may want to test a few starting at about 35 and bumping up from there. You’ll probably find very similar smoothness at a smaller value. Especially if you test this on a machine that’s less than top of the line.